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

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



hi,

i also think a link to the new package tracker should replace the link
to the old pts; especially since the old pts suggests to look at the new
tracker in big red letters ;)
attached a new patch which is based on sylvestre's patch from three
years ago, but replaces the old links.

cheers,
muri
From 3f2810af18e64ff3dfd66a6a0e43d314fd32da5f Mon Sep 17 00:00:00 2001
From: Muri Nicanor <muri@immerda.ch>
Date: Tue, 18 Jul 2017 22:02:35 +0200
Subject: [PATCH] Replace the link to the old PTS with a link to the new
 package tracker on tracker.debian.org

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

diff --git a/templates/config.tmpl b/templates/config.tmpl
index 3f64edf..5d3a6f6 100644
--- a/templates/config.tmpl
+++ b/templates/config.tmpl
@@ -13,6 +13,7 @@
    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..6ac383a 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('Package Tracker') %]</a></li>
 [% ELSIF is_source %]
-<li><a href="[% pts_url _ pkg %]">[% g('Developer Information (PTS)') %]</a></li>
+<li><a href="[% tracker_url _ pkg %]">[% g('Package Tracker') %]</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: