forked from SN-HackDay/code-cite
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Github scans repos for licence files, and if it finds them and understands the contents it annotates repositories with the licence. This is exposed via the API: https://developer.github.com/v3/repos/
We could (and probably should) extract this information via the API call rather than trying to scrape the content of the repo. However, this leaves us with an question: what do we do if there is a file but github didn't understand it. We should probably do a fallback check for this and tag such resources as having an "unknown" licence (rather than having putting "no licence" in the output).
While we are at it, it would be worth seeing if there is any other information we can use. For example, the API exposes parents of forked repos.
Metadata
Metadata
Assignees
Labels
No labels