[Piuparts-commits] [piuparts] 01/02: piuparts-reports.py: Link to the new "Debian Package Tracker".

Holger Levsen holger at moszumanska.debian.org
Wed Feb 4 18:34:25 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit bba52fa048af8c0a7b19f183ab68d545171d9a73
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Feb 4 19:32:23 2015 +0100

    piuparts-reports.py: Link to the new "Debian Package Tracker".
    
    Link to tracker.debian.org instead to the old "Package Tracker System" (PTS).
---
 debian/changelog   | 2 ++
 htdocs/index.tpl   | 5 +++++
 piuparts-report.py | 9 ++++-----
 3 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 973292b..bd5c35d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,8 @@ piuparts (0.63) UNRELEASED; urgency=medium
   * piuparts.conf.piu-slave-1und1-01: merge changes from pejacevic config but
     replace amd64 with i386. 
   * crontab-master.in: update webpages every six hours. 
+  * piuparts-reports.py: Link to the new "Debian Package Tracker"
+    (tracker.debian.org) instead to the old "Package Tracker System" (PTS).
 
  -- Andreas Beckmann <anbe at debian.org>  Wed, 03 Dec 2014 20:36:30 +0100
 
diff --git a/htdocs/index.tpl b/htdocs/index.tpl
index 12caf6c..b3e7896 100644
--- a/htdocs/index.tpl
+++ b/htdocs/index.tpl
@@ -73,6 +73,11 @@
     </tr>
     <tr class="normalrow">
      <td class="contentcell2">
+      <b>2015-02-04</b> Link to the new <a href="https://tracker.debian.org">Debian Package Tracker</a> (tracker.debian.org) instead to the old <a href="https://packages.qa.debian.org">Package Tracker System</a> (PTS).
+     </td>
+    </tr>
+    <tr class="normalrow">
+     <td class="contentcell2">
       <b>2015-01-24</b> Another suite was added: <a href="https://piuparts.debian.org/jessie-rcmd">jessie-rcmd</a>, to test installations in jessie with --install-recommends.
      </td>
     </tr>
diff --git a/piuparts-report.py b/piuparts-report.py
index 390304b..dea452e 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -198,7 +198,7 @@ HTML_HEADER = """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
     </tr>
     <tr class="normalrow">
      <td class="contentcell">
-      <a href="http://packages.qa.debian.org" target="_blank">Package Tracking System</a>
+      <a href="https://tracker.debian.org" target="_blank">Debian Package Tracker (former: PTS)</a>
      </td>
     <tr class="normalrow">
      <td class="contentcell">
@@ -239,7 +239,7 @@ HTML_FOOTER = """
  <hr>
  <div id="footer">
   <div>
-   <a href="http://packages.qa.debian.org/piuparts" target="_blank">piuparts</a>
+   <a href="https://tracker.debian.org/piuparts" target="_blank">piuparts</a>
    is GPL2 <a href="https://packages.debian.org/changelogs/pool/main/p/piuparts/current/copyright" target="_blank">licenced</a>
    and was written by <a href="mailto:liw at iki.fi">Lars Wirzenius</a> and is now maintained by
    <a href="mailto:holger at layer-acht.org">Holger Levsen</a> and
@@ -368,7 +368,7 @@ $PACKAGE_LIST</ul>
 
 PKG_ERROR_TPL = \
 """<li>$RDEPS - <a href=\"$LOG\">$LOG</a>
-    (<a href=\"http://packages.qa.debian.org/$SDIR/$SPKG.html\" target=\"_blank\">PTS</a>)
+    (<a href=\"https://tracker.debian.org/pkg/$SPKG.html\" target=\"_blank\">PTS</a>)
     (<a href=\"https://bugs.debian.org/$PACKAGE?dist=unstable\" target=\"_blank\">BTS</a>)
 $BUG</li>
 """
@@ -1122,7 +1122,7 @@ class Section:
             sourcerows +=   "<tr class=\"normalrow\">" \
                           + "<td class=\"labelcell\">Source:</td>" \
                           + "<td class=\"contentcell2\">" \
-                            + "<a href=\"http://packages.qa.debian.org/%s\" target=\"_blank\">%s</a>" \
+                            + "<a href=\"https://tracker.debian.org/%s\" target=\"_blank\">%s</a>" \
                               % (source, html_protect(source)) \
                             + "</td>" \
                           + "<td class=\"labelcell\">piuparts summary:</td>" \
@@ -1598,7 +1598,6 @@ def update_tpl(basedir, section, problem, failures, logdict, ftpl, ptpl, pkgsdb)
                                 'PACKAGE': bin_pkg,
                                 'BUG': get_bug_text(log),
                                 'RDEPS': rdep_cnt,
-                                'SDIR':source_subdir(src_pkg),
                                 'SPKG':src_pkg,
                                    })
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list