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

gut silently fails when pulling many repos, then hangs forever #190

Open
Phaqui opened this issue Nov 21, 2024 · 4 comments
Open

gut silently fails when pulling many repos, then hangs forever #190

Phaqui opened this issue Nov 21, 2024 · 4 comments

Comments

@Phaqui
Copy link
Contributor

Phaqui commented Nov 21, 2024

I discovered that when doing gut pull -o giellalt, gut took a long time, but even for the directories
it claimed to be "proessing" - nothing had happened, and they had not been pulled. After a good while
I had to abort (ctrl-c) the process.

It can't be ruled out that github may be rate limiting a client, causing gut to hang like this.

@snomos
Copy link
Member

snomos commented Nov 21, 2024

Although it happens to me too, it is really rare, and the first place to look would be network errors somewhere. At least that has been the case for me in the past.

@Phaqui
Copy link
Contributor Author

Phaqui commented Nov 21, 2024

I checked that, but it was all fine. When I did a manual bash for loop and git pulled each folder individually, I got many folders updated (though of course that took a good while).

@snomos
Copy link
Member

snomos commented Nov 21, 2024

Just did gut pull, and it ran speedily and normal, and pulled seemingly everything. If GH is rate limiting, it is not affecting me.

@Phaqui Phaqui changed the title gun silently fails when pulling many repos, then hangs forever gut silently fails when pulling many repos, then hangs forever Nov 21, 2024
@Phaqui
Copy link
Contributor Author

Phaqui commented Nov 21, 2024

I was running with just gut pull -o giellalt (to pull all giellalt repos), but when I instead did gut pull -o giellalt -r dict-, it all went fine (apart from gut considering untracked files in the directories as the repos being dirty, and refusing to pull -- but that's its own bug, and presumably the underlying library's fault).

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

2 participants