Bug#704236: dch: include package names in (git) tags for -r

gregor herrmann gregoa at debian.org
Sun Mar 31 15:19:32 UTC 2013


Control: tag -1 + patch

On Sat, 30 Mar 2013 18:09:44 -0400, James McCoy wrote:

> > > Please consider adding the package name to the tags created with -r
> > > (at least for git).
> > 
> > debchange does not create (git) tags.
> 
> Ideally, I think debcommit should allow format specifiers for
> constructing the tag, similar to what we do with the hooks in debuild.
> That would have been useful to keep consistent on the style of tagging
> devscripts' releases, by using something like 'v${version}'.

I looked into what git-bp does now: It doesn't add the packagename to
the tag but to the commit message.

I've now put together a quick patch that does the same for debcommit:
add the source package name to commit messages and output messages
for release/tag.

Allowing to specify a format for the tags themselves might also be
nice; maybe we should clone this bug report to have the two issues
separate?

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Paul McCartney: She Said Yeah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debcommit_tag_pkgname.diff
Type: text/x-diff
Size: 2658 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20130331/5cf119da/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20130331/5cf119da/attachment.pgp>


More information about the devscripts-devel mailing list