summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-09 21:28:52 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-09 21:28:52 +0100
commit42cd2183dfaa48ba5bd0cd0fe50789de41818a7b (patch)
tree46dff025309bede5cc600a9bdb96fe986e6b4867 /bin
parentb7c485f4240ec7478e79a86f9bd0235bf5dbd331 (diff)
downloadjenkins.debian.net-42cd2183dfaa48ba5bd0cd0fe50789de41818a7b.tar.xz
reproducible: refactor, fix default suite links in main view
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_graphs.sh27
1 files changed, 17 insertions, 10 deletions
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index df943a03..adb1b797 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -450,12 +450,17 @@ create_main_stats_page() {
write_page " <a href=\"/$SUITE\"><img src=\"/userContent/$SUITE/${TABLE[0]}.png\" class=\"overview\" alt=\"$SUITE stats\"></a>"
done
write_page "</p><p>"
- # write meta tag graphs
- SUITE="sid" # shall become a loop once we test stretch
- for i in $(seq 1 ${#META_PKGSET[@]}) ; do
- PNG=${TABLE[6]}_${META_PKGSET[$i]}.png
- LABEL="Reproducibility status for packages in $SUITE/$ARCH from '${META_PKGSET[$i]}'"
- write_page "<a href=\"/$SUITE/$ARCH/index_pkg_sets.html#${META_PKGSET[$i]}\"><img src=\"/userContent/$SUITE/$ARCH/$PNG\" class=\"metaoverview\" alt=\"$LABEL\"></a>"
+ # write meta pkg graphs per suite
+ for SUITE in $SUITES ; do
+ if [ "$SUITE" = "experimental" ] ; then
+ # no pkg sets in experimental
+ continue
+ fi
+ for i in $(seq 1 ${#META_PKGSET[@]}) ; do
+ PNG=${TABLE[6]}_${META_PKGSET[$i]}.png
+ LABEL="Reproducibility status for packages in $SUITE/$ARCH from '${META_PKGSET[$i]}'"
+ write_page "<a href=\"/$SUITE/$ARCH/index_pkg_sets.html#${META_PKGSET[$i]}\"><img src=\"/userContent/$SUITE/$ARCH/$PNG\" class=\"metaoverview\" alt=\"$LABEL\"></a>"
+ done
done
write_page "</p><p>"
# write suite table
@@ -491,6 +496,7 @@ create_main_stats_page() {
#
# main
#
+SUITE="sid"
update_bug_stats
update_notes_stats
create_main_stats_page
@@ -498,10 +504,11 @@ for SUITE in $SUITES ; do
update_suite_stats
gather_suite_stats
create_suite_stats_page
- # no pkg sets in experimental
- if [ "$SUITE" != "experimental" ] ; then
- update_meta_pkg_stats
- create_pkg_sets_page
+ if [ "$SUITE" = "experimental" ] ; then
+ # no pkg sets in experimental
+ continue
fi
+ update_meta_pkg_stats
+ create_pkg_sets_page
done