defenseunicorns / defenseunicorns/pkg

refactor progress bar implementation in oci and zoci

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
7
Forks
6
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.