oras-project / oras

OCI registry client - managing content like artifacts, images, packages
https://oras.land
Apache License 2.0
1.52k stars 181 forks source link

refactor(oras-go): generic progress tracking #1524

Open shizhMSFT opened 1 month ago

shizhMSFT commented 1 month ago

This PR is a PoC for https://github.com/oras-project/oras-go/issues/839.

The goal is to extract the core code of progress checking from the oras CLI code base so that we can put it into oras-go for others to implement their own progress tracking method.

The extracted code is in the internal/experimental/track package.

The code can be built but the tests are failing since the tests are not updated for this PoC.