From 8224e5761ff79177e0daeff86043ea765bdcf5e9 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 22 May 2015 14:24:07 +0200 Subject: reproducible: add new row to overview page to show the oldest build result in unstable --- bin/reproducible_html_graphs.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index e7566f3d..e5bbac11 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -374,7 +374,7 @@ create_suite_stats_page() { VIEW=suite_stats PAGE=index_${VIEW}.html MAINLABEL[0]="Reproducibility status for packages in '$SUITE'" - MAINLABEL[2]="Age in days of oldest build in '$SUITE'" + MAINLABEL[2]="Age in days of oldest reproducible build result in '$SUITE'" echo "$(date) - starting to write $PAGE page." write_page_header $VIEW "Overview of reproducible builds for packages in $SUITE" if [ $(echo $PERCENT_TOTAL/1|bc) -lt 98 ] ; then @@ -563,6 +563,8 @@ create_main_stats_page() { write_page "committers to notes.git in total$(cd ${NOTES_GIT_PATH} ; git log |grep Author|sort -u |wc -l)" write_page "committers to notes.git in the last three months$(cd ${NOTES_GIT_PATH} ; git log --since="3 months ago"|grep Author|sort -u |wc -l)" fi + RESULT=$(sqlite3 -init ${INIT} -csv ${PACKAGES_DB} "SELECT CAST(max(oldest_reproducible, oldest_unreproducible, oldest_FTBFS) AS INTEGER) FROM ${TABLE[2]} WHERE suite='${SUITE}' AND datum='$DATE'") + write_page "oldest build result in $SUITE$RESULT days" write_page "" # other graphs write_page "

" @@ -581,11 +583,11 @@ create_main_stats_page() { done write_page "

" # write suite builds age graphs - write_page "

" + write_page "

" for SUITE in $SUITES ; do - write_page "

\"$SUITE" + write_page " \"age" done - write_page "

" + write_page "

" # link to index_breakages write_page "

There are some problems in this setup too.

" # the end -- cgit v1.2.3-70-g09d2