[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#624717: www.debian.org: useless revision attribute should be removed



Package: www.debian.org
Severity: wishlist
Tags: patch

on devel/website/stats/*lang*
translations' link [V] and [F] use useless original's revision
eg: latest original revision of distrib/netinst is 1.23.
    [V] and [F] have ...&revision=1.23
attached patch removes revision attribute so they will point HEAD revision instead :-)

-- 
victory
--- stattrans_orig.pl	2011-03-20 06:07:53 +0900
+++ stattrans.pl	2011-05-01 05:34:24 +0900
@@ -395,8 +395,8 @@
                                            $file, $transversion{"$lang/$file"}, $version{"$orig/$file"}, $seconddifftype, $transversion{"$lang/$file"}, $version{"$orig/$file"};
 		    }
                     $o_body .= sprintf "<td><a href=\"http://alioth.debian.org/scm/viewvc.php/webwml/$orig/%s?root=webwml#rev%s\";>[L]</a></td>", $file, $version{"$orig/$file"};
-                    $o_body .= sprintf "<td><a href=\"http://alioth.debian.org/scm/viewvc.php/webwml/%s/%s?root=webwml\&amp;view=markup\&amp;revision=%s\";>[V]</a>\&nbsp;", $lang, $file, $version{"$orig/$file"};
-                    $o_body .= sprintf "<a href=\"http://alioth.debian.org/scm/viewvc.php/*checkout*/webwml/%s/%s?root=webwml\&amp;revision=%s\";>[F]</a></td>", $lang, $file, $version{"$orig/$file"};
+                    $o_body .= sprintf "<td><a href=\"http://alioth.debian.org/scm/viewvc.php/webwml/%s/%s?root=webwml\&amp;view=markup\";>[V]</a>\&nbsp;", $lang, $file;
+                    $o_body .= sprintf "<a href=\"http://alioth.debian.org/scm/viewvc.php/*checkout*/webwml/%s/%s?root=webwml\";>[F]</a></td>", $lang, $file;
                     $o_body .= sprintf "<td align=center>%s</td>", $maintainer{"$lang/$file"} || "";
                     $o_body .= "</tr>\n";
                     $outdated{$lang}++;

Reply to: