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

Page though all packages #82

Merged
merged 4 commits into from
Jul 6, 2020
Merged

Page though all packages #82

merged 4 commits into from
Jul 6, 2020

Conversation

jcansdale
Copy link
Owner

@jcansdale jcansdale commented Jul 6, 2020

There is a bug in Octokit.GraphQL that limits outer queries to 200 elements (see octokit/octokit.graphql.net#227). This means that if there are over 200 packages (or deleted packages), the newest packages won't be visible. This PR does manual paging to ensure that all packages are visible.

  • Make gpr list page through all packages
  • Make gpr files page through all packages
  • Make gpr delete page through all packages
  • Remove support for implicitly listing viewer packages

Fixes #81

@jcansdale jcansdale merged commit 437eb51 into master Jul 6, 2020
@jcansdale jcansdale deleted the fixes/81-paging branch July 6, 2020 16:47
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

Successfully merging this pull request may close these issues.

Only 200 packages are being returned
1 participant