Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
b458334
Add smaller wheels for license data and index
AyanSinhaMahapatra Mar 4, 2026
5856d9b
Update to flot v0.7.3
AyanSinhaMahapatra Mar 17, 2026
6c0e96d
Update Configure and release scripts
AyanSinhaMahapatra Mar 17, 2026
a500061
Update pyproject files for releasing multiple wheels
AyanSinhaMahapatra Mar 17, 2026
9dfc115
Update github action release scripts for multiple wheels
AyanSinhaMahapatra Mar 17, 2026
850318e
Grant execute permission to licensedcode wheel script
AyanSinhaMahapatra Mar 17, 2026
574d4a4
Also build wheels for release app archives
AyanSinhaMahapatra Mar 18, 2026
ead87ba
Update configure scripts with licensedcode index
AyanSinhaMahapatra Mar 18, 2026
30a6184
Create license index for release app archives
AyanSinhaMahapatra Mar 18, 2026
97d0909
Include licensedcode_index wheel as thirdparty
AyanSinhaMahapatra Mar 19, 2026
b1afd4a
Replace tagged versions with commit hashes in actions
AyanSinhaMahapatra Apr 16, 2026
4cf1cb3
Add zizmor as github actions run
AyanSinhaMahapatra Apr 16, 2026
2e065ce
Fix windows configure script
AyanSinhaMahapatra Apr 17, 2026
85cc3f4
Update typecode to use system-provided libmagic
AyanSinhaMahapatra Mar 24, 2026
fc1e53f
Test scancode releases in arm/x86 for linux/macos
AyanSinhaMahapatra Mar 25, 2026
76b142d
Ensure libmagic is installed by homebrew for macos
AyanSinhaMahapatra Mar 20, 2026
686f43c
Use dummy wheels for apple silicon
AyanSinhaMahapatra Mar 19, 2026
182e246
Only test scancode-toolkit mini wheel on macos
AyanSinhaMahapatra Mar 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/about-files-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: ${{ matrix.python-version }}

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: ${{ matrix.python-version }}

Expand Down
92 changes: 92 additions & 0 deletions .github/workflows/licensedcode-data-index-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: Create library release archives, create a GH release and publish PyPI wheel and sdist on tag in main branch


# This is executed automatically on a tag in the main branch

# Summary of the steps:
# - build wheels and sdist
# - upload wheels and sdist to PyPI
# - create gh-release and upload wheels and dists there
# TODO: smoke test wheels and sdist
# TODO: add changelog to release text body

# WARNING: this is designed only for packages building as pure Python wheels

on:
workflow_dispatch:
push:
tags:
- "licensedcode-v*.*.*"

jobs:
build-pypi-distribs:
permissions:
contents: read # to fetch code (actions/checkout)

name: Build and publish library to PyPI
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: 3.14

- name: Install pypa/build and twine
run: python -m pip install --user --upgrade build twine pkginfo flot

- name: Install requirements then build main and mini wheel
run: etc/release/licensedcode-create-pypi-wheel-and-sdist.sh

- name: Upload built archives
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
with:
name: pypi_archives
path: dist/*


create-gh-release:
permissions:
contents: write

name: Create GH release
needs:
- build-pypi-distribs
runs-on: ubuntu-24.04

steps:
- name: Download built archives
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
with:
name: pypi_archives
path: dist

- name: Create GH release
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda
Comment thread
AyanSinhaMahapatra marked this conversation as resolved.
Dismissed
with:
draft: true
files: dist/*


create-pypi-release:
name: Create PyPI release
needs:
- create-gh-release
runs-on: ubuntu-24.04
environment: pypi-publish
permissions:
id-token: write

steps:
- name: Download built archives
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
with:
name: pypi_archives
path: dist

- name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b
Loading
Loading