Skip to content
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

Need help #43

Open
sunilk747 opened this issue Dec 6, 2017 · 2 comments
Open

Need help #43

sunilk747 opened this issue Dec 6, 2017 · 2 comments

Comments

@sunilk747
Copy link

I need to do a license compatibility check. I am writing a pyhton script for the same. Could anyone take me through the algorithm used in this license-compatibility module. Any sort of help would be appreciated.

@pawamoy
Copy link
Contributor

pawamoy commented Dec 6, 2017

I think the most interesting part is here: https://github.com/librariesio/license-compatibility/blob/master/lib/license/compatibility.rb#L10. The code is very readable, you should be able to understand it even if you don't know Ruby.

Of course you need to load the license data from somewhere. Here they are loaded from a JSON file: https://github.com/librariesio/license-compatibility/blob/master/lib/license/licenses.json

The rest is mainly command line utils.

@andrew
Copy link
Contributor

andrew commented Dec 7, 2017

Thanks for the summary @pawamoy! There's also a very handy blogpost and diagram explaining the high level approach here: http://janelia-flyem.github.io/licenses.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants