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

Bug#756834: use https://tracker.d.o links to point to source packages



Package: how-can-i-help
Version: 6
Severity: minor
Tags: patch

Given tracker.d.o is on its way to replace the old PTS interface, it would be
nice for how-can-i-help to use the new adress scheme.

The attached patch should implement this,
Cheers.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages how-can-i-help depends on:
ii  ruby         1:2.1.0.1
ii  ruby-debian  0.3.8+b4
ii  ruby-json    1.8.1-1+b1

how-can-i-help recommends no packages.

how-can-i-help suggests no packages.

-- no debconf information
>From 850bbb372c8cb2be194f7ddf571441bef81a721f Mon Sep 17 00:00:00 2001
From: Stefano Zacchiroli <zack@debian.org>
Date: Sat, 2 Aug 2014 12:26:55 +0200
Subject: [PATCH] use https://tracker.d.o links to point to source packages

---
 bin/how-can-i-help | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/how-can-i-help b/bin/how-can-i-help
index a3ad7b9..28b0497 100755
--- a/bin/how-can-i-help
+++ b/bin/how-can-i-help
@@ -229,7 +229,7 @@ end
 if notesting.length > 0
   puts $old ? 'Packages removed from Debian \'testing\' (the maintainer might need help):' : 'New packages removed from Debian \'testing\' (the maintainer might need help):'
   notesting.sort { |a, b| a['source'] <=> b['source'] }.each do |r|
-    puts " - #{r['package']} - https://packages.qa.debian.org/#{r['source']}"
+    puts " - #{r['package']} - https://tracker.debian.org/pkg/#{r['source']}"
   end
   puts
 end
@@ -245,7 +245,7 @@ if autoremoval.length > 0
     else
       bugs = " (bug: #{bugs[0]})"
     end
-    puts " - #{r['source']} - https://packages.qa.debian.org/#{r['source']} - removal on #{Time.at(r['removal_time']).to_date.to_s}#{bugs}"
+    puts " - #{r['source']} - https://tracker.debian.org/pkg/#{r['source']} - removal on #{Time.at(r['removal_time']).to_date.to_s}#{bugs}"
   end
   puts
 end
-- 
2.0.1


Reply to: