summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-14 19:05:38 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-14 19:05:38 +0100
commite97329cee056fa5f502aa07a254314f6587a5997 (patch)
treeb1b54ab8a503e0de7faa913086ef8ba35feaf417
parent2d6d7b42c5020af98a4f5e96af528cd9cf384425 (diff)
downloadjenkins.debian.net-e97329cee056fa5f502aa07a254314f6587a5997.tar.xz
reproducible: sort no_notes by build_date
-rwxr-xr-xbin/reproducible_html_notes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index 827fa740..9d4771a0 100755
--- a/bin/reproducible_html_notes.py
+++ b/bin/reproducible_html_notes.py
@@ -376,7 +376,8 @@ def index_notes(notes, bugs):
def index_no_notes(notes, bugs):
log.debug('Building the index_no_notes page...')
all_pkgs = query_db('SELECT name FROM source_packages ' +
- 'WHERE status = "unreproducible" OR status = "FTBFS"')
+ 'WHERE status = "unreproducible" OR status = "FTBFS"' +
+ 'ORDER BY build_date DESC')
without_notes = [x[0] for x in all_pkgs if x[0] not in notes]
html = '\n<p>There are ' + str(len(without_notes)) + ' unreproducible ' \
+ 'packages without notes. These are the packages with failures ' \