Skip to content

project.repository_tree() doesn't list all files #393

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

Closed
max-wittig opened this issue Dec 11, 2017 · 2 comments
Closed

project.repository_tree() doesn't list all files #393

max-wittig opened this issue Dec 11, 2017 · 2 comments
Labels

Comments

@max-wittig
Copy link
Member

Seems like there is a limit to how many files can be listed with project.repository_tree()

What am I missing here?

Thanks for any hints :)

@max-wittig
Copy link
Member Author

It seems to work by specifying

 gl_project.repository_tree(all=True)

but this seems to be missing in the documentation.

http://python-gitlab.readthedocs.io/en/stable/gl_objects/projects.html?highlight=issue

@gpocentek
Copy link
Contributor

@max-wittig thanks for reporting the issue and for the investigation.

All the listing methods can use the pagination arguments (page, per_page and all). But I guess this isn't clear enough in the documentation! I'll see what I can do to make this clearer.

@gpocentek gpocentek added the docs label Dec 13, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants