[Blends-commit] [SCM] website branch, master, updated. 91785d9e7374fb14af3c9fcd2d13b2665864b568

Andreas Tille tille at debian.org
Fri Dec 13 10:51:04 UTC 2013


The following commit has been merged in the master branch:
commit 91785d9e7374fb14af3c9fcd2d13b2665864b568
Author: Andreas Tille <tille at debian.org>
Date:   Fri Dec 13 11:55:25 2013 +0100

    Add binary package list created from source package

diff --git a/misc/sql/0-uncategorised.sh b/misc/sql/0-uncategorised.sh
index b82f704..7429f91 100755
--- a/misc/sql/0-uncategorised.sh
+++ b/misc/sql/0-uncategorised.sh
@@ -26,16 +26,21 @@ if psql -l 2>/dev/null | grep -qw udd ; then
 fi
 
 psql $SERVICE >$1.out <<EOT
-SELECT source FROM (
-  SELECT DISTINCT source, CASE WHEN b.package IS NULL THEN 0 ELSE 1 END AS is_in_task FROM packages p
-    LEFT JOIN blends_dependencies b ON p.package = b.package
-    WHERE maintainer_email = '$team'
-      AND release = 'sid'                                 -- restrict to packages in unstable for the moment
-      AND (b.dependency IS NULL OR b.dependency != 'i')
-      AND (b.blend      IS NULL OR b.blend = '$1')
-  ) tmp
-  GROUP BY source
-  HAVING MAX(is_in_task) = 0
+SELECT t.source, s.bin FROM (
+  SELECT source FROM (
+    SELECT DISTINCT source, CASE WHEN b.package IS NULL THEN 0 ELSE 1 END AS is_in_task FROM packages p
+      LEFT JOIN blends_dependencies b ON p.package = b.package
+      WHERE maintainer_email = '$team'
+        AND release = 'sid'                                 -- restrict to packages in unstable for the moment
+        AND (b.dependency IS NULL OR b.dependency != 'i')
+        AND (b.blend      IS NULL OR b.blend = '$1')
+        AND source != '$1'
+    ) tmp
+    GROUP BY source
+    HAVING MAX(is_in_task) = 0
+  ) t
+  JOIN sources s ON t.source = s.source
+  WHERE s.release = 'sid'
   ORDER BY source
   ;
 EOT

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list