zarf icon indicating copy to clipboard operation
zarf copied to clipboard

refactor progress bar implementation in oci and zoci

Open AustinAbro321 opened this issue 1 year ago • 0 comments

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

AustinAbro321 avatar Feb 12 '24 21:02 AustinAbro321