[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: fix bug that removed suite/arch nav for dashboard pages

Holger Levsen holger at layer-acht.org
Wed Aug 3 21:46:47 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 746c9d6e15711ba84fe2e326dbd162ef320d8516
Author: Valerie R Young <spectranaut at riseup.net>
Date:   Wed Aug 3 17:35:22 2016 -0400

    reproducible debian: fix bug that removed suite/arch nav for dashboard pages
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_common.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 81148cf..c912950 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -196,7 +196,7 @@ write_page_header() {
 	fi
 
 	# Create json for suite links (a list of objects)
-	suite_links="\"suite_list\": ["
+	suite_links="\"suite_nav\": { \"suite_list\": ["
 	comma=0
 	for s in $SUITES ; do
 		if [ "$s" = "$SUITE" ] ; then
@@ -212,10 +212,10 @@ write_page_header() {
 			comma=1
 		fi
 	done
-	suite_links+="]"
+	suite_links+="]}"
 
 	# Create json for arch links (a list of objects)
-	arch_links="\"arch_list\": ["
+	arch_links="\"arch_nav\": {\"arch_list\": ["
 	comma=0
 	for a in ${ARCHS} ; do
 		if [ "$a" = "$ARCH" ] ; then
@@ -231,7 +231,7 @@ write_page_header() {
 			comma=1
 		fi
 	done
-	arch_links+="]"
+	arch_links+="]}"
 
 	# finally, the completely formed JSON context
 	context=$(printf '{

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