-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Display human readable bytes in download progress #16062
Display human readable bytes in download progress #16062
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
We can use https://cs.opensource.google/bazel/bazel/+/master:src/main/java/com/google/devtools/build/lib/remote/util/Utils.java;l=588?q=bytesCountToDisplayString&sq=&ss=bazel to avoid adding the |
8589747
to
e469fd5
Compare
Before: ``` Fetching https://mirror.bazel.build/..._x64.tar.gz; 28,324,614B 9s ``` After: ``` Fetching https://mirror.bazel.build/..._x64.tar.gz; 27 MB (28,324,614B) 9s ```
e469fd5
to
db5787c
Compare
@meteorcloudy Good to know! PTAL. |
The CI failure doesn't look like my fault. |
Before: ``` Fetching https://mirror.bazel.build/..._x64.tar.gz; 28,324,614B 9s ``` After: ``` Fetching https://mirror.bazel.build/..._x64.tar.gz; 27 MB (28,324,614B) 9s ``` Closes bazelbuild#16062. PiperOrigin-RevId: 479250818 Change-Id: Iea3ea6082a0dfb46456e25ea219a0f287e90e1fc
Before:
After: