-
-
Notifications
You must be signed in to change notification settings - Fork 238
Closed
Description
Currently we are scraping Github for tags for VersionAPI
https://github.com/nexB/vulnerablecode/blob/e9943b014f5f07b970988f910b2aaebcec0a6e58/vulnerabilities/package_managers.py#L414-L466
Imo, we could have a GitTagsAPI looking at the GitDataSource's git filesystem and find out all the contained tags. This would avoid GitHub scraping without a proper API, plus it would work for all git repositories, regardless of being on GitHub.
Also, if we happen to move with GitHubTagsAPI, should we focus more on the releases part than the tags part ? Eg: https://api.github.com/repos/nexB/vulnerablecode/releases. This might not be favorable in all cases, I'd like some suggestions here.
Metadata
Metadata
Assignees
Labels
No labels