-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
[RFC] add API to check license compatibility #35
Comments
Some time ago I've released a package which covers these topics (also ensures dev-deps are not in require-section): https://github.com/kalessil/production-dependencies-guard |
We did something similar here, feel free to use as inspiration: https://github.com/madewithlove/license-checker-php |
Note that this RFC is specifically about providing a license compatibility checker. Plugins that work based on deny/allow lists are out of this initial scope (but could be built/improved on top of this API). https://github.com/HansHammel/license-compatibility-checker/ looks the most promising for us, with this chart showing what the logic could encode: |
Ensuring that deps in vendor/ have a license compatible with the root project is a tough task.
Other projects exist in js/Rust/Ruby/etc. I computed the following list of interest:
Later on, we could build a composer plugin like this on top:
This could be a great contribution if anyone is up to learn about the topic and contribute a PR here, if the maintainers agree?
Help wanted.
The text was updated successfully, but these errors were encountered: