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

Andreas Tille tille at debian.org
Tue Sep 29 08:53:25 UTC 2015


The following commit has been merged in the master branch:
commit da9499b05bdd6e19dbeb95ef9c22518cce81a811
Author: Andreas Tille <tille at debian.org>
Date:   Tue Sep 29 10:53:03 2015 +0200

    Fix backports in thermometer

diff --git a/misc/sql/gis-thermometer.sh b/misc/sql/gis-thermometer.sh
index 0b38ac3..f37eb55 100755
--- a/misc/sql/gis-thermometer.sh
+++ b/misc/sql/gis-thermometer.sh
@@ -134,7 +134,7 @@ SELECT b.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 releases r ON p.release = r.release || '-backports'
     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
diff --git a/webtools/thermometer.py b/webtools/thermometer.py
index cbb539f..76ba1f0 100755
--- a/webtools/thermometer.py
+++ b/webtools/thermometer.py
@@ -234,7 +234,7 @@ def main():
      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 releases r ON p.release = r.release || '-backports'
         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

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list