From d911df04a61b40383dfff0487582f5adca4fd90a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 3 Mar 2015 14:57:47 +0100 Subject: use --nullvalue 0 and correct number of colors/columns --- bin/reproducible_html_graphs.sh | 4 ++-- 1 file 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', -- cgit v1.2.3-70-g09d2