Closed konfetka1989 closed 1 month ago
thanks for submitting code and suggesting this feature, I do realize for large setups reading the entire tree structure can take a long time and incur a lot of API calls.
2 concerns we need to address with this feature:
Hi @ezbz
Thank you for the feedback! Now I see several issues with my approach. I think I need to revisit this feature.
Hi @ezbz
I created a draft pull request which provides a new approach to using some group as a root: https://github.com/ezbz/gitlabber/pull/89
Could you please review it? Thank you.
Hi everybody! It will be very helpful for me as unfortunately I am hitting gitlab rate limits, so - sadly - I cannot use this tool. AFAIU this merge request should limit the number of http requests.
Hi everybody! It will be very helpful for me as unfortunately I am hitting gitlab rate limits, so - sadly - I cannot use this tool. AFAIU this merge request should limit the number of http requests.
Python gitlab implements rate limiting and obeys gitlab's throttling, see: https://python-gitlab.readthedocs.io/en/latest/api-usage-advanced.html#rate-limits
If you have access to a large amount of groups, it may take much time to load an entire tree. It would be nice to have an opportunity to specify an exact group id which you want to clone.
I propose my solution: https://github.com/konfetka1989/gitlabber/commit/e48c267c351ea7e591d4d502e52ec123563eea03
Please consider it. Thanks.
I didn't create a pull request, because CONTRIBUTING.md states I have to discuss my changes with the owner first.