From 622c77e88630baa46f1ff9cab243223f22fada1b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 19 Jul 2015 09:20:19 +0200 Subject: reproducible: pre-fill form with latest unreproducible or ftbfs result in unstable which has no note --- bin/reproducible_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 4d964a11..5db4a4d0 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -222,7 +222,7 @@ write_page_header() { write_page "
  • wiki
  • " write_page "" if [ "$1" = "$MAINVIEW" ] ; then - LATEST=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT s.name FROM results AS r JOIN sources AS s ON r.package_id = s.id WHERE r.status = 'unreproducible' order by build_date desc limit 1") + LATEST=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT s.name FROM results AS r JOIN sources AS s ON r.package_id = s.id WHERE r.status IN ('unreproducible', 'FTBFS') AND s.id NOT IN (SELECT package_id FROM notes) ORDER BY build_date DESC LIMIT 1") write_page "
    " write_page "https://reproducible.debian.net/" write_page "" -- cgit v1.2.3-70-g09d2