From 762d062c14c193e8d251f0032af104de6c65d6bb Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 23 May 2015 21:35:13 +0200 Subject: reproducible: fix count for number of packages with unidentied issues and provide link to index_no_notes.html --- bin/reproducible_html_graphs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 45bc70dc..8ef32740 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -558,7 +558,8 @@ create_main_stats_page() { write_page "total amount of identified issues in packages$COUNT_ISSUES" SUITE="unstable" gather_suite_stats - write_page "packages in $SUITE with issues but without any identified one$(echo $COUNT_BAD + $COUNT_UGLY - $NOTES|bc)" + RESULT=$(sqlite3 -init ${INIT} -csv ${PACKAGES_DB} "SELECT COUNT(*) FROM (SELECT s.id FROM sources AS s JOIN results AS r ON r.package_id=s.id WHERE r.status IN ('unreproducible', 'FTBFS', 'blacklisted') AND s.id NOT IN (SELECT package_id FROM notes) AND s.suite='$SUITE' AND s.architecture='$ARCH')") + write_page "packages in $SUITE with issues but without identified ones$RESULT" write_page "packages in $SUITE which need to be fixed$(echo $COUNT_BAD + $COUNT_UGLY |bc) / $(echo $PERCENT_BAD + $PERCENT_UGLY|bc)%" if [ -f ${NOTES_GIT_PATH}/packages.yml ] && [ -f ${NOTES_GIT_PATH}/issues.yml ] ; then write_page "committers to notes.git in total$(cd ${NOTES_GIT_PATH} ; git log |grep Author|sort -u |wc -l)" -- cgit v1.2.3-70-g09d2