Bug#545262: packages.debian.org: "Debian Patch Tracking" links broken
tags 545262 +patch
thanks
On Sun, Sep 06, 2009 at 12:17:11PM +0800, Paul Wise wrote:
> Package: www.debian.org
> Severity: normal
>
> patch-tracking.debian.net has moved to patch-tracker.debian.org:
> http://www.seanius.net/blog/2009/09/patch-tracker/
Sean, would it be possible to configure HTTP permanent redirections from
patch-tracking.debian.net to patch-tracker.debian.org ?
"Redirect permanent / http://patch-tracker.debian.org" with apache.
> Please update the URLs in the "Debian Patch Tracking" links.
>
> Also, I suggest changing the text to "Patch tracker".
Patch attached and commited.
(then need Frank to update the prod copy)
--
Simon Paillard
diff --git a/po/templates.pot b/po/templates.pot
index d0a3851..cfb51bd 100644
--- a/po/templates.pot
+++ b/po/templates.pot
@@ -811,7 +811,7 @@ msgstr ""
#: templates/html/show.tmpl:96
#: templates/html/show.tmpl:102
-msgid "%s Patch Tracking"
+msgid "%s Patch Tracker"
msgstr ""
#: templates/html/show.tmpl:110
diff --git a/templates/config.tmpl b/templates/config.tmpl
index 1792ac5..85c52f7 100644
--- a/templates/config.tmpl
+++ b/templates/config.tmpl
@@ -22,7 +22,7 @@
changelogs_url = 'http://packages.debian.org/changelogs/'
policy_url = 'http://www.debian.org/doc/debian-policy/'
cn_help_url = project_homepage _ 'intro/cn'
- patch_tracking_url = 'http://patch-tracking.debian.net/package'
+ patch_tracking_url = 'http://patch-tracker.debian.org/package'
logo = {
url => project_homepage,
src => '/Pics/openlogo-nd-25.png',
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index 936d3b4..37ea4bf 100644
--- a/templates/html/show.tmpl
+++ b/templates/html/show.tmpl
@@ -93,13 +93,13 @@
[% IF patch_tracking_url && src %]
[% FOREACH src.downloads %]
[% IF name.match('\.diff\.(gz|bz2|lzma)$') %]
- <li><a href="[% "$patch_tracking_url/$src.pkg/$src.version" %]">[% g("%s Patch Tracking", organisation) %]</a></li>
+ <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('\.diff\.(gz|bz2|lzma)$') %]
- <li><a href="[% "$patch_tracking_url/$pkg/$version" %]">[% g("%s Patch Tracking", organisation) %]</a></li>
+ <li><a href="[% "$patch_tracking_url/$pkg/$version" %]">[% g("%s Patch Tracker", organisation) %]</a></li>
[% END -%]
[% END -%]
[% END -%]
Reply to: