From 3632773a60cabff3c4c83e543da504ee305662a1 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 19 Aug 2016 20:40:42 +0000 Subject: reproducible debian: notes: go through the notes alphabetically, to ease eventual debugging Signed-off-by: Holger Levsen --- bin/reproducible_notes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') 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)) + -- cgit v1.2.3-70-g09d2