[Blends-commit] [SCM] website branch, master, updated. 193d2867814d8a54c22082705237e67a214ed2cd

Andreas Tille tille at debian.org
Sun Jun 2 19:56:11 UTC 2013


The following commit has been merged in the master branch:
commit 7ffbdaf597a2c4de1d1e411ba2c6098cdf30216e
Author: Andreas Tille <tille at debian.org>
Date:   Sun Jun 2 20:07:35 2013 +0200

    Add column for experimental

diff --git a/misc/sql/gis-thermometer.sh b/misc/sql/gis-thermometer.sh
index 65ded8b..c9f33dd 100755
--- a/misc/sql/gis-thermometer.sh
+++ b/misc/sql/gis-thermometer.sh
@@ -13,6 +13,7 @@ SELECT b.source,
        stable.version AS stable,
        testing.version AS testing,
        unstable.version AS unstable,
+       experimental.version AS experimental,
        d.unstable_upstream AS upstream,
        d.unstable_status AS status
  FROM (
@@ -55,6 +56,17 @@ SELECT b.source,
     GROUP BY p.source
     ORDER BY p.source
   ) stable ON b.source = stable.source
+ LEFT OUTER JOIN (
+  SELECT DISTINCT p.source, strip_binary_upload(MAX(s.version)) AS version
+    FROM packages p
+    JOIN releases r ON p.release = r.release
+    JOIN blends_dependencies b ON b.package = p.package
+    -- make sure we get the right source version that does not necessarily match binary version
+    JOIN sources s ON p.source = s.source AND p.release = s.release
+    WHERE b.blend = '$1' AND r.role = 'experimental' AND p.distribution = 'debian'
+    GROUP BY p.source
+    ORDER BY p.source
+  ) experimental ON b.source = experimental.source
   LEFT OUTER JOIN dehs d ON b.source = d.source
   ORDER BY b.source
 ;

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list