[buildd-tools-devel] Bug#760991: sbuild: please add two more hooks that fire exactly before and after the actual build

Johannes Schauer j.schauer at email.de
Tue Sep 9 18:15:25 UTC 2014


Package: sbuild
Version: 0.64.1-1
Severity: wishlist
Tags: patch

Hi,

it would be useful to have some more sbuild hooks. Specifically it would
be useful to have them exactly before the build starts and exactly after
it stops. More concretely, exactly before 'Build Start Time' is set and
exactly after "Build finished at ..." is written to the log.

Attached patch solves this problem.

Unfortunately, there already exists hooks called pre-build-commands and
post-build-commands even though they capture more than just the build
(for example they also include package installation).

These hooks are useful for finding unused build dependencies (see
https://github.com/josch/findunusedbd which uses a patched sbuild).

Thank you for your consideration.

cheers, josch


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sbuild depends on:
ii  adduser         3.113+nmu3
ii  apt-utils       1.0.6
ii  libsbuild-perl  0.64.1-1
ii  perl            5.18.2-6
ii  perl-modules    5.18.2-6

Versions of packages sbuild recommends:
ii  debootstrap  1.0.60
ii  fakeroot     1.18.4-2

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  wget       1.15-1+b1

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-pre-realbuild-commands-and-post-realbuild-comman.patch
Type: text/x-diff
Size: 3009 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20140909/4cbce375/attachment.patch>


More information about the Buildd-tools-devel mailing list