Repository navigation
📝 docs: explain the two licenses in README - #28
Merged
Merged
Conversation
The metadata declares MIT AND Apache-2.0 while the root LICENSE and GitHub's badge show MIT only. State that the project code is MIT and the bundled CycloneDX schema files are Apache-2.0. Refs tox-dev#27.
Documentation build overview
|
Closed
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.
Someone packaging python-sbom downstream sees two license answers: the root
LICENSEsays MIT, and GitHub's license badge repeats it because it reads only that file, while the package metadata on PyPI saysMIT AND Apache-2.0. Nothing a visitor reads first explains the gap, which led to the question in #27. 📝 The README now has a License section that states which license covers what and links both license texts.Both answers are right, for different scopes. The project's own code is MIT. The wheel and source distribution also carry the schema files that
python-sbom validatechecks documents against, copied unmodified from CycloneDX/specification, which is Apache-2.0. That license text already ships next to the schemas. A license expression describes everything in the distribution, so it names both.The change is the README section and a changelog entry. The license metadata and the contents of the distributions stay as they are.