aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-02-22 14:28:27 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-02-22 14:28:27 +0100
commit8f0723afe4fd2bbffaeded79f6d0896ab817707e (patch)
tree5bbd5d39eaeb2fa1932a22250c8162f836dec2cf
parentfd3fe0f06944d4462e68c7ea8887e7b3b1f6bc04 (diff)
downloadbugzilla-triage-8f0723afe4fd2bbffaeded79f6d0896ab817707e.tar.gz
Add protection against superfluous running of fillIn magic
-rw-r--r--.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/values17
-rw-r--r--.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/bd5cef03-c389-4fab-8336-30a02ee97261/values18
-rw-r--r--.be/id-cache4
-rw-r--r--data/rhbzpage.js7
4 files changed, 42 insertions, 4 deletions
diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/values
new file mode 100644
index 0000000..c27c889
--- /dev/null
+++ b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/values
@@ -0,0 +1,17 @@
+creator: Matěj Cepl <mcepl@redhat.com>
+
+
+reporter: Matěj Cepl <mcepl@redhat.com>
+
+
+severity: minor
+
+
+status: open
+
+
+summary: Update nouveau data
+
+
+time: Tue, 22 Feb 2011 11:35:44 +0000
+
diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/bd5cef03-c389-4fab-8336-30a02ee97261/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/bd5cef03-c389-4fab-8336-30a02ee97261/values
new file mode 100644
index 0000000..457d5a8
--- /dev/null
+++ b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/bd5cef03-c389-4fab-8336-30a02ee97261/values
@@ -0,0 +1,18 @@
+creator: Matěj Cepl <mcepl@redhat.com>
+
+
+reporter: Matěj Cepl <mcepl@redhat.com>
+
+
+severity: minor
+
+
+status: closed
+
+
+summary: protect against running fillIn magic when it has been already done and [something]
+ is included
+
+
+time: Tue, 22 Feb 2011 11:35:35 +0000
+
diff --git a/.be/id-cache b/.be/id-cache
index 7148a05..9c8982e 100644
--- a/.be/id-cache
+++ b/.be/id-cache
@@ -15,9 +15,11 @@ fcebd19c-12b9-43ae-bc54-7cae39396e9f .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bu
ca8df3f8-7557-4730-bcca-3707776f5db4 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ca8df3f8-7557-4730-bcca-3707776f5db4
b9e11546-5ec7-4464-8070-35c5510c13ff .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d4145155-0ef1-409e-9236-261eb08f75d5/comments/b9e11546-5ec7-4464-8070-35c5510c13ff
99abb100-a0e8-49b0-8799-a47e4d5fb0b3 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3
-5718cbae-15da-4921-8371-5be69197c4ed .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed
27c176c2-26be-4a51-bb71-2aff47c5484b .be/27c176c2-26be-4a51-bb71-2aff47c5484b
+5718cbae-15da-4921-8371-5be69197c4ed .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed
+bd5cef03-c389-4fab-8336-30a02ee97261 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/bd5cef03-c389-4fab-8336-30a02ee97261
70b1e7f3-6446-45dc-91e5-e338d51770aa .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa
+ad8fee41-b8dd-4c4e-85e1-4ab96923cecb .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb
019f1b74-7113-4213-8b66-b63ae63fa603 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/019f1b74-7113-4213-8b66-b63ae63fa603
989f85c8-3941-4a97-a447-bdbf0fbbd7f4 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/989f85c8-3941-4a97-a447-bdbf0fbbd7f4
e16d92aa-df09-4851-b6a0-3ed0ea2ff0fa .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/e16d92aa-df09-4851-b6a0-3ed0ea2ff0fa
diff --git a/data/rhbzpage.js b/data/rhbzpage.js
index b45d9e2..026e7ac 100644
--- a/data/rhbzpage.js
+++ b/data/rhbzpage.js
@@ -832,6 +832,7 @@ function parseBacktrace (ret) {
function RHBZinit() {
// inheritance ... call superobject's constructor
var AbrtRE = new RegExp("^\\s*\\[abrt\\]");
+ var FillMagicDoneRE = new RegExp("^\\s*\\[[0-9a-zA-Z]*\\]");
var btSnippet = "";
var signaturesCounter = 0;
@@ -873,10 +874,10 @@ function RHBZinit() {
getComponent())[0]; // filterByRegexp returns array, not string
}
- // fillInChipMagic needs to be fixed first, but it can wait.
// TODO Get compiz bugs as well
- if ((constantData.chipNames !== undefined) &&
- (XorgLogAttList[0] !== undefined) &&
+ if ((constantData.chipNames) &&
+ (XorgLogAttList[0]) &&
+ (!FillMagicDoneRE.test(getSummary())) &&
(maintCCAddr === "xgl-maint@redhat.com")) {
// Add find chip magic button
var whiteboard_string = document.getElementById("status_whiteboard").value;