Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would returning the actual URL for the package be in scope? Open to a PR for that? #13

Open
erwin opened this issue Oct 22, 2024 · 0 comments

Comments

@erwin
Copy link

erwin commented Oct 22, 2024

For example, in the README.md you have:

purl = PackageURL.parse("pkg:gem/[email protected]")

Are you open to a function that returns? purl.url maybe?

https://rubygems.org/gems/rails/versions/6.1.4

Would need to handle for every possible package repo.

Maybe it's outside the scope of package-url's but sure would also be nice to programmatically capture the link for the canonical version of the source code, for example, https://github.com/rails/rails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant