librariesio / license-compatibility

:copyright: Check compatibility between different SPDX licenses
https://libraries.io/github/librariesio/license-compatibility
MIT License
34 stars 5 forks source link

Split off data package #5

Open anseljh opened 8 years ago

anseljh commented 8 years ago

Hello! This is an interesting project. I think the most valuable part of it is going to end up being not the code, but rather the data that's collected about which categories licenses fall under, and which categories are deemed "compatible".

To that end, what do you think about splitting off the data as a separate package (e.g., a package of just JSON files)? That way it could be used more readily in other projects & languages, and draw a bigger contributor base beyond Rubyists.

I have seen this pattern a few times for repos that are really about data at their heart.

anseljh commented 8 years ago

Examples of a data package & a similar split (in progress):

And a formal format for data packages:

andrew commented 8 years ago

@anseljh that's a great idea, I've initially started by splitting the license arrays out into a separate JSON file: https://github.com/librariesio/license-compatibility/blob/master/lib/license/licenses.json

Some next steps: