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

Andreas Tille tille at debian.org
Sun Jul 7 14:57:11 UTC 2013


The following commit has been merged in the master branch:
commit 54df4cfe9674b51ce5c8d339761309ea4e546ff7
Author: Andreas Tille <tille at debian.org>
Date:   Sun Jul 7 16:52:57 2013 +0200

    Detect vcs_browser for later use

diff --git a/misc/thermometer/thermometer.py b/misc/thermometer/thermometer.py
index 6fda768..a5c7adb 100755
--- a/misc/thermometer/thermometer.py
+++ b/misc/thermometer/thermometer.py
@@ -99,6 +99,7 @@ def main():
            homepage,
            wnpp,
            is_in_debian,
+           vcs.vcs_browser,
            CASE WHEN stable.version >= unstable.version THEN 'upToDate'
                 WHEN stable.version <  unstable.version THEN 'debianOutOfDate'
                 WHEN stable.version IS NOT NULL AND unstable.version IS NULL THEN 'obsolete'
@@ -222,6 +223,23 @@ def main():
        ) tmp
       ) unreleased ON b.source = unreleased.source
      LEFT OUTER JOIN (
+      SELECT DISTINCT source, vcs_browser FROM (
+       SELECT source, vcs_browser FROM (
+        SELECT DISTINCT p.source, s.vcs_browser, p.version
+         FROM packages p
+         JOIN blends_dependencies b ON b.package = p.package
+         JOIN sources s ON p.source = s.source
+         WHERE b.blend = $1
+         ORDER BY p.version
+        ) tmp1
+       UNION
+       SELECT DISTINCT pr.source, vcs_browser
+        FROM blends_dependencies b
+        JOIN blends_prospectivepackages pr ON b.package = pr.package
+        WHERE b.blend = $1
+       ) tmp
+      ) vcs ON b.source = vcs.source
+     LEFT OUTER JOIN (
       SELECT DISTINCT u.source, strip_binary_upload(MAX(s.version)) AS version
         FROM ubuntu_packages u
         JOIN blends_dependencies b ON b.package = u.package

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list