--- Begin Message ---
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\&view=markup\&revision=%s\">[V]</a>\ ", $lang, $file, $version{"$orig/$file"};
- $o_body .= sprintf "<a href=\"http://alioth.debian.org/scm/viewvc.php/*checkout*/webwml/%s/%s?root=webwml\&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\&view=markup\">[V]</a>\ ", $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}++;
--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
Le 30/04/2011 16:57, victory a écrit :
> on devel/website/stats/*lang*
> translations' link [V] and [F] use useless original's revision
Indeed, thanks for spotting it and for the patch, applied to
stattrans.pl revision: 1.103.
Cheers
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJNvHzhAAoJELgqIXr9/gnytN0QALGcSPnf4WShFCMiOjcbMWy/
3QCg9G+COJjD3khTRswv47RcpK3DPIcWFTc1WWXYdFPLWk45hhCYW5LHBwsj75NA
y3Lqnh2LWFQWvJcq0rPx/nh2lLk0O+uS1hpxRtbDh9TtShMZDrM3J2zhnzcwRHDn
7cI74uho3tVbp+zurie5PEPFx3hU4GkP/fqYbh6O6IVPjBuunLxBYi4uGyPmOpCN
g2yyXjw8HBvPQpcqBks45t02kB5MasfQOFgMSTxxVxmzlNM59uHCsEva1wzXHI0M
K9rkImJfqUkPM6z9NZlbx+UQ3nUMc+9G76/NnM+FEL24Ipb69Nj3F2pxznUd6BqJ
utGn+UszDsIvAkVJrr9/3X8JvYQpwxsqtAzxqo3+Xgy6iQzRHHEdDikdPONiLcxv
Ib+gqcFeL0BxHPFCDYbACh71jIoKQhJHCLlS8qyzG9gwtRZLtmZfnVXN4RrZtZG+
lBFf1RGVPPYFx59IgLN5ptwIQmuNmV+t3QUDHAgqkrLPUlzHPD2ABPGlhXx2elKn
vRrMANqzLuxDdUgLrqR26/DL3wqeToRy3U9Bedkjq5IEpLUK/VS38jhPXblHasu2
KZtAKqAVakhwwK9CmT+0DQhSoaLtFcNIrbfJrB3QJ1nQo/ofhefEQCClm677hXoF
CnNv3aJpTXXIkE12Vgkf
=9EE7
-----END PGP SIGNATURE-----
--- End Message ---