-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add licenses plugin #118
Add licenses plugin #118
Conversation
8aad66f
to
0f6d018
Compare
I'm confused, this is just going to tell you the license you use the most? |
What you mention is already available in user's metrics 🙂 This one is targetted exclusively for repositories metrics to display licenses compliancy, permissions, limitations and conditions (a bit like what is currently displayed by GitHub when going on a LICENSE page, but metrics will also try to analyze dependencies licenses). It's still not finished yet as I'm waiting for github/licensed v2.14.4 release, but it'll probably end up looking like this : As you can see, there's legal rights from "base" license but also "inherited limitations" in this case, which would preventing patenting the code as a whole (i.e. including dependencies) since it is explicitely forbidden. But it's just for informative purposes though, it cannot be used as legal advice 🙂 |
0f6d018
to
10d3dab
Compare
That PR is merged |
493f911
to
573e8b3
Compare
…metrics into feat-plugin-licenses
@jonabc There is still room for improvements, but I'll probably check again in the future. Thanks again for your work! |
very cool, thanks for the ping! |
Add a new
📜 licenses
plugin, targetted for repositories' metrics to inform about licenses compliancy, permissions, limitations and conditions based on current license and licenses from used dependencies.plugin_licenses_ratio
lets you display total ratio of each used licensesplugin_licenses_legal
lets you display which permissions, limitations and conditions are implied by current license and licenses from used dependencies (inherited limitations and conditions will be indicated with a different icon while conflicting permissions will be removed)It use github/licensed to detect licenses.
Examples output:
Permissions, limitations and conditions:
Ratio:
Both can be of course combined in a single SVG output.
Disclaimer: This is not legal advice. Use at your own risk