It's time we start using PURL instead of ambiguous pkg package_name in VersionAPIs
https://github.com/nexB/vulnerablecode/blob/d0aba2097c800fe137661fbe174b1b4a32c4907b/vulnerabilities/package_managers.py#L108-L113
>>> PypiVersionAP.fetch("django")
>>> ComposerVersionAPI().fetch("typo3/cms-core")
>>> MavenVersionAPI().fetch("org.apache:kafka"))
>>> GoproxyVersionAPI().fetch("github.com/FerretDB/FerretDB")
>>> NugetVersionAPI().fetch("Exfat.Ntfs")
>>> GitHubTagsAPI().fetch("nexB/scancode-toolkit")
This would provide a standardized and unambiguous way of invoking fetch() method across different VersionAPIs.
It's time we start using PURL instead of ambiguous
pkgpackage_name in VersionAPIshttps://github.com/nexB/vulnerablecode/blob/d0aba2097c800fe137661fbe174b1b4a32c4907b/vulnerabilities/package_managers.py#L108-L113
This would provide a standardized and unambiguous way of invoking
fetch()method across different VersionAPIs.