Auto paging#82
Merged
mattpass merged 2 commits intogithub-tools:masterfrom Oct 23, 2013
raphink:dev/auto-paging
Merged
Conversation
Some APIs do not honor the per_page API (at least for large values) and require that we actually walk the links headers to pull all data.
|
Just wanted to say thanks, I was having the same issue with an organisation with more than 100 repos. Cheers! |
Collaborator
|
Mmmm, your commit didn't seem to work for me, but someone else merging the same works fine. Maybe some new API call vs legacy commit thing. Anyway, ended up being pulled in - many thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a merge of pull request #72 with HEAD. This feature is essential to using your lib when dealing with over 100 elements in responses. The
per_page=1000argument you pass in the lib is ignored, as Github limits pagination to 100 elements (see http://developer.github.com/v3/#pagination).