Open Hritik14 opened 1 year ago
@Hritik14 thanks for purl.fyi and for this issue. Perhaps this should be at https://github.com/package-url/packageurl-python? this is related to the purl2url and not related to the spec.
@AyanSinhaMahapatra Sure! I've created a duplicate issue at https://github.com/package-url/packageurl-python/issues/127
Although, I'd like to keep this issue open as well in case anyone finds non-pythonic way of converting purl to url (JS, Golang etc). Those would also help
This is pretty cool. I'm trying to figure out an easy way to generate a valid purl for software, given the various inputs, basically to be able to address https://github.com/ossf/wg-securing-critical-projects/issues/74
To make sharing purls easy, I've deployed https://purl.fyi, appending the purl to this domain redirects to the relevant package homepage. Eg: https://purl.fyi/pkg:pypi/vulnerablecode@33.2.0
The support for purls is not heavy and depends directly on
purl2url.py
module from packageurl-python (with some additions). IMO we should expand the support for all purls in one project (either https://github.com/hritik14/purl.fyi or otherwise). Please list all the scattered code you can find for converting a purl to a URL here.