[buildd-tools-devel] Bug#551311: Bug#551311: Updated patches for debuild like functionality in sbuild.

Andres Mejia mcitadel at gmail.com
Fri Nov 13 04:30:18 UTC 2009


On Tuesday 27 October 2009 01:22:14 Andres Mejia wrote:
> On Friday 23 October 2009 19:23:59 Andres Mejia wrote:
> > Here are a new set of patches for some debuild like functionality
> >  implemented directly in sbuild. Details of what's new is in the patch
> > for the man page but in short, sbuild would now be able to build from a
> > Debianized source package, run lintian after a build, and run external
> > commands before and after a build.
> >
> > With this, the sbuild-debuild script and manpage can be removed.
> 
> Something I forgot to include was cleaning the source directory before
> building the source packages. Here's a patch that fixes that.
> 

Were these patches reviewed? No rush, just wondering.

I also want to bring something up. It's in relation to the discussion about 
lintian based autorejects. It's also in relation to one of the release goals 
for squeeze, the "A further enhanced Quality Assurance process ..." goal.

With these patches, it would be possible to run lintian on a package after it 
has been built, but only when sbuild is passed the --run-lintian option. Also, 
currently, even if a lintian run would fail (due to a package raising some 
lintian error), sbuild (correctly) reports that the package has been built 
successfully.

I was wondering if instead, sbuild should run lintian by default and change 
the corresponding option from --run-lintian to --no-lintian. Also, I was 
wondering if sbuild should be changed in some way where sbuild reports a 
failure in case a lintian run failed.

With this, I was also wondering if sbuild should support running piuparts in 
the same way as it would support running lintian.

-- 
Regards,
Andres



More information about the Buildd-tools-devel mailing list