From 3dd1c33a0cb1fe34630ab699c3bfae8ab6962af8 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 20 May 2016 17:00:55 +0200 Subject: reproducible debian: new page, 'variations tested', split off from dashboard --- bin/reproducible_common.py | 1 + bin/reproducible_common.sh | 7 ++++--- bin/reproducible_html_dashboard.sh | 21 ++++++++++++++++++--- 3 files changed, 23 insertions(+), 6 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py index 829c7259..ac941bb6 100755 --- a/bin/reproducible_common.py +++ b/bin/reproducible_common.py @@ -220,6 +220,7 @@ html_head_page = Template((tab*2).join(("""
  • repositories overview
  • ⚑ packages with enabled notifications
  • performance stats
  • +
  • variations tested
  • $project_links diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 65cc9883..c787b824 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -186,8 +186,8 @@ write_page_header() { rm -f $PAGE MAINVIEW="dashboard" ALLSTATES="reproducible FTBR FTBFS depwait not_for_us 404 blacklisted" - ALLVIEWS="notes no_notes pkg_sets last_24h last_48h all_abc arch scheduled suite_stats dd-list dashboard issues repositories notify performance" - GLOBALVIEWS="issues scheduled notify repositories dashboard performance" + ALLVIEWS="notes no_notes pkg_sets last_24h last_48h all_abc arch scheduled suite_stats dd-list dashboard issues repositories notify performance variations" + GLOBALVIEWS="issues scheduled notify repositories dashboard performance variations" SUITEVIEWS="dd-list suite_stats" SPOKENTARGET["issues"]="issues" SPOKENTARGET["notes"]="packages with notes" @@ -203,6 +203,7 @@ write_page_header() { SPOKENTARGET["repositories"]="repositories overview" SPOKENTARGET["dashboard"]="Debian dashboard" SPOKENTARGET["performance"]="performance stats" + SPOKENTARGET["variations"]="variations tested" write_page "" write_page "" write_page "" @@ -282,7 +283,7 @@ write_page_header() { write_page "" elif [ "$TARGET" = "last_48h" ] ; then write_page "" - elif [ "$TARGET" = "performance" ] ; then + elif [ "$TARGET" = "variations" ] ; then write_page "" elif [ "$TARGET" = "scheduled" ] ; then write_page "" diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh index 43c8b39c..b3c01394 100755 --- a/bin/reproducible_html_dashboard.sh +++ b/bin/reproducible_html_dashboard.sh @@ -551,8 +551,6 @@ create_dashboard_page() { fi done write_page "

    " - # explain setup - write_variation_table debian # link to index_breakages write_page "

    " write_page "
    There are some problems in this test setup itself too. And there is documentation too, in case you missed the link at the top. Feedback is very much appreciated.

    " @@ -594,6 +592,22 @@ create_performance_page() { publish_page } +# +# create variations page +# +create_variations_page() { + VIEW=variations + PAGE=index_${VIEW}.html + echo "$(date -u) - starting to write $PAGE page." + write_page_header $VIEW "Variations introduced when testing Debian packages" + # explain setup + write_variation_table debian + write_page "

    " + write_page "

    " + write_page_footer + publish_page +} + # # main # @@ -609,6 +623,7 @@ for ARCH in ${ARCHS} ; do done ARCH="amd64" SUITE="unstable" -create_dashboard_page create_performance_page +create_variations_page +create_dashboard_page rm -f $DUMMY_FILE >/dev/null -- cgit v1.2.3-70-g09d2