Bug#750137: pbuilder: Run DEP-8 tests with autopkgtest after successful build if debian/tests/control present

Mattia Rizzolo mattia at mapreri.org
Thu Sep 17 17:20:12 UTC 2015


Control: tags -1 + patch


Hello people!

On Tue, Sep 15, 2015 at 01:46:43PM +0200, Michael Prokop wrote:
> * Guido Günther [Tue Sep 15, 2015 at 07:26:18AM +0200]:
> > On Mon, Jun 02, 2014 at 12:05:52AM +0200, Axel Beckert wrote:
> 
> > > maybe this is an immature idea or already has been discussed elsewhere
> > > -- but I can't let it go without documenting it as wishlist bug report:
> 
> > > IMHO it would be very nice if pdebuild (or pbuilder in general) would --
> > > optionally and if present -- run the DEP-8[1] tests of a just built
> > > package in the same chroot it used to build the package.

As a fun fact, pbuilder contains a script to run DEP-8-like tests since
0.128 (~=2005) !
It's a hook called B92test-pkg.  It releys on a debian/pbuilder-test/
directory containing a set of scripts to be run.  Clearly this is
somewhat superseed, I'll file patched bugs to the packages using them
(yes, there are some!) to migrate to autopkgtest.

> > This script from jenkins-debian-glue used as a hook does have exactly
> > that purpose it seems (at least I'm using it like that):
> 
> >     https://raw.githubusercontent.com/mika/jenkins-debian-glue/master/pbuilder-hookdir/B20autopkgtest
> 
> > Maybe we can add this to pbuilder proper and update the documentation:
> 
> >     file:///usr/share/doc/pbuilder/pbuilder-doc.html#autotesting
> 
> JFTR: Christoph Berg and me (both of us being the authors of the
> mentioned pbuilder-hookdir/B20autopkgtest script) are fine with
> putting this script into pbuilder upstream and license it under
> the GPL-2+.

Yeah, sure thing! :D

But I'm sorry, for me is a "for this guy different than myself is ok" is
not enough to include the file with a changed license (and I'd rather
not add a file with a different license).

@myon: can you please drop here a comment? :)

After this I'll commit it, with some minor changes (like using
BUILDDIR instead of /tmp/buildd and changing indentation to appease me
more).

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20150917/feef3f0b/attachment.sig>


More information about the Pbuilder-maint mailing list