-
Notifications
You must be signed in to change notification settings - Fork 207
Open
Description
Hi @deitch
similar to #220 and #197, I want to propse a new compression format xz. Maybe I will open a PR, but I have a few questions before:
- Adding
COMPRESSandUNCOMPRESScommands is quite easy, but how about more custom options? In this case, compression settings (-0..-9) or number of threads to use (-T) to name a few where a good default is hard to guess. Would you accept someCOMPRESS_OPTIONSandDECOMPRESS_OPTIONSenv variables? - Thinking it further, would you be open to add a
customcompression format, where you could define a customCOMPRESS_COMMANDandDECOMPRESS_COMMAND? It could of course be combined with previously mentionedCOMPRESS_OPTIONSandDECOMPRESS_OPTIONS
Example:
COMPRESSION=xz
COMPRESS_OPTIONS=-z3 -T4
DECOMPRESS_OPTIONS=-d
COMPRESSION=custom
COMPRESS_COMMAND=xz -z3 -T4
DECOMPRESS_COMMAND=xz -d
Metadata
Metadata
Assignees
Labels
No labels