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

Roger Leigh rleigh at codelibre.net
Thu Mar 10 14:46:25 UTC 2011


tags 605763 + fixed-upstream pending
thanks

On Fri, Dec 03, 2010 at 06:16:06PM +0900, Charles Plessy wrote:
> Package: sbuild
> Version: 0.60.5-1
> Severity: wishlist
> 
> Dear Roger,
> 
> I am exploring the collection build logs in the same git repository as
> the source package itself. See for instance the following URL:
> 
> http://git.debian.org/?p=debian-med/samtools.git;a=commitdiff;h=116e19c49a20aba7acb9eee37b2e6e11e7b92ea9
> 
> (In command line, git diff --word-diff=color gives even nicer results).
> 
> I wonder if it would be possible to reduce the diff between different
> builds, by having sbuild using a constant name for the build
> directory. In the above example it would be just ‘/build/samtools’
> instead of ‘/build/charles-samtools_0.1.12a-1-amd64-dvGJbJ/samtools-0.1.12a’.

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.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110310/fca6367f/attachment.pgp>


More information about the Buildd-tools-devel mailing list