summaryrefslogtreecommitdiffstats
path: root/extensions/TryAutoLand/lib/Constants.pm
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-03-28 23:27:27 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-03-28 23:27:27 +0200
commit8c404164f025a9fed3bb547ba203d406c5e60dbf (patch)
tree8fd605f0d524aa27c14bda398ad3a2fd8a94c43c /extensions/TryAutoLand/lib/Constants.pm
parent7101bff098fe91c78ed2f2ffd3958ce2b94d3585 (diff)
downloadbugzilla-8c404164f025a9fed3bb547ba203d406c5e60dbf.tar.gz
bugzilla-8c404164f025a9fed3bb547ba203d406c5e60dbf.tar.xz
Bug 726193: add TryAutoLand extension
Diffstat (limited to 'extensions/TryAutoLand/lib/Constants.pm')
-rw-r--r--extensions/TryAutoLand/lib/Constants.pm31
1 files changed, 31 insertions, 0 deletions
diff --git a/extensions/TryAutoLand/lib/Constants.pm b/extensions/TryAutoLand/lib/Constants.pm
new file mode 100644
index 000000000..53bad630a
--- /dev/null
+++ b/extensions/TryAutoLand/lib/Constants.pm
@@ -0,0 +1,31 @@
+# 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::TryAutoLand::Constants;
+
+use strict;
+
+use base qw(Exporter);
+
+our @EXPORT = qw(
+ VALID_STATUSES
+ WEBSERVICE_USER
+ DEFAULT_TRY_SYNTAX
+);
+
+use constant VALID_STATUSES => qw(
+ waiting
+ running
+ failed
+ success
+);
+
+use constant WEBSERVICE_USER => 'autoland-try@mozilla.bugs';
+
+use constant DEFAULT_TRY_SYNTAX => '-b do -p all -u none -t none';
+
+1;