Comments (4)
FWIW prior to using your awesome git-repo-updater
, I had a bash script which via xargs
updated repos 20 at a time (from GitHub) and I never had any issues.
It made it incredibly fast (compared to doing it sequentially). I tested using more than 20 concurrent connections and whilst it did still increase the speed, the returns were diminishing so 20 seemed like the sweet spot. YMMV though...
Regardless, I never had any complaints from GitHub. IIRC at some point when I was testing larger numbers of concurrent connections, I started to get (what appeared to be random) failures. If memory serves, that was at some point above 100 concurrent connections to GH.
from git-repo-updater.
Good idea, though we want to be careful to not flood github with 20 concurrent pulls—I don't know if that would bother them.
from git-repo-updater.
I have seen this behaviour in Github Desktop, their own Git client when trying to pull from the swift repos. An activity indicator spins on the repo names in the left sidebar and completes once each update is complete.
But agree with you if the pulls will bother them. Maybe we should not pull everything together but run batches of pulls concurrently. Anyways gitup as it is works well for me, so can't really complain :)
from git-repo-updater.
I would prefer it to the following if it performed comparably:
for file in $(ls -1); do cd ${file}; git pull; cd ..; done
Thank you for making it available.
On a clean tree of repos "for loop":
2.36 real 0.53 user 0.34 sys
Same tree "gitup":
4.34 real 0.43 user 0.36 sys
On an out of date tree gitup can take significantly (minutes) longer for me.
from git-repo-updater.
Related Issues (20)
- “PackingType of packed-Refs not understood” HOT 5
- Homebrew Installation Requires Python@2 HOT 3
- Quiet mode - hide repos that are already up to date HOT 2
- Option to ignore some folders on recursive search for git repositories HOT 1
- [feature request] Package Manager Install HOT 4
- PyPI install? HOT 2
- git push? HOT 2
- Add a command to list repositories which have commits recently HOT 3
- Prune and current directory doesn't work? HOT 4
- new release HOT 2
- running tests HOT 1
- clean up deleted repo's? HOT 6
- Is there a way we can set which branch to pull update? HOT 2
- ImportError: No module named configparser HOT 5
- Incompatible with PyOxidizer HOT 3
- Earwig/git-repo-updater
- error: Could not read from remote repository - fails at different point each time HOT 3
- [Suggestion] Add topics to the GitHub repo HOT 1
- Migration to Github Action HOT 2
- [FEATURE] - Option to exclude directory / directories HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-repo-updater.