aboutcode-org / aboutcode-org/scancode-toolkit

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

Đang mở
#3,920 0 bình luận 0 reaction 1 người được giao Được @AyanSinhaMahapatra nhận Xem trên GitHub
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.