We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently we are forced to use gunzip to make tar.gz archives.
gunzip
tar.gz
I'd like to use zstd because it's just better: notably, it's much faster. This can make a big difference in CI when syncing down packages.
zstd
I think if we are able to give flags like
--compressor=zstd
--compressor-extension=zst
The changes to code ought to be fairly minimal:
compressor
-I <compressor>
tar
tar.<compressor-extension>
gz
-z
Maybe instead of --compressor, multiple --tar-flag are much more flexible.
--compressor
--tar-flag
This approach relies on the compressor binary being installed and doesn't add any new dependency to cabal-cache itself.
cabal-cache
Apparently tar itself has some zstd support via the --zstd flag but at least on my system, but it's probably a much newer flag than just using -I.
--zstd
-I
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently we are forced to use
gunzip
to maketar.gz
archives.I'd like to use
zstd
because it's just better: notably, it's much faster. This can make a big difference in CI when syncing down packages.I think if we are able to give flags like
--compressor=zstd
--compressor-extension=zst
The changes to code ought to be fairly minimal:
compressor
is set, pass-I <compressor>
totar
.tar.gz
, usetar.<compressor-extension>
.gz
if not set. Don't pass-z
totar
unless we're using gunzip.Maybe instead of
--compressor
, multiple--tar-flag
are much more flexible.This approach relies on the compressor binary being installed and doesn't add any new dependency to
cabal-cache
itself.Apparently
tar
itself has somezstd
support via the--zstd
flag but at least on my system, but it's probably a much newer flag than just using-I
.The text was updated successfully, but these errors were encountered: