aboutcode-org / aboutcode-org/scancode-toolkit

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

Offen
#3,920 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @AyanSinhaMahapatra Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
2.6k
Forks
791
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
5

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.