-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
For installing versions via the archive (used by InstallWorkflow), it should support more compression formats.
Currently, beans-rs only supports .tar.zstd files, but it should also support other formats.
To keep it simple, the next archive format to support should be the .tar.gz format since it's super common.
The flate2 library can be used to add gzip compression support for tarball archives.
This logic should be added in the extract_package function in ctx.rs, and it should check what decompression method should be used based off the extension.
.tar.zstd: extract::decompress_zstd -> extract::unpack_tarball
.tar.gzip: extract::decompress_gzip -> extract::unpack_tarball
.tar : extract::unpack_tarball
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request