Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Display a progress bar #1001

Closed
carolynvs opened this issue Aug 12, 2017 · 5 comments
Closed

Display a progress bar #1001

carolynvs opened this issue Aug 12, 2017 · 5 comments
Labels

Comments

@carolynvs
Copy link
Collaborator

It would be nice if we could display a progress bar during init and ensure. It wouldn't need to be terribly accurate, just give some feedback that things are still going, and about how far along it is. For example, when I run dep ensure and am waiting for 40 repos to be cloned into the cache for the first time, if I saw the bar move a unit for each repo, that would help me know that it's not hung.

@meyskens
Copy link

Imagine being on a bad connection

@carolynvs
Copy link
Collaborator Author

You mean like the wifi at a conference? At gophercon, we gauged progress by the git timeout errors that would keep bubbling up! 😀

@sdboyer
Copy link
Member

sdboyer commented Aug 15, 2017

yeah, i can't argue - i think this'd be a very handy high-level thing to feed back into. we just don't have the vectors to report information like that back right now, unfortunately. i'm def open to adding them, it's just...yeah, it'll take someone willing to dig in and rearchitect a bit 😄

@F21
Copy link

F21 commented Aug 15, 2017

I think this would be really helpful, even just having a spinner like the one in npm would be a good stop-gap measure to show that the operation is still running.

@JelteF
Copy link
Contributor

JelteF commented Jan 16, 2018

I totally agree that this would be really useful. I feel myself using -v all the time, purely because it gives me an indication that it's not stuck. I'll see if I have some time in the near future to work on this. @sdboyer are you fine with adding a dependency on this lib? https://github.com/cheggaaa/pb

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants