aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-06-27 15:23:12 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-06-27 15:23:12 +0200
commit890dd7f9adcbe1ef7c4218edc89ee7075a12e211 (patch)
tree855893c690ebfbe5502b8151e3d3009501957091 /data
parent955f77978ea6f3f5730571698de07cc77d1fc5a4 (diff)
downloadbugzilla-triage-890dd7f9adcbe1ef7c4218edc89ee7075a12e211.tar.gz
Move all constant data out of the main JSON
Diffstat (limited to 'data')
-rw-r--r--data/bugzillalabelAbbreviations.json7
-rw-r--r--data/bugzillalabelNames.json7
-rw-r--r--data/matches.json15
-rw-r--r--data/newUpstreamBug.json18
-rw-r--r--data/queryUpstreamBug.json10
5 files changed, 57 insertions, 0 deletions
diff --git a/data/bugzillalabelAbbreviations.json b/data/bugzillalabelAbbreviations.json
new file mode 100644
index 0000000..4a53cd1
--- /dev/null
+++ b/data/bugzillalabelAbbreviations.json
@@ -0,0 +1,7 @@
+{
+ "bugzilla.mozilla.org": "MoFo",
+ "bugs.freedesktop.org": "FDo",
+ "bugs.eclipse.org": "Eclipse",
+ "bugzilla.gnome.org": "bgo",
+ "bugzilla.redhat.com": "RH"
+} \ No newline at end of file
diff --git a/data/bugzillalabelNames.json b/data/bugzillalabelNames.json
new file mode 100644
index 0000000..c079443
--- /dev/null
+++ b/data/bugzillalabelNames.json
@@ -0,0 +1,7 @@
+{
+ "bugzilla.mozilla.org": "Mozilla Foundation",
+ "bugs.freedesktop.org": "FreeDesktop.org",
+ "bugs.eclipse.org": "Eclipse Project",
+ "bugzilla.gnome.org": "GNOME Desktop",
+ "bugzilla.redhat.com": "Red Hat"
+} \ No newline at end of file
diff --git a/data/matches.json b/data/matches.json
new file mode 100644
index 0000000..25329d6
--- /dev/null
+++ b/data/matches.json
@@ -0,0 +1,15 @@
+{
+ "matches": [
+ "https://bugzilla.redhat.com/show_bug.cgi",
+ "https://bz-web2-test.devel.redhat.com/show_bug.cgi",
+ "https://bugs.freedesktop.org/show_bug.cgi",
+ "https://bugzilla.mozilla.org/show_bug.cgi"
+ ],
+ "skipMatches": [
+ "https://bugzilla.redhat.com/(process|post)_bug.cgi",
+ "https://bz-web2-test.devel.redhat.com/(process|post)_bug.cgi",
+ "https://bugzilla.mozilla.org/post_bug.cgi",
+ "https://bugzilla.mozilla.org/process_bug.cgi",
+ "https://bugzilla.(redhat.com|mozilla.org)/attachment.cgi$"
+ ]
+} \ No newline at end of file
diff --git a/data/newUpstreamBug.json b/data/newUpstreamBug.json
new file mode 100644
index 0000000..c4ace83
--- /dev/null
+++ b/data/newUpstreamBug.json
@@ -0,0 +1,18 @@
+[
+ {
+ "regexp": "thunderbird",
+ "addr": "https://bugzilla.mozilla.org/enter_bug.cgi?product=Thunderbird"
+ },
+ {
+ "regexp": "firefox",
+ "addr": "https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox"
+ },
+ {
+ "regexp": "xulrunner",
+ "addr": "https://bugzilla.mozilla.org/enter_bug.cgi?product=Core"
+ },
+ {
+ "regexp": "xorg-x11.*",
+ "addr": "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
+ }
+] \ No newline at end of file
diff --git a/data/queryUpstreamBug.json b/data/queryUpstreamBug.json
new file mode 100644
index 0000000..3de67d0
--- /dev/null
+++ b/data/queryUpstreamBug.json
@@ -0,0 +1,10 @@
+[
+ {
+ "regexp": "thunderbird|firefox|xulrunner",
+ "addr": "https://bugzilla.mozilla.org/buglist.cgi?quicksearch="
+ },
+ {
+ "regexp": "xorg-x11.*",
+ "addr": "https://bugs.freedesktop.org/buglist.cgi?quicksearch=product%3Axorg+"
+ }
+] \ No newline at end of file