clearlydefined / clearlydefined/crawler

Files with license info not being detected

Open
#406 4 comments 0 reactions 0 assignees View on GitHub
bug Discovered License Issue reproducible
Dominant language
JavaScript
Stars
60
Forks
38
Avg merge
1h 49m
Merged PRs (30d)
1

Description

Here's an example of a file with the MIT license (https://clearlydefined.io/file/2893c762b244363021756d2bfa004c1402eb641a7b02a4cea8bd37ebddcf68c1) where ClearllyDefined did not flag it as a file with license info and therefore, did not include "MIT" in the "discovered" field.

![image](https://user-images.githubusercontent.com/17935946/98302918-2278b180-1f72-11eb-8196-22309cc686d3.png)

Unclear why scancode wasn't run on this?

Could also get license info by following "Source" link to commit - LICENSE file = MIT.

Contributor guide

Open the contributing guide

Research direction

Start with the ClearlyDefined file linked in the report and trace the crawler's license-detection path, including why scancode was not run. Compare the result with the linked source commit's LICENSE file. Done means the file is detected as containing license information and MIT appears in the discovered field.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.