From 5de33e2cf6dde51b401d9a9f675dec01312b9247 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 3 Mar 2015 00:21:42 +0100 Subject: reproducible: add arch independent suite views --- bin/reproducible_common.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 4bba38d1..b809720c 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -78,6 +78,7 @@ init_html() { 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 repo_stats stats" GLOBALVIEWS="issues notes no_notes pkg_sets repo_stats stats" + SUITEVIEWS="dd-list suite_stats" SPOKENTARGET["issues"]="issues" SPOKENTARGET["notes"]="packages with notes" SPOKENTARGET["no_notes"]="packages without notes" @@ -156,12 +157,17 @@ write_page_header() { done for TARGET in $ALLVIEWS ; do SPOKEN_TARGET=${SPOKENTARGET[$TARGET]} - BASEURL="/$SUITE" + BASEURL="/$SUITE/$ARCH" for i in $GLOBALVIEWS ; do if [ "$TARGET" = "$i" ] ; then BASEURL="" fi done + for i in ${SUITEVIEWS} ; do + if [ "$TARGET" = "$i" ] ; then + BASEURL="/$SUITE" + fi + done if [ "$TARGET" = "pkg_sets" ] && [ "$SUITE" = "experimental" ] ; then # no pkg_sets are tested in experimental continue -- cgit v1.2.3-70-g09d2