chore(legal): add LICENSE with the full GPL-2.0 text - #209
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #208.
What
Adds the missing
LICENSEfile with the full GNU General Public License v2.0 text.The packaging metadata already declared
GPL-2.0-onlyand the classifierLicense :: OSI Approved :: GNU General Public License v2 (GPLv2)— only thelicense text itself was missing, so GitHub reported "No license" and
.license.spdx_idwasnone.Where the text comes from
Copied verbatim from
plone.observability,whose identical text GitHub already detects as
GPL-2.0.Packaging
No
pyproject.tomlchange was needed — hatchling's defaultlicense-filesglob picks the file up automatically. Verified against a local
uv build:plone_pgcatalog-…/LICENSEplone_pgcatalog-….dist-info/licenses/LICENSEWheel
METADATAnow carries:Verify after merge
gh api repos/bluedynamics/plone-pgcatalog --jq .license.spdx_id # -> GPL-2.0🤖 Generated with Claude Code