Open jykae opened 3 years ago
🙊 I like the idea too, but what happens regarding incompatibilities logic? Is there a known solution? EDIT: Possibly: https://github.com/pilosus/pip-license-checker
I don't think these are un-answerable questions, but I do acknowledge the significant challenges involved.
I suggest an intermediate feature to align with the idea here:
It would be an improvement to have some common built in whitelist values, for example instead of needing to input '--allow-only=' followed by the whole OSI-approved licenses it would be wonderful to just use a new option like '--match-only-from=OSI' and --match-only-from=GPL
. This should be aligned with the current available options and simply enhances usage, and readability.
other considerations:
🙈 Hopefully this helps.
Feature proposal
Check OSS license compatibility, optional fail-on for incompatible licenses OSI-approved licenses would be sufficient, or at least the most popular list: https://opensource.org/licenses
Reference: https://dwheeler.com/essays/floss-license-slide.html https://www.whitesourcesoftware.com/resources/blog/license-compatibility/ https://www.gnu.org/licenses/license-list.html