Bug#832053: devscripts: deblog command to display current and former build logs
Raphaël Hertzog
hertzog at debian.org
Thu Jul 21 19:44:35 UTC 2016
Package: devscripts
Version: 2.16.6
Severity: wishlist
I find myself often typing:
$ less ../build-area/ftplib_4.0-1-1_amd64.build
or
$ less ../build-area/ftplib_4.0-1-1_amd64-20160721-1340.build
(usually playing with tab completion to find an older build log)
I would like to have a "deblog" command (similar to "debc" or "debi") that
would by default identify the location of the last build log and show
it in a pager. It should respect DEBRELEASE_DEBS_DIR to find logs next to
the built packages.
Possible options:
$ deblog --with vim
=> to run with something else than a pager
$ deblog --older 2
=> to display the 2nd build log (when you coun starting from the latest towards
the oldest)
$ deblog --select
=> to show a list of the available build logs and let me pick the one to
open
Note that the build logs above are generated by sbuild but at least
debuild generates a build log following the same convention (though it
does not have historical logs AFAIK).
-- Package-specific info:
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
DEBRELEASE_UPLOADER=dput
DEBRELEASE_DEBS_DIR=../build-area
DEBCHANGE_RELEASE_HEURISTIC=changelog
DEBCHANGE_MULTIMAINT_MERGE=yes
DEBCHANGE_PRESERVE=yes
DEBUILD_LINTIAN_OPTS="--color always -I"
DEBSIGN_KEYID=0xF2AC729A
DEBSIGN_PROGRAM=gpg2
DEBCHANGE_AUTO_NMU=no
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages devscripts depends on:
ii dpkg-dev 1.18.9
ii libc6 2.23-1
ii perl 5.22.2-2
pn python3:any <none>
Versions of packages devscripts recommends:
ii apt 1.3~pre2
ii at 3.1.20-1
ii curl 7.47.0-1
ii dctrl-tools 2.24-2
ii debian-keyring 2016.07.02
ii dput-ng [dput] 1.10
ii equivs 2.0.9+nmu1
ii fakeroot 1.21-1
ii file 1:5.28-2
ii gnupg 1.4.20-6
ii gnupg2 2.1.11-7
ii libdistro-info-perl 0.14
ii libencode-locale-perl 1.05-1
ii liblwp-protocol-https-perl 6.06-2
ii libsoap-lite-perl 1.20-1
ii liburi-perl 1.71-1
ii libwww-perl 6.15-1
ii licensecheck 3.0.1-1
ii lintian 2.5.45
ii man-db 2.7.5-1
ii patch 2.7.5-1
ii patchutils 0.3.4-1
ii python3-debian 0.1.28
ii python3-magic 1:5.28-2
ii sensible-utils 0.0.9
ii strace 4.12-3
ii unzip 6.0-20
ii wdiff 1.2.2-1+b1
ii wget 1.18-2
ii xz-utils 5.1.1alpha+20120614-2.1
Versions of packages devscripts suggests:
ii bsd-mailx [mailx] 8.1.2-0.20160123cvs-3
ii build-essential 12.2
pn cvs-buildpackage <none>
pn devscripts-el <none>
pn diffoscope <none>
pn dose-extra <none>
pn gnuplot <none>
ii gpgv 1.4.20-6
ii libauthen-sasl-perl 2.1600-1
ii libfile-desktopentry-perl 0.22-1
ii libnet-smtp-ssl-perl 1.03-1
pn libterm-size-perl <none>
ii libtimedate-perl 2.3000-2
pn libyaml-syck-perl <none>
pn mozilla-devscripts <none>
ii mutt 1.6.0-1
ii openssh-client [ssh-client] 1:7.2p2-5
ii svn-buildpackage 0.8.5+nmu1
ii w3m 0.5.3-28
-- no debconf information
More information about the devscripts-devel
mailing list