[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible debian: notes: go through the notes alphabetically, to ease eventual debugging

Holger Levsen holger at layer-acht.org
Fri Aug 19 21:02:55 UTC 2016


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

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 3632773a60cabff3c4c83e543da504ee305662a1
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Fri Aug 19 20:40:42 2016 +0000

    reproducible debian: notes: go through the notes alphabetically, to ease eventual debugging
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_notes.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_notes.py b/bin/reproducible_notes.py
index 5fc01d3..4d8b828 100755
--- a/bin/reproducible_notes.py
+++ b/bin/reproducible_notes.py
@@ -36,7 +36,7 @@ def load_notes():
     log.info("notes loaded. There are " + str(len(original)) +
              " packages listed")
     notes = {}
-    for pkg in original:
+    for pkg in sorted(original):
         assert isinstance(pkg, str)
         try:
             assert 'version' in original[pkg]
@@ -83,6 +83,7 @@ def load_notes():
                 pkg_details['issues'] = original[pkg]['issues'] if \
                     'issues' in original[pkg] else []
                 pkg_details['id'] = int(suite[0])
+                log.debug('adding %s => %s', pkg, pkg_details)
                 notes[pkg].append(pkg_details)
 
     log.info("notes checked. There are " + str(len(notes)) +

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list