From a182039faddcfe558ab8578662c86d2f86f31bde Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 7 Mar 2016 11:33:06 +0100 Subject: reproducible debian: meld arch views somewhat closer together, show pkg sets in suite index pages --- bin/reproducible_html_dashboard.sh | 57 +++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 29 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh index a3a2a874..49614a93 100755 --- a/bin/reproducible_html_dashboard.sh +++ b/bin/reproducible_html_dashboard.sh @@ -288,7 +288,7 @@ write_usertag_table() { # write_build_performance_stats() { local ARCH - write_page "" + write_page "
Architecture statistics
" for ARCH in ${ARCHS} ; do write_page " " done @@ -344,18 +344,22 @@ write_build_performance_stats() { } # -# write suite table +# write suite/arch table # -write_suite_table() { +write_suite_arch_table() { + local SUITE="" + local ARCH="" write_page "

" write_page "

Architecture build statistics$ARCH
" for SUITE in $SUITES ; do - gather_suite_arch_stats - write_page "" + for ARCH in ${ARCHS} ; do + gather_suite_arch_stats + write_page "" + done done write_page "
suiteall sources packagesreproducible packagesunreproducible packagespackages failing to buildother packages
$SUITE/$ARCH$AMOUNT" - if [ $(echo $PERCENT_TOTAL/1|bc) -lt 99 ] ; then - write_page "($PERCENT_TOTAL% tested)" - fi - write_page "$COUNT_GOOD / $PERCENT_GOOD%$COUNT_BAD / $PERCENT_BAD%$COUNT_UGLY / $PERCENT_UGLY%$COUNT_OTHER / $PERCENT_OTHER%
$SUITE/$ARCH$AMOUNT" + if [ $(echo $PERCENT_TOTAL/1|bc) -lt 99 ] ; then + write_page "($PERCENT_TOTAL% tested)" + fi + write_page "$COUNT_GOOD / $PERCENT_GOOD%$COUNT_BAD / $PERCENT_BAD%$COUNT_UGLY / $PERCENT_UGLY%$COUNT_OTHER / $PERCENT_OTHER%
" write_page "

" @@ -416,6 +420,7 @@ create_suite_arch_stats_page() { fi done write_page "

" + write_meta_pkg_graphs_links write_page_footer publish_page $SUITE } @@ -439,13 +444,19 @@ create_dashboard_page() { PAGE=index_${VIEW}.html echo "$(date -u) - starting to write $PAGE page." write_page_header $VIEW "Overview of various statistics about reproducible builds" - write_suite_table + write_suite_arch_table # write suite graphs - for SUITE in $SUITES ; do - write_page " \"$SUITE/$ARCH" + for ARCH in ${ARCHS} ; do + for SUITE in $SUITES ; do + write_page " \"$SUITE/$ARCH" + done + if [ "$ARCH" = "amd64" ] ; then + write_meta_pkg_graphs_links + fi done write_page "

" - write_meta_pkg_graphs_links + SUITE="unstable" + ARCH="amd64" # write inventory table write_page "

" write_page "" @@ -506,29 +517,17 @@ create_dashboard_page() { write_page "

" # explain setup write_explaination_table debian - # redo arch specific pngs once a day + # redo arch specific pngs once a day and write build per day graphs + write_page "

" for ARCH in ${ARCHS} ; do + write_page " \"${MAINLABEL[1]}\"" if [ ! -f $BASE/${TABLE[1]}_$ARCH.png ] || [ $DUMMY_FILE -nt $BASE/${TABLE[1]}_$ARCH.png ] ; then create_png_from_table 1 ${TABLE[1]}_$ARCH.png fi done - # other archs: armhf - ARCH="armhf" - write_page "

" - write_suite_table - # write suite graphs - for SUITE in $SUITES ; do - write_page " \"$SUITE/$ARCH" - done - write_page "

" - write_meta_pkg_graphs_links - # write performance stats and build per day graphs + # write performance stats write_page "

" write_build_performance_stats - write_page "

" - for ARCH in ${ARCHS} ; do - write_page " \"${MAINLABEL[$i]}\"" - done # write suite builds age graphs write_page "

" for ARCH in ${ARCHS} ; do -- cgit v1.2.3-70-g09d2

Various reproducibility statisticssource basedamd64armhf
identified distinct and categorized issues$ISSUES