[Blends-commit] [SCM] website branch, master, updated. 51a0f0f7451f57905a2b8d3b96ce6092e81ac540
Andreas Tille
tille at debian.org
Wed May 18 12:00:16 UTC 2016
The following commit has been merged in the master branch:
commit 710a1fba50d7fb9e142b6e9b46871fb60a1569cb
Author: Andreas Tille <tille at debian.org>
Date: Wed May 18 13:47:19 2016 +0200
Table with binary packages and their according popcon votes
diff --git a/misc/sql/0-missing-autopkgtest.sh b/misc/sql/0-missing-autopkgtest.sh
index da06a5e..63bc62b 100755
--- a/misc/sql/0-missing-autopkgtest.sh
+++ b/misc/sql/0-missing-autopkgtest.sh
@@ -21,12 +21,13 @@ if ! psql $PORT $SERVICE -c "" 2>/dev/null ; then
fi
psql $SERVICE <<EOT
-SELECT DISTINCT source, release, testsuite FROM sources
- WHERE source IN (
- SELECT DISTINCT source FROM packages WHERE package IN (
+ SELECT DISTINCT p.source, p.package, pop.vote, s.testsuite FROM packages p
+ LEFT OUTER JOIN popcon pop ON p.package = pop.package
+ LEFT OUTER JOIN (SELECT source, testsuite FROM sources WHERE release = 'sid' ) s ON p.source = s.source
+ WHERE p.package IN (
SELECT package FROM blends_dependencies WHERE blend = '$1' AND task = '$2'
)
- ) AND release = 'sid'
+ AND p.release = 'sid'
ORDER BY source
;
EOT
@@ -34,3 +35,13 @@ EOT
exit 0
+psql $SERVICE <<EOT
+SELECT DISTINCT source, release, testsuite FROM sources
+ WHERE source IN (
+ SELECT DISTINCT source FROM packages WHERE package IN (
+ SELECT package FROM blends_dependencies WHERE blend = '$1' AND task = '$2'
+ )
+ ) AND release = 'sid'
+ ORDER BY source
+ ;
+EOT
--
Static and dynamic websites for Debian Pure Blends
More information about the Blends-commit
mailing list