registry icon indicating copy to clipboard operation
registry copied to clipboard

Display upload/download progress bar on the CLI

Open calvinrp opened this issue 1 year ago • 4 comments

When uploading/downloading files, display a nice progress bar indicator that shows the progress.

calvinrp avatar May 13 '24 14:05 calvinrp

I'm working on that

MarinPostma avatar Sep 24 '24 23:09 MarinPostma

loosely related to that, but while implementing the progress bar for downloads I found that: https://github.com/bytecodealliance/registry/blob/main/src/commands/dependencies.rs#L50-L52

Is it intentional that download is called twice with the exact same args?

MarinPostma avatar Sep 24 '24 23:09 MarinPostma

loosely related to that, but while implementing the progress bar for downloads I found that: https://github.com/bytecodealliance/registry/blob/main/src/commands/dependencies.rs#L50-L52

Is it intentional that download is called twice with the exact same args?

That looks like a mistake. This code and command for dependency resolution isn't fully being used yet.

The warg client is likely going to be replaced by the https://crates.io/crates/wkg client for most users. Not yet, but very soon. It supports both Warg and OCI registries.

calvinrp avatar Sep 24 '24 23:09 calvinrp

I removed the duplicate in my PR.

MarinPostma avatar Sep 24 '24 23:09 MarinPostma