summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2016-08-19 20:40:42 +0000
committerHolger Levsen <holger@layer-acht.org>2016-08-19 23:02:52 +0200
commit3632773a60cabff3c4c83e543da504ee305662a1 (patch)
tree9cc9730e44f78148a62dabbb00218ae4ba998643 /bin
parentffb73386a70ad8309f7e6c736cf84803667368c2 (diff)
downloadjenkins.debian.net-3632773a60cabff3c4c83e543da504ee305662a1.tar.xz
reproducible debian: notes: go through the notes alphabetically, to ease eventual debugging
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_notes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_notes.py b/bin/reproducible_notes.py
index 5fc01d34..4d8b8284 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)) +