[buildd-tools-devel] Bug#567419: generic hook framework

martin f krafft madduck at debian.org
Thu Jan 28 23:44:02 UTC 2010


Package: sbuild
Version: 0.59.0-1
Severity: wishlist

It would be awesome if sbuild had a generic hook framework (e.g.
run-parts directories, passing all kinds of information to the
scripts in the environment) which would allow me to plug scripts in
at various stages.

  - After entering the chroot
  - After fetching the sources
  - After installing the build-deps
  - After unpacking the source
  - After the build has failed
  - After the build has completed successfully

Non-zero returns from those hooks could drop the user into a $SHELL
if stdin is connected to a tty, or otherwise just tear down the
chroot.

Stderr from those hooks should probably go into the sbuild log.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sbuild depends on:
ii  adduser                       3.112      add and remove users and groups
ii  libsbuild-perl                0.59.0-1   Tool for building Debian binary pa
ii  perl                          5.10.1-9   Larry Wall's Practical Extraction 
ii  perl-modules                  5.10.1-9   Core Perl modules

Versions of packages sbuild recommends:
ii  debootstrap                   1.0.20     Bootstrap a basic Debian system
ii  fakeroot                      1.14.4-1   Gives a fake root environment

Versions of packages sbuild suggests:
pn  deborphan                     <none>     (no description available)
ii  wget                          1.12-1.1   retrieves files from the web

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100129/8e54c5eb/attachment.pgp>


More information about the Buildd-tools-devel mailing list