Re: 2013 sometimes still feels like 2003 or 1993 (Re: NEW processing during freezes
On Sun, May 05, 2013 at 12:18:44AM +0100, Wookey wrote:
> +++ Julian Taylor [2013-05-04 11:48 +0200]:
> > On 04.05.2013 11:10, Wookey wrote:
> > >
> > > I am huge fan of both building in clean environments _and_ being able
> > > to build twice. I don't think there is any solution to this other than
> > > testing it in an automated fashion. An sbuild or pbuilder option for
> > > --build-twice would make testing a very simple matter.
> > >
> > pbuilder and cowbuilder already support the --twice option since a while.
> OK. I didn't know that. Cheers.
> Problem is I've moved to sbuild these days, but lucas's patch could
> fairly easily be worked up into an sbuild --twice option too.
There's definitely an open bug for adding this, and I'll be happy
for it to be added. It shouldn't be too hard to implement, though
we would probably want to make it configurable whether the repeat
build failing should fail the build as a whole. We probably want
to do the repeat after we've copied the built files out of the
chroot. We could probably also compare the file paths between
the source and binary packages in the first and second builds;
comparing the content itself is probably not realistic.
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800