-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: go get download progress and download speed status #15959
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
Comments
I would also like this to have a switch to enable machine readable progress so that other apps can read it and display it. Thank you. |
Seems hard to do, considering we shell out to git, hg, svn, etc to do the actual file transfers.
|
most of the time we only use GitHub i.e. git. Can't we use git's built-in progress status ? |
For git you'll want to use
I'd be a little concerned that this would be confusing if not provided in the other supported systems, but then I actually didn't realize till now that you actually could use hg, svn etc, so perhaps if you're using those you also know to look for some inconsistencies as the masses swarm git. |
For reference, with mercurial the same thing would be something like |
|
git's original output is super important to debug proxy issue. It's not only a "progress". |
Make another flag for progress. Stop lumping all this behaviour onto a single flag, it just ends in bikeshedding about what constitutes verbosity. |
we do need more progress for repo0 (download)
repo1 (download)
... but download-progress like Rceiving: 14% (368/2626), 36.01 KiB | 46.00 KiB/s which enables us to confirm if the net connection is healthy or dead. It's important for user-friendly and also for debug.
refer to https://gist.github.com/Jimmy-Xu/275c98cdc7be327c9607 |
This is fairly easy, even in Go code:
I don't see why this shouldn't be a thing. |
go 1.6
linux_amd_64
problem
go get is an awesome tool download and install repositories from websites. But the problem is many times due bad internet connection or varying internet speed or a large repository it takes a lot of time.All we can do is look at blinking the cursor and there is no way to know how much code has been downloaded or is it installing or downloading .
feature request
I would like to request this feature of percentage of completed download and download speed status
in go get tool. It will be very helpful for gophers with slow internet access.
The text was updated successfully, but these errors were encountered: