Bug#656622: git-dch: Permit to mangle guessed Debian versions based on upstream tags
Daniel Dehennin daniel.dehen...@baby-gnu.org writes: [...] In my quest to avoid manual debian/changelog management, I'm looking at a way to mangle the guessed debian version during git-dch invocation. [...] This will permit to append something like the '+squeezeX' or '-XubuntuY' used at several places. The --nmu option is near of what I'm looking for but add a Non-maintainer upload comment. Maybe looking at python-debian instead of calling dch directly? I made some tests and the only thing I can't reproduce is the --multimaintmerge because it's not supported by python-debian for now. It looks like it will be easier to manage changelog entries and update debian version like we want. Do you think a prototype is worth the effort? Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF pgprRe3U2vlQc.pgp Description: PGP signature
Bug#656622: git-dch: Permit to mangle guessed Debian versions based on upstream tags
Hi, On Wed, May 09, 2012 at 03:46:10PM +0200, Daniel Dehennin wrote: Daniel Dehennin daniel.dehen...@baby-gnu.org writes: [...] In my quest to avoid manual debian/changelog management, I'm looking at a way to mangle the guessed debian version during git-dch invocation. [...] This will permit to append something like the '+squeezeX' or '-XubuntuY' used at several places. The --nmu option is near of what I'm looking for but add a Non-maintainer upload comment. Maybe looking at python-debian instead of calling dch directly? I made some tests and the only thing I can't reproduce is the --multimaintmerge because it's not supported by python-debian for now. It looks like it will be easier to manage changelog entries and update debian version like we want. Do you think a prototype is worth the effort? I had toyed with this already some years ago and wasn't too happy with the modul layout so another look might be worth the effort but multimaint merge is a must have so it might be easier to fold the necessary code into gbp's changelog class borrowing heavily from python-debian. Cheers, -- Guido -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#656622: git-dch: Permit to mangle guessed Debian versions based on upstream tags
Daniel Dehennin daniel.dehen...@baby-gnu.org writes: Hello, [...] This will permit to append something like the '+squeezeX' or '-XubuntuY' used at several places. Another use case could be to transform upstream tags to valid debian version. I actually have an issue with a personal package for Gnus, the upstream tag is: 'm0-X'. I would like to set upstream-tag to 'm%(version)s' with a replacement of dash ('-') by dot ('.'). Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF pgpxsImfSYXFF.pgp Description: PGP signature
Bug#656622: git-dch: Permit to mangle guessed Debian versions based on upstream tags
Package: git-buildpackage Version: 0.6.0~git20111229 Severity: wishlist File: /usr/bin/git-dch Dear Maintainer, In my quest to avoid manual debian/changelog management, I'm looking at a way to mangle the guessed debian version during git-dch invocation. Today: - upstream-tag permit to extract the version number from an upstream tag - debian-tag permit to extract the version number from a debian tag Looking at what git-dch produce and what a debian version is[1], I think git-dch could use another parameter to manage the debian_revision added to the upstream_version. This will permit to append something like the '+squeezeX' or '-XubuntuY' used at several places. Regards. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (90, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0+hati.1+ (SMP w/2 CPU cores; PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages git-buildpackage depends on: ii devscripts 2.11.3 ii git [git-core] 1:1.7.9~rc1-1 ii git-core 1:1.7.8.3-1 ii python 2.7.2-9 ii python-dateutil 1.5-1 ii python2.62.6.7-4 ii python2.72.7.2-12 Versions of packages git-buildpackage recommends: ii cowbuilder0.67 ii pristine-tar 1.17 Versions of packages git-buildpackage suggests: ii python-notify 0.1.1-3 ii unzip 6.0-5 -- no debconf information - Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1 Footnotes: [1] http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version pgpNBEsYrg65N.pgp Description: PGP signature