diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-03 00:31:36 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-03 00:31:36 +0100 |
commit | 59e1df3614d2203e93d38e0bdca6f7af4ad3ca30 (patch) | |
tree | 4340d2cbdcd4c26c54a74a6e71a97aa98734f6ed | |
parent | 5de33e2cf6dde51b401d9a9f675dec01312b9247 (diff) | |
download | jenkins.debian.net-59e1df3614d2203e93d38e0bdca6f7af4ad3ca30.tar.xz |
reproducible: create suite specific pkg set index pages
-rwxr-xr-x | bin/reproducible_common.sh | 10 | ||||
-rwxr-xr-x | bin/reproducible_html_graphs.sh | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index b809720c..3c9e25c2 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -77,7 +77,7 @@ init_html() { 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 repo_stats stats" - GLOBALVIEWS="issues notes no_notes pkg_sets repo_stats stats" + GLOBALVIEWS="issues notes no_notes repo_stats stats" SUITEVIEWS="dd-list suite_stats" SPOKENTARGET["issues"]="issues" SPOKENTARGET["notes"]="packages with notes" @@ -156,6 +156,10 @@ write_page_header() { write_page "</li>" done for TARGET in $ALLVIEWS ; do + if [ "$TARGET" = "pkg_sets" ] && [ "$SUITE" = "experimental" ] ; then + # no pkg_sets are tested in experimental + continue + fi SPOKEN_TARGET=${SPOKENTARGET[$TARGET]} BASEURL="/$SUITE/$ARCH" for i in $GLOBALVIEWS ; do @@ -168,10 +172,6 @@ write_page_header() { BASEURL="/$SUITE" fi done - if [ "$TARGET" = "pkg_sets" ] && [ "$SUITE" = "experimental" ] ; then - # no pkg_sets are tested in experimental - continue - fi write_page "<li><a href=\"$BASEURL/index_${TARGET}.html\">${SPOKEN_TARGET}</a></li>" if [ "$TARGET" = "suite_stats" ] ; then for i in $SUITES ; do diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 90f80cba..57127709 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -364,7 +364,7 @@ for i in $(seq 1 ${#META_PKGSET[@]}) ; do write_page_meta_sign done write_page_footer -publish_page +publish_page $SUITE if [ "$SUITE" != "sid" ] ; then # stop here if not called with no arguments... |