This is an automated email from the git hooks/post-receive script. afif pushed a commit to branch master in repository devscripts.
commit f3c794f5f818870e7875122a26f6d96cf66674fe Author: Afif Elghraoui <[email protected]> Date: Sat Jul 16 14:09:10 2016 -0700 debcommit: use standard version mangling for git tags Closes: #770187 This patch implements the changes requested in #770187. Please see the bug report for details about the rationale. --- debian/changelog | 7 +++++++ scripts/debcommit.pl | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index d8e2589..9b0d371 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +devscripts (2.16.10) UNRELEASED; urgency=medium + + * debcommit: + + Use standard version mangling for git tags. (Closes: #770187) + + -- Afif Elghraoui <[email protected]> Wed, 23 Nov 2016 23:50:46 -0800 + devscripts (2.16.9) unstable; urgency=medium [ James McCoy ] diff --git a/scripts/debcommit.pl b/scripts/debcommit.pl index 279f01b..d899ca1 100755 --- a/scripts/debcommit.pl +++ b/scripts/debcommit.pl @@ -700,8 +700,8 @@ sub tag { } } elsif ($prog eq 'git') { - $tag =~ s/^[0-9]+://; # strip epoch - $tag =~ tr/~/./; # mangle for git + $tag =~ tr/~/_/; # mangle for git + $tag =~ tr/:/%/; if ($tag =~ /-/) { # not a native package, so tag as a debian release $tag = "debian/$tag"; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git _______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
