From bdedcf03659a56632047fdc75f60ccb024bd93a6 Mon Sep 17 00:00:00 2001
From: Holger Levsen
Date: Fri, 22 May 2015 13:13:55 +0200
Subject: reproducible: also ignore unreproducible results when graphing
build_age
---
bin/reproducible_html_graphs.sh | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index 8a69a85a..e7566f3d 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -304,8 +304,8 @@ create_png_from_table() {
(SELECT e.other FROM stats_builds_per_day e WHERE s.datum=e.datum AND suite='experimental') AS other_experimental
FROM stats_builds_per_day AS s GROUP BY s.datum" >> ${TABLE[$1]}.csv
elif [ $1 -eq 2 ] ; then
- # just make a graph of the oldest successful build (ignore FTBFS)
- sqlite3 -init ${INIT} -csv ${PACKAGES_DB} "SELECT datum, max(oldest_reproducible, oldest_unreproducible) FROM ${TABLE[$1]} ${WHERE_EXTRA} ORDER BY datum" >> ${TABLE[$1]}.csv
+ # just make a graph of the oldest reproducible build (ignore FTBFS and unreproducible)
+ sqlite3 -init ${INIT} -csv ${PACKAGES_DB} "SELECT datum, oldest_reproducible FROM ${TABLE[$1]} ${WHERE_EXTRA} ORDER BY datum" >> ${TABLE[$1]}.csv
elif [ $1 -eq 7 ] ; then
sqlite3 -init ${INIT} -csv ${PACKAGES_DB} "SELECT datum, $SUM_DONE, $SUM_OPEN from ${TABLE[3]} ORDER BY datum" >> ${TABLE[$1]}.csv
else
@@ -581,11 +581,11 @@ create_main_stats_page() {
done
write_page "
"
# write suite builds age graphs
- write_page ""
+ write_page "
"
for SUITE in $SUITES ; do
- write_page " "
+ write_page " | "
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