[Blends-commit] [SCM] website branch, master, updated. 0823aaed069843c52a9d5862fdce9af4e0c77081

Andreas Tille tille at debian.org
Wed Jun 29 06:27:37 UTC 2016


The following commit has been merged in the master branch:
commit 0823aaed069843c52a9d5862fdce9af4e0c77081
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jun 29 08:26:13 2016 +0200

    Add field to distinguish GUI programs from command line tools based on debtags

diff --git a/misc/sql/0-missing-autopkgtest.sh b/misc/sql/0-missing-autopkgtest.sh
index 43d0b21..10620de 100755
--- a/misc/sql/0-missing-autopkgtest.sh
+++ b/misc/sql/0-missing-autopkgtest.sh
@@ -33,11 +33,12 @@ if ! psql $PORT $SERVICE -c "" 2>/dev/null ; then
 fi
 
 psql $SERVICE <<EOT
-SELECT source, vote, testsuite FROM (
-  SELECT source, vote, testsuite, row_number() OVER (PARTITION BY source ORDER BY vote DESC) FROM (
-    SELECT DISTINCT p.source, p.package, CASE WHEN pop.vote IS NULL THEN -1 ELSE pop.vote END AS vote, s.testsuite FROM packages p
+SELECT source, vote, testsuite, tags FROM (
+  SELECT source, vote, testsuite, tags, row_number() OVER (PARTITION BY source ORDER BY vote DESC) FROM (
+    SELECT DISTINCT p.source, p.package, CASE WHEN pop.vote IS NULL THEN -1 ELSE pop.vote END AS vote, s.testsuite, d.tags 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
+      LEFT OUTER JOIN (SELECT package, array_agg(tag) AS tags FROM debtags WHERE tag LIKE 'uitoolkit::%' OR tag LIKE '%x11%' GROUP BY package) d ON p.package = d.package
       WHERE p.package IN (
         SELECT package FROM blends_dependencies WHERE blend = '$1' AND task = '$2'
       )

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list