Skip to content
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

Show download progress in file size #501

Merged
merged 1 commit into from
May 30, 2024
Merged

Conversation

ericwb
Copy link
Contributor

@ericwb ericwb commented May 30, 2024

The Progress class of Rich supports showing progress as download progress in bytes (MB, GB, etc). Ideally we would also show the progress as a ratio to the total zipball file size, but unforutnately the Content-Length header is not reliably returned.

The progress of the extraction was also modified to show progress in terms of files extracted vs. the total files in the zip.

The Progress class of Rich supports showing progress as download
progress in bytes (MB, GB, etc). Ideally we would also show the
progress as a ratio to the total zipball file size, but unforutnately
the Content-Length header is not reliably returned.

The progress of the extraction was also modified to show progress
in terms of files extracted vs. the total files in the zip.

Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
@ericwb ericwb merged commit 9b41887 into securesauce:main May 30, 2024
7 checks passed
@ericwb ericwb deleted the repo_progress branch May 30, 2024 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant