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

Bug#756397: Link to the new tracker: new patch




On 07/19/2017 02:54 AM, Paul Wise wrote:
> On Wed, Jul 19, 2017 at 6:21 AM, Muri Nicanor wrote:
> 
>> attached a new patch which is based on sylvestre's patch from three
>> years ago, but replaces the old links.
> 
> The wording change is a bit suboptimal, I would suggest sticking with
> "Developer Information".
> 
> If pts_url is no longer used, it should be removed also.

Done, updated patch is attached. Not sure about "Developer Information"
though, the tracker gives information about packages, not about
developers, imo

cheers,
muri

From 067fae3263596d4b2384bce310f9058ff78cbe05 Mon Sep 17 00:00:00 2001
From: Muri Nicanor <muri@immerda.ch>
Date: Wed, 19 Jul 2017 15:03:02 +0200
Subject: [PATCH] Replace the link to the old PTS with a link to the new
 tracker on tracker.debian.org.

---
 templates/config.tmpl    | 2 +-
 templates/html/show.tmpl | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/templates/config.tmpl b/templates/config.tmpl
index 3f64edf..b28642a 100644
--- a/templates/config.tmpl
+++ b/templates/config.tmpl
@@ -12,7 +12,7 @@
    search_url = '/search'
    tags_url = 'http://debtags.alioth.debian.org/'
    bugs_url = 'https://bugs.debian.org/'
-   pts_url = 'https://packages.qa.debian.org/'
+   tracker_url = 'https://tracker.debian.org/'
    ddpo_url = 'https://qa.debian.org/developer.php?login='
    src_bugs_url = bugs_url _ 'src:'
    mirror_url = 'http://ftp.debian.org/'
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index 31cfce8..f27efbe 100644
--- a/templates/html/show.tmpl
+++ b/templates/html/show.tmpl
@@ -73,9 +73,9 @@
 <li><a href="[% (is_source ? src_bugs_url : bugs_url) _ pkg %]">[% g('Bug Reports') %]</a></li>
 
 [% IF src.pkg -%]
-<li><a href="[% pts_url _ src.pkg %]">[% g('Developer Information (PTS)') %]</a></li>
+<li><a href="[% tracker_url _ src.pkg %]">[% g('Developer Information') %]</a></li>
 [% ELSIF is_source %]
-<li><a href="[% pts_url _ pkg %]">[% g('Developer Information (PTS)') %]</a></li>
+<li><a href="[% tracker_url _ pkg %]">[% g('Developer Information') %]</a></li>
 [%- END %]
 
 [% IF files && (!archive or archive == main_archive or archive == 'security') %]
-- 
2.13.2

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: