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

Muri Nicanor <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <9ca29c65-2552-18c7-7668-4a437d32ced8__10827.8972482823$1500411444$gmane$org@immerda.ch>
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
0001-Replace-the-link-to-the-old-PTS-with-a-link-to-the-n.patch (text/x-patch, 1.6 KB)
From 3f2810af18e64ff3dfd66a6a0e43d314fd32da5f Mon Sep 17 00:00:00 2001
From: Muri Nicanor <[email protected]>
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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECiIhVsgFkju2pcJqB21zhtFtBy4FAllubdsACgkQB21zhtFt
By7kwBAAh5fpWi/PuwwmVOs5dns2xDUKNtGVoHsD+2aL6OU4bWO/SX9NTwFGoULz
GvKWrARJiyx+dYRNVYAlqfQTVErbPS1wbIsgh36VxG7GbWNe9MJD6CtVZJoZHNnh
Oj5cju9ecppX/KZOFqIV5WmQ+lBCVFINGmxdwwLRaljfidBvSY331F4yRZ0fZFMY
bHMpTghfJWlH94COcAiW2INWN4F9+GCMGiaiWxRv4FMX+STkQE/J0N2FIncSguWH
Z9aMZGUtszVLKL8Yrjig2mq3hPJU8veX0t5Mt7FhU9fEcB95r+idXtls9piJP+Xw
ORHhFUjvypqNPKDMQJNtUP2FMWSwOyRY5jLKAhGabMVy+ZVgHIRDoAOmi9Pu4Dmx
Cet/fzvuuS4l3VxSg4uZKKENOJ/uheh/0v7y1tji9zVljzH+5hHRkzgQ9RlWedMg
qo3cU0fruTt2NUWMyMZRECAXLnSvsUwjrJ4OOQpURQXr5ravmedyLQ8Nbvbsudtr
BNi+IFnWDe0TD8MhJC4GZs5M7vra1VT7odVDdzrHgb6X6JuarriVZGtsc/l66Knc
fWW8TXLaJSD//A5awJFEFU6YTnUeZ+8zjI3lXrDhCjP/0FJpHj5O8fDZleQQlZ/p
LNHcucHIl/5Q6r4lsGtxanHgep34bnAUtJL49hjNNYss9cSB2As=
=CQWw
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.