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

Use GraphQL or paginated REST API in package.get_github_data_from_purl #100

Open
keshav-space opened this issue Feb 12, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@keshav-space
Copy link
Member

Currently, get_github_data_from_purl is using the GitHub REST API to retrieve releases.
However, in its default config, GitHub only returns the last 30 releases, see https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28. Instead, we should use GraphQL or paginated requests to retrieve all releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant