Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider package context and default licenses to resolve unknown licenses and license versions (like for the GPL) #3920

Open
pombredanne opened this issue Sep 13, 2024 · 0 comments
Assignees

Comments

@pombredanne
Copy link
Contributor

pombredanne commented Sep 13, 2024

We should design a way to reuse a package context (with its declared, top level licensing) to inform the resolution of mildly ambiguous license and unknown references found in the same code tree.
This would put in code the principle that a top level; declared licenses applies to the package unless otherwise noted and that it also informs some ambiguities.

For instance, say we have a package with a top level GPL-2.0 license. The file-level notices of license under the GPL could be resolved to GPL-2.0 instead of GPL-1.0-or-later. This is akin to resolve a file reference, but using a top level license instead, and a slightly broader approach.

We could also provide a CLI option to provide the default as an expression.

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

No branches or pull requests

2 participants