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

refactor progress bar implementation in oci and zoci #10

Open
AustinAbro321 opened this issue Feb 12, 2024 · 0 comments
Open

refactor progress bar implementation in oci and zoci #10

AustinAbro321 opened this issue Feb 12, 2024 · 0 comments

Comments

@AustinAbro321
Copy link
Contributor

Describe what should be investigated or refactored

Currently there are several ways that progress bars are being implemented in our oci code

  • We use our implementation of roundTripper which updates our progress bar each time RoundTrip is called.
  • We check the file system and see how many bytes are uploaded out of bytes expected
  • We check how many layers we've downloaded out of the total amount of layers.

It would be nice to have one consistent way of managing progress for implementers of the OCI package. It would also make our code simpler as an implementer of the package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Backlog
Development

No branches or pull requests

1 participant