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

Issues with git pull/fetch #232

Open
vnovichek opened this issue Dec 26, 2022 · 5 comments
Open

Issues with git pull/fetch #232

vnovichek opened this issue Dec 26, 2022 · 5 comments

Comments

@vnovichek
Copy link

Hi,

I've got a group with 87 repos in it and pull/fetch commands return me a couple of errors for some repos (they differ every time):

kex_exchange_identification: Connection closed by remote host
Connection closed by <IP address> port 22
fatal: Could not read from remote repository.

On the other hand pulling/fetching much smaller groups work without issues.

macOS 12.6.2, python 3.10.9

Any ideas? Thanks in advance.

@dzhou-schrodinger
Copy link
Contributor

I don't expect it to work due to #91

Can you try 3.6 to 3.9?

@vnovichek
Copy link
Author

The same issue with 3.9.

@vnovichek
Copy link
Author

I can see exactly the same SSH error when I tried to clone all this large group of repos manually at the same time, e.g.
for R in ; do git clone $R & done

It means that my gitlab server doesn't like to get too many requests at once. Is there a way to limit number of repos being processed simultaneously by gita?

@nosarthur
Copy link
Owner

I see, thanks for the testing.

We can add some parameter for max batch size, and expose it via commandline, like gita set maxbatchsize 20

@vnovichek
Copy link
Author

Yes, that'd be great, thanks

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

3 participants