summaryrefslogtreecommitdiffstats
path: root/extensions/ContributorEngagement/lib
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-03-28 23:26:07 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-03-28 23:26:07 +0200
commit7101bff098fe91c78ed2f2ffd3958ce2b94d3585 (patch)
tree0b023e873d1deb2119a8010daa88f4bdcfc0b538 /extensions/ContributorEngagement/lib
parente4953b938ed652365eeba7c967ea74882afbb0a3 (diff)
downloadbugzilla-7101bff098fe91c78ed2f2ffd3958ce2b94d3585.tar.gz
bugzilla-7101bff098fe91c78ed2f2ffd3958ce2b94d3585.tar.xz
Bug 721206: add ContributorEngagement extension
Diffstat (limited to 'extensions/ContributorEngagement/lib')
-rw-r--r--extensions/ContributorEngagement/lib/Constants.pm36
1 files changed, 36 insertions, 0 deletions
diff --git a/extensions/ContributorEngagement/lib/Constants.pm b/extensions/ContributorEngagement/lib/Constants.pm
new file mode 100644
index 000000000..fe7ae803b
--- /dev/null
+++ b/extensions/ContributorEngagement/lib/Constants.pm
@@ -0,0 +1,36 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This Source Code Form is "Incompatible With Secondary Licenses", as
+# defined by the Mozilla Public License, v. 2.0.
+
+package Bugzilla::Extension::ContributorEngagement::Constants;
+
+use strict;
+
+use base qw(Exporter);
+
+our @EXPORT = qw(
+ EMAIL_FROM
+ ENABLED_PRODUCTS
+ FLAG_REGEXES
+);
+
+use constant EMAIL_FROM => 'bugzilla-daemon@mozilla.org';
+
+use constant ENABLED_PRODUCTS => (
+ "Core",
+ "Fennec Native",
+ "Firefox",
+ "Testing",
+ "Toolkit",
+ "Mozilla Services",
+ "TestProduct",
+);
+
+use constant FLAG_REGEXES => (
+ qr/^approval/
+);
+
+1;