Debian Bug report logs - #585842
git-buildpackage: save commit id in built packages

version graph

Package: git-buildpackage; Maintainer for git-buildpackage is Guido Günther <[email protected]>; Source for git-buildpackage is src:git-buildpackage (PTS, buildd, popcon).

Reported by: Thomas Koch <[email protected]>

Date: Mon, 14 Jun 2010 09:15:02 UTC

Severity: wishlist

Found in version git-buildpackage/0.4.67

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Guido Günther <[email protected]>:
Bug#585842; Package git-buildpackage. (Mon, 14 Jun 2010 09:15:05 GMT) (full text, mbox, link).


Acknowledgement sent to Thomas Koch <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Guido Günther <[email protected]>. (Mon, 14 Jun 2010 09:15:05 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Thomas Koch <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: git-buildpackage: save commit id in built packages
Date: Mon, 14 Jun 2010 11:10:39 +0200
Package: git-buildpackage
Version: 0.4.67
Severity: wishlist

Hi,

it would be nice, if git-buildpackage could provide an option to save
the commit id from which the package was build somewhere in the built
package.
I'm not sure, where the best place would be. It could be a separate file
in /usr/share/doc/PACKAGE, a note in the changelog, somewhere in the
..changes or .dsc files?
The file must be created/inserted on the fly during git-buildpackage [-b|-S]
invocation.
It must be possible to specify in gbp.conf that the file must be
created, so that I don't need to rely on my sponsor giving an option to
git-buildpackage.

-- System Information:
Debian Release: squeeze/sid
  APT prefers stable
  APT policy: (1000, 'stable'), (990, 'unstable'), (700, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-buildpackage depends on:
ii  devscripts                    2.10.64    scripts to make the life of a Debi
ii  git [git-core]                1:1.7.1-1  fast, scalable, distributed revisi
ii  git-core                      1:1.7.1-1  fast, scalable, distributed revisi
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-dateutil               1.4.1-3    powerful extensions to the standar
ii  python-support                1.0.8      automated rebuilding support for P

Versions of packages git-buildpackage recommends:
ii  pristine-tar                  1.03       regenerate pristine tarballs

Versions of packages git-buildpackage suggests:
pn  git-load-dirs                 <none>     (no description available)

-- Configuration Files:
/etc/git-buildpackage/gbp.conf changed [not included]

-- no debconf information




Message sent on to Thomas Koch <[email protected]>:
Bug#585842. (Mon, 12 Jul 2010 07:15:12 GMT) (full text, mbox, link).


Message #8 received at [email protected] (full text, mbox, reply):

From: Guido Günther <[email protected]>
To: [email protected]
Subject: Re: git-buildpackage: save commit id in built packages
Date: Mon, 12 Jul 2010 09:12:38 +0200
Hi Thomas,
this sounds like a worthwhile thing to have. Any chance you'd send a
patch?
 -- Guido




Message sent on to Thomas Koch <[email protected]>:
Bug#585842. (Sat, 17 Jul 2010 14:18:57 GMT) (full text, mbox, link).


Message #11 received at [email protected] (full text, mbox, reply):

From: Guido Günther <[email protected]>
To: [email protected]
Subject: How about using the pre built hook?
Date: Sat, 17 Jul 2010 16:15:14 +0200
Hi Thomas,
Jonathan recently send a patch to add a pre-build hook. That could be
used to achieve what you want. We can pass the SHA1 of the debian-branch
to the hook. The hook would then be responsible for storing the
information in the package e.g. by adding it as debian/SHA1.
 -- Guido




Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:20:48 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.