]> git.deb.at Git - deb/packages.git/commitdiff
archive now supports xz compression
authorSimon Paillard <spaillard@debian.org>
Thu, 11 Aug 2011 18:33:42 +0000 (20:33 +0200)
committerSimon Paillard <spaillard@debian.org>
Thu, 11 Aug 2011 18:33:42 +0000 (20:33 +0200)
http://lists.debian.org/debian-devel-announce/2011/08/msg00001.html

templates/html/show.tmpl

index 8fc9143544a924066c7cb38dff5d0a80287353b9..8b4a6e26389ce9d259a91a4dca22082a3ebbc40c 100644 (file)
 
 [% IF patch_tracking_url && src %]
   [% FOREACH src.downloads %]
-    [% IF name.match('\.(debian\.tar|diff)\.(gz|bz2|lzma)$') %]
+    [% IF name.match('\.(debian\.tar|diff)\.(gz|xz|bz2|lzma)$') %]
     <li><a href="[% "$patch_tracking_url/$src.pkg/$src.version" %]">[% g("%s Patch Tracker", organisation) %]</a></li>
     [% END -%]
   [% END -%]
 [% ELSIF patch_tracking_url && is_source %]
   [% FOREACH srcfiles %]
-    [% IF filename.match('\.(debian\.tar|diff)\.(gz|bz2|lzma)$') %]
+    [% IF filename.match('\.(debian\.tar|diff)\.(gz|xz|bz2|lzma)$') %]
     <li><a href="[% "$patch_tracking_url/$pkg/$version" %]">[% g("%s Patch Tracker", organisation) %]</a></li>
     [% END -%]
   [% END -%]