From e18d579e04e4c8d1d491bd1abcdde6b090547010 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 14 Mar 2015 18:18:34 +0100 Subject: reproducible: add 'amount of issues in packages' --- bin/reproducible_html_graphs.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 57144dcb..6925617d 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -137,6 +137,7 @@ update_notes_stats() { fi NOTES=$(grep -c -v "^ " ${NOTES_GIT_PATH}/packages.yml) ISSUES=$(grep -c -v "^ " ${NOTES_GIT_PATH}/issues.yml) + COUNT_ISSUES=$(grep " -" ${NOTES_GIT_PATH}/packages.yml | egrep -v " - [0-9]+"|wc -l) RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT datum from ${TABLE[4]} WHERE datum = \"$DATE\"") if [ -z $RESULT ] ; then echo "Updating notes stats for $DATE." @@ -510,6 +511,7 @@ create_main_stats_page() { # write inventory table write_page "" write_page "" + write_page "" write_page "" write_page "
inventory typeamount
packages with notes$NOTES
amount of issues in packages$COUNT_ISSUES
issues categorized$ISSUES
" # other graphs -- cgit v1.2.3-70-g09d2