summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-03 14:57:47 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-03 14:57:47 +0100
commitd911df04a61b40383dfff0487582f5adca4fd90a (patch)
treeb2a74a41835e9011f50905840a377dcb767558ec
parentdb99f75854f53c32975f8431b5b70d825dc261f6 (diff)
downloadjenkins.debian.net-d911df04a61b40383dfff0487582f5adca4fd90a.tar.xz
use --nullvalue 0 and correct number of colors/columns
-rwxr-xr-xbin/reproducible_html_graphs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index ae74c54d..66899b97 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -192,7 +192,7 @@ FIELDS[4]="datum, packages_with_notes"
FIELDS[5]="datum, known_issues"
FIELDS[6]="datum, reproducible, unreproducible, FTBFS, other"
COLOR[0]=5
-COLOR[1]=8
+COLOR[1]=9
COLOR[2]=3
COLOR[3]=28
COLOR[4]=1
@@ -229,7 +229,7 @@ redo_png() {
sqlite3 -init ${INIT} -csv ${PACKAGES_DB} "SELECT ${FIELDS[$1]} from ${TABLE[$1]} ${WHERE_EXTRA} ORDER BY datum" >> ${TABLE[$1]}.csv
else
# FIXME: also generate this query for stretch and buster and beyond :)
- sqlite3 -init ${INIT} -csv ${PACKAGES_DB} "select s.datum,
+ sqlite3 -init ${INIT} --nullvalue 0 -csv ${PACKAGES_DB} "select s.datum,
s.reproducible as 'reproducible_sid',
COALESCE((SELECT e.reproducible FROM stats_pkg_state AS e where s.datum=e.datum and suite='experimental'),'') as 'reproducible_experimental',
s.unreproducible as 'unreproducible_sid',