r9013 - /scripts/qa/templates/by_category

tincho-guest at users.alioth.debian.org tincho-guest at users.alioth.debian.org
Thu Nov 8 08:36:35 UTC 2007


Author: tincho-guest
Date: Thu Nov  8 08:36:35 2007
New Revision: 9013

URL: http://svn.debian.org/wsvn/?sc=1&rev=9013
Log:
Add link to problematic watchfiles, and correctly escape them

Modified:
    scripts/qa/templates/by_category

Modified: scripts/qa/templates/by_category
URL: http://svn.debian.org/wsvn/scripts/qa/templates/by_category?rev=9013&op=diff
==============================================================================
--- scripts/qa/templates/by_category (original)
+++ scripts/qa/templates/by_category Thu Nov  8 08:36:35 2007
@@ -48,10 +48,11 @@
         >)</span>[% END #IF %]</a></td>
         <td>[% IF arch_ver %]<a href="http://packages.qa.debian.org/$pkg">$arch_ver</a>[% END #IF %]</td>
         <td>[% INCLUDE bts_link data=data pkg=pkg %]</td>
-        <td>[% IF data.watch.$pkg.upstream_unmangled %]<a
-            href="${data.watch.$pkg.upstream_url}"
-            >${data.watch.$pkg.upstream_unmangled}</a>[%
-        ELSE %]${data.watch.$pkg.error}[% END %]</td>
+        <td><a href="[% IF data.watch.$pkg.upstream_unmangled %][%
+            "${data.watch.$pkg.upstream_url}/debian/watch?op=file&rev=0&sc=0"
+            | html %][% ELSE %][% "$pkg" | format("$wsvn_url") %][% END %]">[%
+            data.watch.$pkg.upstream_unmangled || ${data.watch.$pkg.error}
+            %]</a></td>
     </tr>
 [% END #BLOCK package %]
 




More information about the Pkg-perl-cvs-commits mailing list