aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.be/6e705c50-2e25-43dd-9c06-90e436c2c636/bugs/725ae336-011b-4172-8247-d36677d8de48/values2
-rw-r--r--data/lib/otherButtons.js5
-rw-r--r--data/newUpstreamBug.json8
-rw-r--r--data/rhlib/rhbzpage.js8
-rw-r--r--lib/libbugzilla.js1
-rw-r--r--lib/main.js3
-rw-r--r--package.json2
-rw-r--r--update.rdf15
8 files changed, 32 insertions, 12 deletions
diff --git a/.be/6e705c50-2e25-43dd-9c06-90e436c2c636/bugs/725ae336-011b-4172-8247-d36677d8de48/values b/.be/6e705c50-2e25-43dd-9c06-90e436c2c636/bugs/725ae336-011b-4172-8247-d36677d8de48/values
index a26d560..5b1267f 100644
--- a/.be/6e705c50-2e25-43dd-9c06-90e436c2c636/bugs/725ae336-011b-4172-8247-d36677d8de48/values
+++ b/.be/6e705c50-2e25-43dd-9c06-90e436c2c636/bugs/725ae336-011b-4172-8247-d36677d8de48/values
@@ -26,7 +26,7 @@
- "status": "open",
+ "status": "fixed",
diff --git a/data/lib/otherButtons.js b/data/lib/otherButtons.js
index 80d9274..48d3505 100644
--- a/data/lib/otherButtons.js
+++ b/data/lib/otherButtons.js
@@ -150,11 +150,6 @@ function setBranding(things) {
.toString()
+ " none";
- // Remove "Bug" from the title of the bug page, so we have more space with
- // plenty of tabs
- var titleElem = document.getElementsByTagName("title")[0];
-
- titleElem.textContent = titleElem.textContent.slice(4);
var bodyTitleParent = document
.getElementById("summary_alias_container").parentNode;
var bodyTitleElem = bodyTitleParent.getElementsByTagName("b")[0];
diff --git a/data/newUpstreamBug.json b/data/newUpstreamBug.json
index f3aba73..9fe7883 100644
--- a/data/newUpstreamBug.json
+++ b/data/newUpstreamBug.json
@@ -26,5 +26,13 @@
{
"regexp": "empathy.*",
"addr": "https://bugzilla.gnome.org/enter_bug.cgi?product=empathy"
+ },
+ {
+ "regexp": "evolution.*",
+ "addr": "https://bugzilla.gnome.org/enter_bug.cgi?product=evolution"
+ },
+ {
+ "regexp": "gnome.*",
+ "addr": "https://bugzilla.gnome.org/enter_bug.cgi"
}
]
diff --git a/data/rhlib/rhbzpage.js b/data/rhlib/rhbzpage.js
index fc46d23..c1bca62 100644
--- a/data/rhlib/rhbzpage.js
+++ b/data/rhlib/rhbzpage.js
@@ -168,8 +168,11 @@ function sendBugUpstream(thgs) {
return;
}
if (localThings) {
+ myDebug('sendBugUpstream: creating new bug for component ' +
+ getComponent());
var admitMsg = "(originally filed as " + window.location.href + ")\n\n";
var urlStr = filterByRegexp(constantData.newUpstreamBug, getComponent());
+ myDebug('sendBugUpstream: urlStr = ' + urlStr);
if (!urlStr) {
return null;
}
@@ -337,7 +340,7 @@ function analyzeXorgLog(attachID, backMsg) {
*/
function addExternalBug() {
// that's a bad id, if there is a one. :)
- var inputBox = document.getElementById("inputbox");
+ var inputBox = document.getElementById("external_bug_id");
var externalBugID = 0;
var wholeURL = "";
@@ -438,8 +441,7 @@ function RHBZinit(things) {
// inheritance ... call superobject's constructor
var AbrtRE = new RegExp("^\\s*\\[abrt\\]");
var btSnippet = "";
- sendBugUpstream(things); // FIXME this is not a real call,
- // just initializing static variable
+ sendBugUpstream(things);
var chipMagicInterestingLine = "";
diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js
index bc94aff..bffa5e3 100644
--- a/lib/libbugzilla.js
+++ b/lib/libbugzilla.js
@@ -275,6 +275,7 @@ var openURLInNewTab = exports.openURLInNewTab = function openURLInNewTab(url) {
};
exports.createUpstreamBug = function createUpstreamBug(urlStr, subjectStr, commentStr) {
+ debug('createUpstreamBug: urlStr = ' + urlStr + ', subjectStr = ' + subjectStr);
var payload = JSON.stringify({
subject: subjectStr,
comment: commentStr
diff --git a/lib/main.js b/lib/main.js
index a1163db..8302272 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -162,5 +162,4 @@ contextMenu.Item({
require("sdk/clipboard").set(comment);
}
});
-//tabs.open("https://bugs.eclipse.org/bugs/show_bug.cgi?id=304933");
-//tabs.open("https://bugzilla.redhat.com/show_bug.cgi?id=348531");
+//tabs.open("https://bugzilla.redhat.com/show_bug.cgi?id=1033263");
diff --git a/package.json b/package.json
index 584048c..3932a76 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"description": "Additional buttons and other function helping in the triage on bugzilla",
"author": "Matej Cepl (http://matej.ceplovi.cz)",
"license": "MIT/X11 (http://opensource.org/licenses/mit-license.php) and MPL",
- "version": "1.8",
+ "version": "1.9",
"contributors": [
"Ehsan Akhgari (http://ehsanakhgari.org/) <ehsan@mozilla.com>",
"Johnathan Nightingale (http://johnath.com) <johnath@mozilla.com>",
diff --git a/update.rdf b/update.rdf
index 4e4f588..77ce0a6 100644
--- a/update.rdf
+++ b/update.rdf
@@ -412,6 +412,21 @@ xmlns:em="http://www.mozilla.org/2004/em-rdf#">
</em:targetApplication>
</Description>
</li>
+ <li>
+ <Description>
+ <em:version>1.9</em:version>
+ <em:targetApplication>
+ <Description>
+ <em:id>
+ {ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
+ <em:minVersion>21.0</em:minVersion>
+ <em:maxVersion>25.0a1</em:maxVersion>
+ <em:updateLink>
+ https://fedorahosted.org/released/bugzilla-triage-scripts/bugzilla-triage-1.9.xpi</em:updateLink>
+ </Description>
+ </em:targetApplication>
+ </Description>
+ </li>
</Seq>
</em:updates>
</Description>