-
Notifications
You must be signed in to change notification settings - Fork 88
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
Use PURL for inputs #1383
Comments
It would be nice to use fetchcode for this purpose instead of yet another implementation in ScanCode.io This does not look supported:
The best I could find is a wheel distribution link using:
@pombredanne @keshav-space could you add proper support for fetching PURLs in fetchcode? Also, it would be better to return a sdist link when possible, such as "https://files.pythonhosted.org/packages/c9/5e/dc6acaf46d78979d6b03458b7a1618a68e152a6776fce95daac5e0f0301b/psycopg2-2.9.9.tar.gz" |
FetchCode already supports retrieving package metadata along with download_url using PURL. We can add support for more ecosystems there as needed.
Yes, we should return the sdist link in the |
@keshav-space Great, could you provide a link to the documentation on how to get the |
@tdruez
|
This is not a great API... The following should be implemented:
|
We can also call this API with version-less PURL, and in that case, it will return package metadata for all the existing versions of the package.
So, how should the new API behave? Should it return only the |
I would like to use a PURL as a project input like with
pkg:pypi/[email protected]
The text was updated successfully, but these errors were encountered: