Skip to content

Repo::all method #319

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

Merged
merged 1 commit into from
Oct 11, 2015
Merged

Repo::all method #319

merged 1 commit into from
Oct 11, 2015

Conversation

soullivaneuh
Copy link
Contributor

Fixes #294.

@stof
Copy link
Contributor

stof commented Oct 5, 2015

Should we really have the id argument there ? Shouldn't pagination be handled through the ResultPager instead ?

@soullivaneuh
Copy link
Contributor Author

I added this argument because GitHub permits it: https://developer.github.com/v3/repos/#list-all-public-repositories

I think it's still useful. For me, I use it for a long command that can start on the last checked id.

BTW, I follow the same method as User::all() does.

@stof
Copy link
Contributor

stof commented Oct 5, 2015

OK, if there is already similar things elsewhere, fine.

this PR is missing tests and documentation though

@soullivaneuh
Copy link
Contributor Author

@stof Tests and documentation added.

cursedcoder added a commit that referenced this pull request Oct 11, 2015
@cursedcoder cursedcoder merged commit 7b50381 into KnpLabs:master Oct 11, 2015
@soullivaneuh soullivaneuh deleted the repo-all branch October 11, 2015 12:23
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.

3 participants