Open praveenkumar opened 2 years ago
crc bundle download
would provide progress through the http API, and ideally the same code could be reused for download during crc setup
to have progress there too (or maybe this would only be supported in download).
crc bundle download
will download the bundle to ~/.crc/cache
, and will also check its checksum. Not sure whether it should also do the decompression or not?
In crc bundle url
, sha256sum
rather than checksum
is going to be more future-proof in case we ever need to change the checksum algorithm. Though at worse we can add a prefix to the checksum
to identify it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Use case
Purpose:
Extend the
bundle
command to provide the url for different preset for different platform which contain the shasum to validate the bundle checksum.Also have
$ crc bundle download
command to download the bundle for that platform for specified preset or we can also have preset and distro as options to this command to download different preset bundle on different platform if user needed it.