[Pkg-mozext-commits] [ubiquity-extension] 04/08: Switch to distro-tracker.

Gabriele Giacone gg0-guest at moszumanska.debian.org
Wed Jul 30 00:24:15 UTC 2014


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

gg0-guest pushed a commit to branch master
in repository ubiquity-extension.

commit 8c6d4205fc1d8cd603aa58299df93b6074ee40e3
Author: Gabriele Giacone <1o5g4r8o at gmail.com>
Date:   Tue Jul 29 17:03:13 2014 +0200

    Switch to distro-tracker.
---
 debian/changelog   | 1 +
 debian/debian.html | 2 +-
 debian/debian.js   | 8 ++++----
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 156003e..26f2864 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 ubiquity-extension (0.6.4~pre20140729-1) UNRELEASED; urgency=medium
 
   * Hg snapshot.
+  * Switch PTS to new Package Tracker.
 
  -- Gabriele Giacone <1o5g4r8o at gmail.com>  Tue, 29 Jul 2014 16:53:16 +0200
 
diff --git a/debian/debian.html b/debian/debian.html
index 7795796..17908ed 100644
--- a/debian/debian.html
+++ b/debian/debian.html
@@ -15,7 +15,7 @@ href="http://labs.mozilla.com/2008/08/introducing-ubiquity/">Ubiquity</a>
 including <a href="http://www.debian.org">debian</a> specific commands such as
 <b>bts</b> or <b>pts</b> for searching in <a
 href="http://bugs.debian.org">bugs.debian.org</a> and <a
-href="http://packages.qa.debian.org">packages.qa.debian.org</a>.
+href="https://tracker.debian.org">tracker.debian.org</a>.
 </p>
 
 <p>
diff --git a/debian/debian.js b/debian/debian.js
index 88458f9..732cfd3 100644
--- a/debian/debian.js
+++ b/debian/debian.js
@@ -29,7 +29,7 @@ CmdUtils.CreateCommand({
     license: "GPL",
     arguments: [{role: 'object', nountype: noun_arb_text, label: 'package'}],
     help: "Searches Debian package tracking system.",
-    description: "Searches the Debian package tracking system at packages.qa.debian.org",
+    description: "Searches the Debian Package Tracker at tracker.debian.org",
     preview: function (pblock, args) {
         if (!args.object || args.object.text.length < 1) {
             pblock.innerHTML = this.help;
@@ -40,7 +40,7 @@ CmdUtils.CreateCommand({
     },
     execute: function (args) {
         var data = {package: args.object.text};
-        var url = CmdUtils.renderTemplate("http://packages.qa.debian.org/${package}", data);
+        var url = CmdUtils.renderTemplate("https://tracker.debian.org/pkg/${package}", data);
         Utils.openUrlInBrowser(url);
     }
 });
@@ -253,7 +253,7 @@ CmdUtils.CreateCommand({
     takes: {"the package name": noun_arb_text},
     modifiers: {},
     help: "Searches Debian package tracking system.",
-    description: "Searches the Debian package tracking system at packages.qa.debian.org",
+    description: "Searches the Debian Package Tracker at tracker.debian.org",
     preview: function(pblock, pkgname) {
         if (!pkgname || pkgname.text.length < 1) {
             pblock.innerHTML = this.help;
@@ -262,7 +262,7 @@ CmdUtils.CreateCommand({
         pblock.innerHTML = "Search debian package tracking system for: <b>" + pkgname.text + "</b>";
     },
     execute: function(pkgname) {
-        var url = "http://packages.qa.debian.org/{QUERY}";
+        var url = "https://tracker.debian.org/pkg/{QUERY}";
         var urlString = url.replace("{QUERY}", pkgname.text);
         Utils.openUrlInBrowser(urlString);
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/ubiquity-extension.git



More information about the Pkg-mozext-commits mailing list