Hello,
I sent the below message to <bug#>-submitter, which apparently doesn't copy the maintainer, so you likely didn't see it.

Please let me know if there's anything I can do to move this along.

Many thanks and regards
Afif


-------- Forwarded Message --------
Subject: debcommit: Please merge patch to to standardize git tag version mangle
Date: Sat, 16 Jul 2016 14:19:25 -0700
From: Afif Elghraoui <[email protected]>
To: [email protected]

Control: tag -1 + patch

Hello,
I've implemented the changes proposed by Ian Jackson in this bug report.
As an affected user, I would appreciate if you would merge this patch.

The patch was created using git-format-patch, but let me know if you'd
prefer me to commit it as a topic branch directly on collab-maint.

Many thanks and regards
Afif

--
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name

>From 1b29a12f0393fc02bb3560c8fd9cf3a475a0db5f Mon Sep 17 00:00:00 2001
From: Afif Elghraoui <[email protected]>
Date: Sat, 16 Jul 2016 14:09:10 -0700
Subject: [PATCH] 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.
---
 scripts/debcommit.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/debcommit.pl b/scripts/debcommit.pl
index ce22100..2a32576 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";
-- 
2.1.4


_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to