Re: .deb format: let's use 0.939, zstd, drop bzip2
- To: Ian Jackson <ijackson@chiark.greenend.org.uk>
- Cc: John Goerzen <jgoerzen@complete.org>, "W. Martin Borgert" <debacle@debian.org>, Sam Hartman <hartmans@debian.org>, debian-devel@lists.debian.org, debian-dpkg@lists.debian.org
- Subject: Re: .deb format: let's use 0.939, zstd, drop bzip2
- From: Guillem Jover <guillem@debian.org>
- Date: Sat, 11 May 2019 14:10:45 +0200
- Message-id: <[🔎] 20190511121045.GA19591@gaara.hadrons.org>
- Mail-followup-to: Ian Jackson <ijackson@chiark.greenend.org.uk>, John Goerzen <jgoerzen@complete.org>, "W. Martin Borgert" <debacle@debian.org>, Sam Hartman <hartmans@debian.org>, debian-devel@lists.debian.org, debian-dpkg@lists.debian.org
- In-reply-to: <[🔎] 23766.44309.548484.537099@chiark.greenend.org.uk>
- References: <20190508173826.GA17229@angband.pl> <[🔎] 20190510031818.GA22057@gaara.hadrons.org> <[🔎] 0446df00-7318-11e9-9b6a-00163eeb5320@msgid.mathom.us> <[🔎] tslimuimsiv.fsf@suchdamage.org> <m2n.s.1hP4xn-271569@chiark.greenend.org.uk> <[🔎] 23765.56309.891778.965107@chiark.greenend.org.uk> <[🔎] 871s16ca5k.fsf@complete.org> <[🔎] 23766.44309.548484.537099@chiark.greenend.org.uk>
On Sat, 2019-05-11 at 12:08:05 +0100, Ian Jackson wrote:
> John Goerzen writes ("Re: .deb format: let's use 0.939, zstd, drop bzip2"):
> > Plus, of course, when discussing tar, there is always the "which tar
> > format do you mean?" question.
> >
> > https://manpages.debian.org/stretch/libarchive-dev/tar.5.en.html
This should be documented already in deb(5), if it is not clear or you
feel it lacks detail I'd be glad to improve it.
> > I should note that dpkg does have a maximum file size limit that's
> > rather lower than the ar limit, due to its interpretation of tar
> > headers. I believe I filed a bug on this but I'm not able to find it
> > right now, unfortunately.
Nope. This was already mentioned in this thread. dpkg-deb's tar
implementation has no practical limits anymore since 1.18.24 (#850834),
also documented in deb(5).
> IDK if dpkg is still using this but back in the dqy, when I needed
> dpkg to handle each file in a tarball individually, I found a tar
> parsing library under a rock somewhere. It wasn't a bad one but I'm
> sure it could be improved...
The tar extraction code has seen substantial rework since its
introduction. I'd also probably say it's pretty robust compared to
many of its alternatives.
Thanks,
Guillem
Reply to:
- References:
- Re: .deb format: let's use 0.939, zstd, drop bzip2
- From: Guillem Jover <guillem@debian.org>
- Re: .deb format: let's use 0.939, zstd, drop bzip2
- From: Michael Stone <mstone@debian.org>
- Re: .deb format: let's use 0.939, zstd, drop bzip2
- From: Sam Hartman <hartmans@debian.org>
- Re: .deb format: let's use 0.939, zstd, drop bzip2
- From: Ian Jackson <ijackson@chiark.greenend.org.uk>
- Re: .deb format: let's use 0.939, zstd, drop bzip2
- From: John Goerzen <jgoerzen@complete.org>
- Re: .deb format: let's use 0.939, zstd, drop bzip2
- From: Ian Jackson <ijackson@chiark.greenend.org.uk>