From b516de2c1b9f3a9bdb5adb434f0714b788fc68f4 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 9 Oct 2014 16:30:23 +0200 Subject: reproducible: refactor, add links to state views in index pages --- bin/reproducible_stats.sh | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh index 6bc68acf..46ddbf94 100755 --- a/bin/reproducible_stats.sh +++ b/bin/reproducible_stats.sh @@ -27,6 +27,8 @@ LAST24="AND build_date > datetime('now', '-24 hours') " LAST48="AND build_date > datetime('now', '-48 hours') " SUITE=sid AMOUNT=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT amount FROM source_stats WHERE suite = \"$SUITE\"" | xargs echo) +#ALLSTATES="reproducible FTBR FTBR_with_buildinfo FTBFS 404 not_for_us blacklisted" +ALLSTATES="reproducible FTBR FTBFS 404 not_for_us blacklisted" GOOD["all"]=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT name FROM source_packages WHERE status = \"reproducible\" ORDER BY build_date DESC" | xargs echo) GOOD["last_24h"]=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT name FROM source_packages WHERE status = \"reproducible\" $LAST24 ORDER BY build_date DESC" | xargs echo) GOOD["last_48h"]=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT name FROM source_packages WHERE status = \"reproducible\" $LAST48 ORDER BY build_date DESC" | xargs echo) @@ -64,6 +66,14 @@ SPOKENTARGET["last_48h"]="packages tested in the last 48h" SPOKENTARGET["all_abc"]="all tested packages (sorted alphabetically)" SPOKENTARGET["dd-list"]="maintainers of unreproducible packages" SPOKENTARGET["notes"]="packages with notes" +SPOKENTARGET["reproducible"]="packages which built reproducibly" +SPOKENTARGET["FTBR"]="packages which failed to build reproducibly" +#SPOKENTARGET["FTBR_with_buildinfo"]="packages which failed to build reproducibly and have a .buildinfo file" +SPOKENTARGET["FTBFS"]="packages which fail to build from source" +SPOKENTARGET["404"]="packages where the sources failed to downloaded" +SPOKENTARGET["not_for_us"]="packages which should not be build on 'amd64'" +SPOKENTARGET["blacklisted"]="packages which have been blacklisted" + # # gather notes @@ -391,6 +401,12 @@ write_summary_header() { fi write_summary "

" write_summary "