Skip to content

Commit 91e2635

Browse files
Merge branch 'aboutcode-org:develop' into gsoc/dataset-extraction-script
2 parents c70da63 + 6ba5908 commit 91e2635

712 files changed

Lines changed: 38695 additions & 9 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/--bug-report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
name: "\U0001F41B Bug report"
33
about: Create a report to help us improve
44
title: ''
5-
labels: bug
6-
assignees: ''
5+
labels: bug, new-license
6+
assignees: hesa
77

88
---
99

.github/ISSUE_TEMPLATE/new-license-request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: New License Request
33
about: Request a new license for scancode detection purposes
44
title: 'New license request: '
55
labels: new-license
6-
assignees: DennisClark
6+
assignees: hesa
77

88
---
99

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
name: Create library release archives, create a GH release and publish PyPI wheel and sdist on tag in main branch
2+
3+
4+
# This is executed automatically on a tag in the main branch
5+
6+
# Summary of the steps:
7+
# - build wheels and sdist
8+
# - upload wheels and sdist to PyPI
9+
# - create gh-release and upload wheels and dists there
10+
# TODO: smoke test wheels and sdist
11+
# TODO: add changelog to release text body
12+
13+
# WARNING: this is designed only for packages building as pure Python wheels
14+
15+
on:
16+
workflow_dispatch:
17+
push:
18+
tags:
19+
- "commoncode-v*.*.*"
20+
21+
jobs:
22+
build-pypi-distribs:
23+
permissions:
24+
contents: read # to fetch code (actions/checkout)
25+
26+
name: Build and publish library to PyPI
27+
runs-on: ubuntu-24.04
28+
29+
steps:
30+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
31+
with:
32+
persist-credentials: false
33+
- name: Set up Python
34+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
35+
with:
36+
python-version: 3.14
37+
38+
- name: Install pypa/build and twine
39+
run: python -m pip install --user --upgrade build twine pkginfo flot
40+
41+
- name: Install requirements then build main and mini wheel
42+
run: etc/release/commoncode-create-pypi-wheel-and-sdist.sh
43+
44+
- name: Upload built archives
45+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
46+
with:
47+
name: pypi_archives
48+
path: dist/*
49+
50+
51+
create-gh-release:
52+
permissions:
53+
contents: write
54+
55+
name: Create GH release
56+
needs:
57+
- build-pypi-distribs
58+
runs-on: ubuntu-24.04
59+
60+
steps:
61+
- name: Download built archives
62+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
63+
with:
64+
name: pypi_archives
65+
path: dist
66+
67+
- name: Create GH release
68+
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda
69+
with:
70+
draft: true
71+
files: dist/*
72+
73+
74+
create-pypi-release:
75+
name: Create PyPI release
76+
needs:
77+
- create-gh-release
78+
runs-on: ubuntu-24.04
79+
environment: pypi-publish
80+
permissions:
81+
id-token: write
82+
83+
steps:
84+
- name: Download built archives
85+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
86+
with:
87+
name: pypi_archives
88+
path: dist
89+
90+
- name: Publish to PyPI
91+
if: startsWith(github.ref, 'refs/tags')
92+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b

.github/workflows/zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
persist-credentials: false
2222

2323
- name: Run zizmor 🌈
24-
uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
24+
uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # action: v0.5.6 zizmore: v1.25.2

AUTHORS.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ The following organizations or individuals have contributed to ScanCode:
2323
- Chaitya Shah @Chaitya62
2424
- Chin-Yeung Li @chinyeungli
2525
- Clement Poulain @FOSS117
26+
- Conley Owens @cco3
2627
- Daniel Eder @daniel-eder
2728
- Dan Kegel @dankegel
2829
- Dennis Clark @DennisClark
@@ -88,6 +89,7 @@ The following organizations or individuals have contributed to ScanCode:
8889
- Shivam Sandbhor @sbs2001
8990
- Steven Esser @majurg
9091
- Sushant Gupta @susg
92+
- Theodore Aptekarev @piiq
9193
- Thomas Druez @tdruez
9294
- Thomas Steenbergen @tsteenbe
9395
- Thorsten Harter @ThorstenHarter

0 commit comments

Comments
 (0)