Giter Club home page Giter Club logo

Comments (4)

JedMeister avatar JedMeister commented on July 1, 2024 1

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.

earwig avatar earwig commented on July 1, 2024

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.

deepumukundan avatar deepumukundan commented on July 1, 2024

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.

mcameron avatar mcameron commented on July 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.