summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-19 09:22:53 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-19 09:22:53 +0200
commit12e6503b04232b32e7a4aed869b54bfde628eb58 (patch)
tree0ccd8b596bd01cc43d9c2e06f4c8c5d7812643d2 /bin
parent622c77e88630baa46f1ff9cab243223f22fada1b (diff)
downloadjenkins.debian.net-12e6503b04232b32e7a4aed869b54bfde628eb58.tar.xz
reproducible: fixup 622c77e, limit to unstable for real
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 5db4a4d0..b37ff514 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -222,7 +222,7 @@ write_page_header() {
write_page "<li><a href=\"https://wiki.debian.org/ReproducibleBuilds\" target=\"_blank\">wiki</a></li>"
write_page "</ul>"
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 IN ('unreproducible', 'FTBFS') AND s.id NOT IN (SELECT package_id FROM notes) 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 r.suite = 'unstable' AND s.id NOT IN (SELECT package_id FROM notes) ORDER BY build_date DESC LIMIT 1")
write_page "<form onsubmit=\"location.href='https://reproducible.debian.net/' + document.getElementById('SrcPkg').value; return false;\">"
write_page "https://reproducible.debian.net/<input type=\"text\" id=\"SrcPkg\" value=\"$LATEST\"/>"
write_page "<input type=\"submit\" value=\"submit source package name\" />"