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

purl2git: From PURL get Git versions and tags #258

Closed
Tracked by #246
pombredanne opened this issue Dec 14, 2023 · 3 comments
Closed
Tracked by #246

purl2git: From PURL get Git versions and tags #258

pombredanne opened this issue Dec 14, 2023 · 3 comments
Assignees

Comments

@pombredanne
Copy link
Member

pombredanne commented Dec 14, 2023

Create a PURL service that returns a new PURL for the corresponding git repos and the tag matching the PURL provided version. This should be implemented for now for Maven, npm and Debian package types. (And later for all packages)

@pombredanne pombredanne changed the title purl2git: Create a PURL service that returns a new PURL for the corresponding git repos and the tag matching the PURL provided version. This should be implemented for now for Maven, npm and Debian package types. (And later for all packages) purl2git: From PURL get Git versions and tags Dec 14, 2023
@pombredanne
Copy link
Member Author

Based on #246 (comment) we would have a new from_purl/git API endpoint

@TG1999
Copy link
Contributor

TG1999 commented Mar 15, 2024

This is done. We now have:

  • an endpoint /api/from_purl/purl2git to get a git repo url from a valid package url string.

This PR has been merged

To test this feature:

  • Install PurlDB from the main branch
  • Make a request to /api/from_purl/purl2git?package_url={package_url} where package_url is a valid package url string

@TG1999 TG1999 closed this as completed Mar 15, 2024
@pombredanne
Copy link
Member Author

For reference, I had also these notes:

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

2 participants