[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: refactor and sort notify before dd-list

Holger Levsen holger at moszumanska.debian.org
Mon Jun 1 19:02:18 UTC 2015


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 df3cc97e9c4e8e343a2985dfacfb986d0952826e
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Jun 1 21:02:09 2015 +0200

    reproducible: refactor and sort notify before dd-list
---
 bin/reproducible_common.py | 2 +-
 bin/reproducible_common.sh | 8 +++-----
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index b579180..21a4ada 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -213,8 +213,8 @@ def _gen_links(suite, arch):
         ('last_24h', '<li><a href="/{suite}/{arch}/index_last_24h.html">packages tested in the last 24h</a></li>'),
         ('last_48h', '<li><a href="/{suite}/{arch}/index_last_48h.html">packages tested in the last 48h</a></li>'),
         ('all_abc', '<li><a href="/{suite}/{arch}/index_all_abc.html">all tested packages (sorted alphabetically)</a></li>'),
-        ('dd-list', '<li><a href="/{suite}/index_dd-list.html">maintainers of unreproducible packages</a></li>'),
         ('notify', '<li><a href="/index_notify.html">⚑</a></li>'),
+        ('dd-list', '<li><a href="/{suite}/index_dd-list.html">maintainers of unreproducible packages</a></li>'),
         ('pkg_sets', '<li><a href="/{suite}/{arch}/index_pkg_sets.html">package sets stats</a></li>')
     ]
     html = ''
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 3abe9d6..20fc4a4 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -163,8 +163,8 @@ write_page_header() {
 	rm -f $PAGE
 	MAINVIEW="stats"
 	ALLSTATES="reproducible FTBR FTBFS 404 not_for_us blacklisted"
-	ALLVIEWS="issues notes no_notes scheduled last_24h last_48h all_abc dd-list pkg_sets suite_stats repositories stats"
-	GLOBALVIEWS="issues scheduled repositories stats"
+	ALLVIEWS="issues notes no_notes scheduled last_24h last_48h all_abc notify dd-list pkg_sets suite_stats repositories stats"
+	GLOBALVIEWS="issues scheduled notify repositories stats"
 	SUITEVIEWS="dd-list suite_stats"
 	SPOKENTARGET["issues"]="issues"
 	SPOKENTARGET["notes"]="packages with notes"
@@ -173,6 +173,7 @@ write_page_header() {
 	SPOKENTARGET["last_24h"]="packages tested in the last 24h"
 	SPOKENTARGET["last_48h"]="packages tested in the last 48h"
 	SPOKENTARGET["all_abc"]="all tested packages (sorted alphabetically)"
+	SPOKENTARGET["notify"]="⚑"
 	SPOKENTARGET["dd-list"]="maintainers of unreproducible packages"
 	SPOKENTARGET["pkg_sets"]="package sets"
 	SPOKENTARGET["suite_stats"]="suite: $SUITE"
@@ -227,9 +228,6 @@ write_page_header() {
 		else
 			write_page "<li><a href=\"$BASEURL/index_${TARGET}.html\">${SPOKEN_TARGET}</a></li>"
 		fi
-		if [ "$TARGET" = "dd-list" ] ; then
-			write_page "<li><a href=\"$BASEURL/index_notify.html\">⚑</a></li>"
-		fi
 	done
 	write_page "<li><a href=\"https://wiki.debian.org/ReproducibleBuilds\" target=\"_blank\">wiki</a></li>"
 	write_page "</ul>"

-- 
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