versioneye/crawl_r

License recognition for CSharp

Closed this issue · 3 comments

reiz commented

Many packages on Nuget only provide a link to license but no license name. During the crawling we should check if the license link is matching with a well known source. I found for example 64K license objects in our db where the url was http://www.apache.org/licenses/LICENSE-2.0.html and the license name was nil. I updated them all and set the name to Apache-2.0. This logic should be part of the Nuget crawler. Check at least for this urls:

http://www.apache.org/licenses/LICENSE-2.0.html
https://www.apache.org/licenses/LICENSE-2.0.html
https://opensource.org/licenses/MIT

Yes, it's already implemented - it uses all the urls from the licenses.json and missing urls can be added into this file;

But i'll do some refactorings after i know what will be status of PR#26.

reiz commented

@timgluz Just merged PR #26.

reiz commented

@timgluz I just added it to the mapping. Can you check if I added it to the right file? I saw there are 3 licsense.json files.