bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] [PATCH] ZSTD compression support.


From: Adam Borowski
Subject: Re: [Bug-tar] [PATCH] ZSTD compression support.
Date: Wed, 15 Nov 2017 23:49:15 +0100
User-agent: NeoMutt/20170113 (1.7.2)

On Wed, Nov 15, 2017 at 10:27:07PM +0000, Ralph Corderoy wrote:
> > Its customary file extension is ".zst", while some tools use ".tzst"
> > as a shorthand for ".tar.zst".
> 
> This shortening should die, just like DOS 8.3 filenames.
> 
> If it's .tar.foo then eyeballs and scripts stand a chance of realising
> it's a tar file that's had another transformation applied, and that's
> what they have to undo first;  with an unadulterated suffix as a clue.
> Knowing .tng is a next-generation compression program applied to a tar
> file, rather than the next generation in file formats, is tedious and
> creates duplication where none is needed.

While I somewhat share your sentiment (in fact, the first version of the
patch had no .tzst), Nick Terrell informed me that multiple projects have
already accepted patches implementing this shortening:
https://github.com/coreutils/coreutils/commit/48ea99e1fadd91612818e7d75d396ae3afd88eaf
https://github.com/emacs-mirror/emacs/commit/f95bf3cd1f55cf8f99b88c7318c21c967b11dfd1
https://github.com/libarchive/libarchive/commit/e2134fb3b4cd20997e4d11c3373db2cf21ebaa47

Thus, it's probably better to have this in GNU tar as well.

Of course, the decision belongs to you, and I can send the previous version
(with two lines of difference), but as some folks use .tzst for over a
year...


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢰⠒⠀⣿⡁ Imagine there are bandits in your house, your kid is bleeding out,
⢿⡄⠘⠷⠚⠋⠀ the house is on fire, and seven big-ass trumpets are playing in the
⠈⠳⣄⠀⠀⠀⠀ sky.  Your cat demands food.  The priority should be obvious...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]