[buildd-tools-devel] Bug#605763: Bug#605763: sbuild: A reproducible name for build directories, to minimize diff between logs ?

Charles Plessy plessy at debian.org
Tue Apr 12 12:13:49 UTC 2011


Le Thu, Mar 10, 2011 at 02:46:25PM +0000, Roger Leigh a écrit :
> 
> I've implemented log filtering in the current git version, which
> would replace
> 
> /build/charles-samtools_0.1.12a-1-amd64-dvGJbJ with BUILDDIR to give you
> BUILDDIR/samtools-0.1.12a.  I could add an additional PKGBUILDDIR to
> replace the whole of
> /build/charles-samtools_0.1.12a-1-amd64-dvGJbJ/samtools-0.1.12a with
> PKGBUILDDIR if you would also want the actual package constant as well.

Dear Roger,

thank you very much for implementing the feature.  I find your solution
very elegant.

As you can see on the following extract, much of the repetitive part of some
diffs could be removed if BUILDDIR would also mask the package name and
version:

-make[3]: Leaving directory `BUILDDIR/samtools-0.1.14'
-make[3]: Entering directory `BUILDDIR/samtools-0.1.14/bcftools'
+make[3]: Leaving directory `/«BUILDDIR»/samtools-0.1.15'
+make[3]: Entering directory `/«BUILDDIR»/samtools-0.1.15/bcftools'
 make[3]: Nothing to be done for `lib'.
-make[3]: Leaving directory `BUILDDIR/samtools-0.1.14/bcftools'
-make[3]: Entering directory `BUILDDIR/samtools-0.1.14/misc'
+make[3]: Leaving directory `/«BUILDDIR»/samtools-0.1.15/bcftools'
+make[3]: Entering directory `/«BUILDDIR»/samtools-0.1.15/misc'
 make[3]: Nothing to be done for `lib'.

http://git.debian.org/?p=debian-med/samtools.git;a=commitdiff;h=refs/heads/meta#patch2

Do you think it would be possible to extend BUILDDIR one level down in the path ?

Have a nice day,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan





More information about the Buildd-tools-devel mailing list