-
Notifications
You must be signed in to change notification settings - Fork 78
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
Force python-gitlab to retrieve all objects instead of the first 20 #119
Force python-gitlab to retrieve all objects instead of the first 20 #119
Conversation
python-gitlab limits the number of retrieved entities (groups/subgroups) to 20, see: https://python-gitlab.readthedocs.io/en/v4.1.1/api-usage.html#pagination This change forces python-gitlab to retrieve all entities.
@ezbz It would be great if this could be merged. Your tool is great, but doesn't work with latest Python and gitlab package. |
@JonasSchubert thanks for your note, currently the project is broken because I let too many unsolicited contributions break it, actively looking for contributors to help maintain the project. Will try to stabilize tests/build and look into it soon |
Honestly this PR would make the broken repo actually usable again at least - you might consider making a release with at least this PR before refactor or concerns about test quality that are good for nerd brags - but this PR actually gets the project useful once again and should be more important than those kind of nice to haves. |
Any update on this? |
…ral approved PRs that broke them - remove incompatible root group PR: #89 - integrate useful conflicting PR by @gsobczyk for excluding shared projects - added support for incorrect PR (#119) by adding the get_all parameter to projects (the PR has it on groups and subgroups but it doesn't work since this parameter doesn't exist on these methods https://github.com/ezbz/gitlabber/pull/119/files) so the original PR cannot be merged without breaking the project
This PR is broken I added another to fix it |
* update library dependencies * - recover passing state for unit / integration / e2e tests after several approved PRs that broke them - remove incompatible root group PR: #89 - integrate useful conflicting PR by @gsobczyk for excluding shared projects - added support for incorrect PR (#119) by adding the get_all parameter to projects (the PR has it on groups and subgroups but it doesn't work since this parameter doesn't exist on these methods https://github.com/ezbz/gitlabber/pull/119/files) so the original PR cannot be merged without breaking the project * add actually working support for attempted PR: #119
python-gitlab limits the number of retrieved entities (groups/subgroups) to 20, see:
https://python-gitlab.readthedocs.io/en/v4.1.1/api-usage.html#pagination
This change forces python-gitlab to retrieve all entities.
This resolves #117