Skip to content

clone / fetch operations are extremely slow on gitlab cloud repos #1372

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

Open
nadavhaik opened this issue May 4, 2025 · 2 comments
Open

clone / fetch operations are extremely slow on gitlab cloud repos #1372

nadavhaik opened this issue May 4, 2025 · 2 comments

Comments

@nadavhaik
Copy link

Reproduces on pygit2 1.17.0/1.18.0 / python 3.11 on Mac / Linux:

import pygit2
pygit2.clone_repository("https://gitlab.com/antora/antora", "/tmp/antora")

Takes more than 10 minutes, while the cli equivalent:

git clone https://gitlab.com/antora/antora /tmp/antora 

Takes a few seconds.
Started happening ~10 days ago in our production env, worked well before and still works well for github and bitbucket hosted repos (moving the problematic repos to github solves it).
Started happening out of no where - we didn't deploy or made any change in our environment.

@nadavhaik
Copy link
Author

@nadavhaik
Copy link
Author

nadavhaik commented May 6, 2025

Looks like it was caused by this issue. When will this fix be reflected in pygit2?

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

No branches or pull requests

1 participant