[Blends-commit] [SCM] website branch, master, updated. 4f52675e9f17585a5a15b0af4a5fb52ceea99cd7

Andreas Tille tille at debian.org
Mon Jun 3 14:15:16 UTC 2013


The following commit has been merged in the master branch:
commit 4f52675e9f17585a5a15b0af4a5fb52ceea99cd7
Author: Andreas Tille <tille at debian.org>
Date:   Mon Jun 3 16:17:40 2013 +0200

    Add packages in Ubuntu only and also prospective packages (as it is used in GIS Thermometer as well)

diff --git a/misc/sql/gis-thermometer.sh b/misc/sql/gis-thermometer.sh
index 1347f55..ed8481e 100755
--- a/misc/sql/gis-thermometer.sh
+++ b/misc/sql/gis-thermometer.sh
@@ -28,6 +28,14 @@ SELECT b.source,
   JOIN releases r ON p.release = r.release
   WHERE bd.blend = '$1' AND
         (r.sort >= (SELECT sort FROM releases WHERE role = 'stable') OR r.sort = 0) -- forget older releases than stable but allow experimental
+  UNION
+  SELECT DISTINCT u.source, u.homepage FROM ubuntu_packages u
+  JOIN blends_dependencies bd ON bd.package = u.package
+  WHERE bd.blend = '$1' AND bd.distribution = 'ubuntu'
+  UNION
+  SELECT DISTINCT pr.source, pr.homepage FROM blends_prospectivepackages pr
+  JOIN blends_dependencies bd ON bd.package = pr.package
+  WHERE bd.blend = '$1' AND bd.distribution = 'prospective'
  ) b
  LEFT OUTER JOIN (
   SELECT DISTINCT p.source, strip_binary_upload(MAX(s.version)) AS version

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list