This is a tool to download large files. This is to be used in mamba
and potentially other package managers. It's a port of librepo
, but extends it in several ways as well as being cross-platform (it should support Windows as well).
Current features are:
In the future this might be directly integrated into the mamba
codebase -- or live seperately.
Install dependencies (remove zchunk
on Windows or where it's not available):
mamba env create -n powerloader -f environment.yml
Then you can run
conda activate test
mkdir build; cd build
cmake .. -GNinja
ninja
./powerloader --help
The following uplaods the xtensor-0.24.0.tar.bz2 file to the xtensor:0.24.0 name/tag on ghcr.io. The file will appear under the user authenticated by the GHA_TOKEN.
powerloader upload xtensor-0.24.0.tar.bz2:xtensor:0.24.0 -m oci://ghcr.io