Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

flolauck
Copy link

@flolauck flolauck commented Nov 7, 2023

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

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.
@JonasSchubert
Copy link

@ezbz It would be great if this could be merged. Your tool is great, but doesn't work with latest Python and gitlab package.

@ezbz
Copy link
Owner

ezbz commented Dec 4, 2023

@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

@chrisdlangton
Copy link

chrisdlangton commented Dec 10, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants