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

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


The following commit has been merged in the master branch:
commit abfdcd2041c68e8dc0e5c02c107d372e192ecdb5
Author: Andreas Tille <tille at debian.org>
Date:   Sun Jun 2 19:56:00 2013 +0200

    forget older releases than stable but allow experimental

diff --git a/misc/sql/gis-thermometer.sh b/misc/sql/gis-thermometer.sh
index 0f004ba..65ded8b 100755
--- a/misc/sql/gis-thermometer.sh
+++ b/misc/sql/gis-thermometer.sh
@@ -18,7 +18,9 @@ SELECT b.source,
  FROM (
   SELECT DISTINCT p.source FROM packages p
   JOIN blends_dependencies bd ON bd.package = p.package
-  WHERE bd.blend = '$1'
+  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
  ) 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