Giter Site home page Giter Site logo

async calls for `gita ll` about gita HOT 5 CLOSED

nosarthur avatar nosarthur commented on May 14, 2024 1
async calls for `gita ll`

from gita.

Comments (5)

nosarthur avatar nosarthur commented on May 14, 2024 1

I need to think about how to do this. It seems output suppression (and potential progress bar) should only apply to pull and fetch if they are run asynchronously.

Right now, the code is structured such that if more than 1 repo-name is passed to gita, the corresponding command will be run asynchronously.

from gita.

seqizz avatar seqizz commented on May 14, 2024

Thanks for the async stuff, as a small feedback, you might want to use some progress bar (something like progressbar2) instead of showing mixed output from all subprocesses, imho doesn't actually mean anything without an order anyway.

from gita.

nosarthur avatar nosarthur commented on May 14, 2024

I think the execution stdout output are in finishing order (not mixed) now v0.8.0 (maybe since v0.7.7)

from gita.

seqizz avatar seqizz commented on May 14, 2024

Still, I currently have 10+ active repos registered and there is no way I'd follow which one ends where and other one starts 😄 Something short and informative would be easier to read.

reponame  branch  ###==== Updating...
reponame2  branch  ######## Failed (There is no tracking information for the current branch.)
reponame3  branch  ######## Done (2 new branches fetched, 1 file changed, 46 insertions(+))
reponame3  branch  ######## Done (Already up-to-date)
reponame4  branch  ######## Done (2 file changed, 12 insertions(+), 4 deletions(-))

I'll try to do something when I have time, if I can understand the codebase.

from gita.

nosarthur avatar nosarthur commented on May 14, 2024

That looks quite nice (I always liked the display of docker pull). Let me create a new issue, meanwhile, this issue is not further pursued for now.

from gita.

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.