tinyrange / pkg2

Package Metadata Database
https://pkg2.thrush-map.ts.net/
Apache License 2.0
2 stars 0 forks source link

Add a nice multi-threaded progress bar #4

Open Vbitz opened 4 months ago

Vbitz commented 4 months ago

I want to be able to display multiple progress bars and nested progress bars as files are downloaded and packages are indexed.

Buildkit (https://github.com/moby/buildkit) has a nice implementation but there event driven model coming from internal API JSON might be too complicated at this stage.

Vbitz commented 4 months ago

Released a first attempt at https://github.com/tinyrange/multiprogress

I still need a balancing algorithm and buffering code. My design notes for the balancing algorithm look like this.