-
Notifications
You must be signed in to change notification settings - Fork 9
there has to be way to use a newer version of the license list #39
Comments
I have created a python script to extract data from spdx.org website and store it in a .csv fie , should I include the script too in my pull request, so that whenever the license list get updated , we can just run the script and update our license list ? |
I have maintained my script as a public gist. |
The upstream data to be used are in https://github.com/spdx/license-list-data |
can we add https://github.com/spdx/license-list-data in our project and extract data from json file instead of a .csv file ? |
That would only solve the issue of initial import of licenses. |
Then we should directly extract data from https://spdx.org/licenses/ , not from the repostiory https://github.com/spdx/license-list-data. |
?!? |
The script by @gopuvenkat at https://gist.github.com/gopuvenkat/1c8b9f75d366c191f1ec4afffb84696f would do the thing with just amending the license-text attribute. |
No, you don't understand. Ignore Gopu's script (which incorrectly uses the website instead of the data). You cannot re-run |
This solution may sound lame but, we can write a script that checks for the new licenses in the https://github.com/spdx/license-list-data. |
@zvr and @gopuvenkat The possible solution I can think of is using Hashing, please refer the following steps. |
There is one more easy and efficient way out. |
@Chinmay-Gurjar Thanks for your efforts!
|
A couple of points:
I think this ticket has evolved into how do we keep adding new license list versions; I'll edit the title to reflect that. |
@zvr and @gopuvenkat I am working on this issue and as a temporary solution I will add an Update button in existing clio page which will in background fetch and update data when clicked. |
Forget the job scheduler; no one will ever want this to run automatically. But it remains to be decided what to do with the modified license data... what do you propose? |
@zvr |
Is update button on license page of clio is fine to accomplish this? |
@shivanshu1333 and what about deleted license identifiers? |
@zvr |
So basically you will be using your own "database" (in the form of a dict) to store this information. |
@zvr No,
Please refer this rough block diagram for better understanding. |
|
I still don't see why you need the dict... The most important issue, though, is what to do with deleted licenses... |
Because it will help to track deleted/modified licenses. |
Okay, lets skip using dict. I got the more efficient way after discussion. (less resources will be used and high throughput) |
The license list should be updated to the latest list published by SPDX , v3.4.
https://spdx.org/licenses/
The text was updated successfully, but these errors were encountered: