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

Collect core package metadata on demand, live, aka. purl2meta #242

Closed
2 tasks done
pombredanne opened this issue Dec 13, 2023 · 2 comments
Closed
2 tasks done

Collect core package metadata on demand, live, aka. purl2meta #242

pombredanne opened this issue Dec 13, 2023 · 2 comments
Assignees

Comments

@pombredanne
Copy link
Member

pombredanne commented Dec 13, 2023

To depart from our batch data collection ways and provide current, focused package metadata, we should collect core package metadata live, on demand.

We should add a REST API end point that responds to a PURL and collects core metadata live, return this and store these in the PurlDB for a requested package version.

We will use Maven and JavaScript/npm as base ecosystems and do the following:

@pombredanne
Copy link
Member Author

pombredanne commented Mar 21, 2024

This is completed. We did update PurlDB with a new collect/ REST API end point that responds to a PURL and collects core metadata live as needed. It can also collect many versions of a package at once. We wired support for Maven (that required extensive additional work to be operational) and JavaScript/npm as ecosystems.

@pombredanne
Copy link
Member Author

pombredanne commented Mar 21, 2024

The simple way to test this is to go to the collect/ endpoint as in:

  • https://<your purldb host>/api/collect/?purl=pkg:maven/net.java.dev.jna/jna-jpms@5.14.0

Closing this as done.

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