Re: RFC: Possible deprecating of bzip2 in dpkg-deb?
Hi!
On Tue, 2014-01-21 at 16:57:01 +0100, Guillem Jover wrote:
> This made me consider the point of supporting data.tar.bz2 too, because
> it's either slower or takes more memory or space than with none, gzip
> or xz. So was wondering if maybe we should consider deprecating it in
> Debian (via a deprecation process in dpkg-deb and lintian)? That would
> not change much for dpkg itself, as unpacking support will remain as
> long as .deb version 2.x is supported, but might improve the compliance
> chart in <https://wiki.debian.org/Teams/Dpkg/DebSupport> for other
> tools, and would reduce the support surface when it comes to binary
> packages in the Debian archive going forward. Is there any actual
> benefit in using bzip2 (instead of the others) for *binary* Debian
> packages, that people could think of?
>
> I'm not sure how many packages currently use bzip2 in the archive
> though, does anyone know if this is recorded in one of the project
> databases (projectB, UDD or similar)? Otherwise I might go on a
> hunting expedition at some point.
I went ahead and run the attached script niced over the lintian lab
on lintian.d.o, which should cover all binary packages (amd64 + all)
from sid and experimental, the results are as follows:
.deb w/ data.tar.gz 20243
.deb w/ data.tar.xz 24425
.deb w/ data.tar.bz2 247
---------------------- -----
.deb total 44915
(The raw output can be found on my home dir on the lintian.d.o host,
I'll remove it in some weeks though.)
The number of source packages that produce all .deb w/ data.tar.bz2 is
81 (dd-list attached), which seems pretty low to me. So given this, and
if there's no compelling reasons to keep using bzip2, I think I'll just
go ahead and start the deprecation process by making «dpkg-deb -b»
issue a warning in 1.17.7 or .8, and filing a bug report to lintian.
Thanks,
Guillem
#!/bin/sh
cd /srv/lintian.debian.org/laboratory
find pool -name '*_amd64_binary' -o -name '*_all_binary' | \
while read file; do
echo -n "$file: "
ar t "$file/deb" | grep '^data\.tar'
done >~/deb-data-comp.out
"Adam C. Powell, IV" <hazelsct@debian.org>
elmerfem (U)
Aaron M. Ucko <ucko@debian.org>
gbrowse (U)
Abou Al Montacir <abou.almontacir@sfr.fr>
castle-game-engine
fpc (U)
lazarus (U)
view3dscene
Andreas Wenning <awen@awen.dk>
python-uniconvertor (U)
Andreas Wenning <uniconvertor@awen.dk>
python-uniconvertor
Anibal Monsalve Salazar <anibal@debian.org>
acl
attr
bsd-finger
cgiemail
debtree
gparted (U)
idle3-tools
irqbalance
libbitmask
libcpuset
libevent
libmailtools-perl
libmnl
libnet-daemon-perl
libnfsidmap
libpng
libpng1.6
librpcsecgss
libtextwrap
libx86
lsscsi (U)
mpack
mtools
nasm
nfs4-acl-tools
pbzip2
pciutils
pidentd
rdate
rdist
rstatd
tnftp
Armin Ronacher <armin.ronacher@active-4.com>
zine
Barry deFreese <bdefreese@debian.org>
fretsonfire (U)
Bernd Zeimetz <bzed@debian.org>
python-qt4 (U)
Bert Agaz <bertagaz@ptitcanardnoir.org>
pycryptopp
zfec
Boris Pek <tehnick@debian.org>
elmerfem (U)
Carlos Laviola <claviola@debian.org>
fpc
lazarus
cento <ignorante@autistici.org>
stl-manual
Charles Plessy <plessy@debian.org>
gbrowse (U)
Christian Marillat <marillat@debian.org>
dispcalgui
mkvtoolnix
suck
Christoph Martin <christoph.martin@uni-mainz.de>
openssl-blacklist (U)
Daniel Echeverry <epsilon77@gmail.com>
hydra (U)
Darren Salt <devspam@moreofthesa.me.uk>
xine-lib
Darren Salt <linux@youmustbejoking.demon.co.uk>
xine-lib
David Martínez Martí <deavidsedice@gmail.com>
fretsonfire (U)
Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
fretsonfire
fretsonfire-songs-muldjord
jumpnbump-levels
Debian Java Maintainer <pkg-java-maintainers@lists.alioth.debian.org>
dbus-java
Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
gbrowse
Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
beaker
jinja2 (U)
markupsafe (U)
myghty
paste (U)
pastescript (U)
pastewebkit (U)
pyenchant (U)
pygments (U)
python-gd
python-qt4
python-uniconvertor (U)
Debian QA Group <packages@qa.debian.org>
argyll
cricket
docvert
perl-byacc
Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
elmerfem
Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>
elmerfem
kwwidgets
Dmitry Shachnev <mitya57@gmail.com>
python-qt4 (U)
Jamie Strandboge <jamie@ubuntu.com>
openssl-blacklist (U)
openvpn-blacklist
Julián Moreno Patiño <darkjunix@gmail.com>
amispammer
ora2pg
pyragua
Julián Moreno Patiño <julian@debian.org>
hydra
ne
python-gd (U)
Kees Cook <kees@debian.org>
openssl-blacklist
openvpn-blacklist (U)
Leo Costela <costela@debian.org>
libevent (U)
LI Daobing <lidaobing@debian.org>
pinyin-database
Luis Uribe <acme@eviled.org>
python-uniconvertor (U)
Luk Claes <luk@debian.org>
acl (U)
attr (U)
Mathieu Malaterre <malat@debian.org>
kwwidgets (U)
Matt Taggart <taggart@debian.org>
lsscsi
pciutils (U)
Matthew Johnson <mjj29@debian.org>
dbus-java (U)
fretsonfire (U)
fretsonfire-songs-muldjord (U)
Micah Anderson <micah@debian.org>
pycryptopp (U)
zfec (U)
Michael Casadevall <mcasadevall@debian.org>
python-qt4 (U)
Mikolaj Izdebski <zurgunt@gmail.com>
lbzip2
Miriam Ruiz <little_miry@yahoo.es>
fretsonfire (U)
fretsonfire-songs-muldjord (U)
Nanakos Chrysostomos <nanakos@wired-net.gr>
yubiserver
Nathan Scott <nathans@debian.org>
acl (U)
attr (U)
Neutron Soutmun <neo.neutron@gmail.com>
ipset
libmnl (U)
Nobuhiro Iwamatsu <iwamatsu@debian.org>
afnix
libpng (U)
libpng1.6 (U)
Oleksandr Moskalenko <malex@debian.org>
beaker (U)
myghty (U)
Olivier Sallou <osallou@debian.org>
gbrowse (U)
Optical Media Tools Team <pkg-opt-media-team@lists.alioth.debian.org>
dvd+rw-tools
Paul Gevers <elbrus@debian.org>
castle-game-engine (U)
fpc (U)
lazarus (U)
view3dscene (U)
Peter Michael Green <plugwash@debian.org>
fpc (U)
Phillip Susi <psusi@ubuntu.com>
gparted
Piotr Ożarowski <piotr@debian.org>
beaker (U)
jinja2
markupsafe
paste
pastescript
pastewebkit
pyenchant
pygments
zine (U)
Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
zine (U)
Reinhard Tartler <siretart@tauware.de>
xine-lib (U)
Rogério Brito <rbrito@ime.usp.br>
dvd+rw-tools (U)
Scott Kitterman <scott@kitterman.com>
python-qt4 (U)
TANIGUCHI Takaki <takaki@debian.org>
dvd+rw-tools (U)
Toby Smithe <tsmithe@ubuntu.com>
fluid-soundfont
Torsten Marek <shlomme@debian.org>
python-qt4 (U)
Torsten Werner <twerner@debian.org>
fpc (U)
lazarus (U)
Xavier Oswald <xoswald@debian.org>
argyll (U)
Reply to: