You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Listing all files from repository fails because of pagination #314
I was trying to list all files on given branch in given repository using gitlab.v4.objects.Project.repository_tree(path, branch_name, all = True), but result was truncated, because of Gitlab pagination.
From your docs, I thought, that all = True should work on any type of "request". I looked into the code and find out, that this isn't implemented.
Should this be implemented in your package or am I approaching this task in a wrong way?
Activity
gpocentek commentedon Sep 19, 2017
Indeed
all = Trueis not supported onProject.repository_tree(). It needs to be explicitly added, and a few other methods have the same problem.You can still use the pagination options for now (
pageandper_pagearguments).Thanks for reporting this issue.
tomascapek commentedon Sep 19, 2017
Thanks for quick reply. I used those options
gpocentek commentedon Sep 21, 2017
all = Trueshould work as expected now.tomascapek commentedon Sep 22, 2017
Thanks for your great work!