[Reproducible-commits] [misc] 01/01: clean-notes: special case the version 3.6e-1 to be outputted as git diffstr. Yeah, ugly special casing :(

Mattia Rizzolo mattia at mapreri.org
Sun Jun 14 10:22:14 UTC 2015


This is an automated email from the git hooks/post-receive script.

mapreri-guest pushed a commit to branch master
in repository misc.

commit d829f71b27185d2e2b3f527ac2d2dc26a1f094ca
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Sun Jun 14 12:21:57 2015 +0200

    clean-notes: special case the version 3.6e-1 to be outputted as git diffstr. Yeah, ugly special casing :(
---
 clean-notes | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/clean-notes b/clean-notes
index ef983df..ff1f66a 100755
--- a/clean-notes
+++ b/clean-notes
@@ -389,7 +389,10 @@ def write_out(notes):
         else:
             out += (str(pkg) + ":\n")
         try:
-            out += ("  version: " + str(values['version']) + "\n")
+            if str(values['version']) == '3.6e-1':
+                out += ("  version: !!str " + str(values['version']) + "\n")
+            else:
+                out += ("  version: " + str(values['version']) + "\n")
         except KeyError:
             pass
         if 'comments' in values:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list