8000
Skip to content

chore(legal): add LICENSE with the full GPL-2.0 text - #209

Merged
jensens merged 1 commit into
mainfrom
chore/license-file-208
Aug 24, 2026
Merged

chore(legal): add LICENSE with the full GPL-2.0 text#209
jensens merged 1 commit into
mainfrom
chore/license-file-208

Conversation

@jensens
@jensens jensens commented Aug 24, 2026
Copy link
Copy Markdown
Member

Closes #208.

What

Adds the missing LICENSE file with the full GNU General Public License v2.0 text.

The packaging metadata already declared GPL-2.0-only and the classifier
License :: OSI Approved :: GNU General Public License v2 (GPLv2) — only the
license text itself was missing, so GitHub reported "No license" and
.license.spdx_id was none.

Where the text comes from

Copied verbatim from plone.observability,
whose identical text GitHub already detects as GPL-2.0.

Packaging

No pyproject.toml change was needed — hatchling's default license-files
glob picks the file up automatically. Verified against a local uv build:

artifact path
sdist plone_pgcatalog-…/LICENSE
wheel plone_pgcatalog-….dist-info/licenses/LICENSE

Wheel METADATA now carries:

License-Expression: GPL-2.0-only
License-File: LICENSE

Verify after merge

gh api repos/bluedynamics/plone-pgcatalog --jq .license.spdx_id   # -> GPL-2.0

🤖 Generated with Claude Code

The packaging metadata already declared `GPL-2.0-only`, but the license
text itself was missing from the repository. "No license" legally means
all rights reserved, whatever the metadata says, so downstream consumers
and packagers had no verifiable terms in the source tree.

Text copied verbatim from plone.observability, which GitHub detects as
GPL-2.0. Hatchling's default license-files glob picks it up, so it lands
in both sdist and wheel with no pyproject change:

    License-Expression: GPL-2.0-only
    License-File: LICENSE

Fixes #208.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@jensens
jensens merged commit 457346d into main Aug 24, 2026
5 checks passed
@jensens
jensens deleted the chore/license-file-208 branch August 24, 2026 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add missing LICENSE file (GNU General Public License v2.0)

1 participant

0