G
YouTube TikTok Games
Skip to content

docs(contributing): list the exact SPDX license identifiers - #13

Merged
PierreRaybaut merged 1 commit into
mainfrom
docs/519-documentation-audit
Nov 11, 2026
Merged

PierreRaybaut merged 1 commit into
mainfrom
docs/519-documentation-audit

Conversation

@PierreRaybaut

Copy link
Copy Markdown
Contributor

Closes #12

Summary

CONTRIBUTING.md listed the accepted licenses as "GPL-2.0 and 3.0, LGPL-2.1 and 3.0", whereas the catalog check (tools/catalog.py, ALLOWED_LICENSES) only accepts exact SPDX identifiers with the -only or -or-later suffix: an entry with license: GPL-3.0 is rejected.

Changes

  • Documentation: list the exact identifiers accepted by the catalog check; state that a wheel may combine them with AND and OR (License-Expression), whereas a module declares a single identifier.

Validation

  • Checked against ALLOWED_LICENSES, _check_license (wheels) and the module check of tools/catalog.py.

Found during a review of the DataLab Platform documentation (DataLab-Platform/DataLab#519).

Assisted-by: Claude Opus 5.5

The contributing guide listed the accepted licenses as "GPL-2.0 and
3.0, LGPL-2.1 and 3.0", whereas the catalog check only accepts exact
SPDX identifiers with the `-only` or `-or-later` suffix: an entry with
`license: GPL-3.0` is rejected.

- List the identifiers of `ALLOWED_LICENSES` exactly
- State that a wheel may combine them with `AND` and `OR`, whereas a
  module declares a single identifier

Closes #12

Assisted-by: Claude Opus 5.5
@PierreRaybaut PierreRaybaut added the documentation Improvements or additions to documentation label Nov 11, 2026
@PierreRaybaut
PierreRaybaut merged commit 6243f49 into main Nov 11, 2026
1 check passed
@PierreRaybaut
PierreRaybaut deleted the docs/519-documentation-audit branch November 11, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CONTRIBUTING lists license names rejected by the catalog check

1 participant