From 6f170066d98b7ce4ecce4cb96e4ca64eb8182a2c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 3 Jun 2015 13:30:14 +0200 Subject: reproducible: remove debugging code --- bin/reproducible_html_graphs.sh | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'bin/reproducible_html_graphs.sh') diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index d13fe9fd..d717d870 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -534,7 +534,6 @@ create_pkg_sets_pages() { # create main stats page # create_main_stats_page() { - set -x VIEW=stats PAGE=index_${VIEW}.html echo "$(date) - starting to write $PAGE page." @@ -543,9 +542,7 @@ create_main_stats_page() { write_page "

" write_page "" for SUITE in $SUITES ; do - set +x gather_suite_stats - set -x write_page "" write_page "" SUITE="unstable" - set +x gather_suite_stats - set -x RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT COUNT(*) FROM (SELECT s.id FROM sources AS s JOIN results AS r ON r.package_id=s.id WHERE r.status IN ('unreproducible', 'FTBFS', 'blacklisted') AND s.id NOT IN (SELECT package_id FROM notes) AND s.suite='$SUITE' AND s.architecture='$ARCH')") write_page "" @@ -599,11 +594,9 @@ create_main_stats_page() { for i in 3 7 4 5 ; do write_page " \"${MAINLABEL[$i]}\"" # redo pngs once a day - set +x if [ ! -f $BASE/${TABLE[$i]}.png ] || [ ! -z $(find $BASE -maxdepth 1 -mtime +0 -name ${TABLE[$i]}.png) ] ; then create_png_from_table $i ${TABLE[$i]}.png fi - set -x done # explain setup write_page "

" @@ -629,11 +622,9 @@ create_main_stats_page() { write_page "

" write_page " \"${MAINLABEL[$i]}\"" # redo png once a day - set +x if [ ! -f $BASE/${TABLE[1]}.png ] || [ ! -z $(find $BASE -maxdepth 1 -mtime +0 -name ${TABLE[1]}.png) ] ; then create_png_from_table 1 ${TABLE[1]}.png fi - set -x # write suite builds age graphs write_page "

" for SUITE in $SUITES ; do @@ -663,7 +654,6 @@ create_main_stats_page() { write_page "

" write_page "
There are some problems in this setup too. And there is documentation too, in case you missed the link at the top. More feedback is always welcome!

" # the end - set +x write_page_footer publish_page } -- cgit v1.2.3-70-g09d2
suiteall sources packagesreproducible packagesunreproducible packagespackages failing to buildother packages
$SUITE$AMOUNT" if [ $(echo $PERCENT_TOTAL/1|bc) -lt 98 ] ; then write_page "($PERCENT_TOTAL% tested)" @@ -578,9 +575,7 @@ create_main_stats_page() { write_page "
total number of identified issues in packages$COUNT_ISSUES
packages with notes about these issues$NOTES
packages in $SUITE with issues but without identified ones$RESULT / $(echo "scale=1 ; ($RESULT*100/$COUNT_TOTAL)" | bc)%