summaryrefslogtreecommitdiffstats
path: root/extensions/Push
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Push')
-rw-r--r--extensions/Push/Config.pm2
-rw-r--r--extensions/Push/Extension.pm1
-rwxr-xr-xextensions/Push/bin/bugzilla-pushd.pl6
-rwxr-xr-xextensions/Push/bin/nagios_push_checker.pl6
-rw-r--r--extensions/Push/lib/Admin.pm1
-rw-r--r--extensions/Push/lib/BacklogMessage.pm1
-rw-r--r--extensions/Push/lib/BacklogQueue.pm1
-rw-r--r--extensions/Push/lib/Backoff.pm1
-rw-r--r--extensions/Push/lib/Config.pm1
-rw-r--r--extensions/Push/lib/Connector.disabled/AMQP.pm1
-rw-r--r--extensions/Push/lib/Connector.disabled/ServiceNow.pm1
-rw-r--r--extensions/Push/lib/Connector/Aha.pm1
-rw-r--r--extensions/Push/lib/Connector/Base.pm1
-rw-r--r--extensions/Push/lib/Connector/File.pm1
-rw-r--r--extensions/Push/lib/Connector/ReviewBoard.pm1
-rw-r--r--extensions/Push/lib/Connector/Spark.pm1
-rw-r--r--extensions/Push/lib/Connector/TCL.pm1
-rw-r--r--extensions/Push/lib/Connectors.pm1
-rw-r--r--extensions/Push/lib/Constants.pm3
-rw-r--r--extensions/Push/lib/Daemon.pm1
-rw-r--r--extensions/Push/lib/Log.pm1
-rw-r--r--extensions/Push/lib/LogEntry.pm1
-rw-r--r--extensions/Push/lib/Logger.pm1
-rw-r--r--extensions/Push/lib/Message.pm1
-rw-r--r--extensions/Push/lib/Option.pm1
-rw-r--r--extensions/Push/lib/Push.pm1
-rw-r--r--extensions/Push/lib/Queue.pm1
-rw-r--r--extensions/Push/lib/Serialise.pm1
-rw-r--r--extensions/Push/lib/Util.pm1
29 files changed, 34 insertions, 8 deletions
diff --git a/extensions/Push/Config.pm b/extensions/Push/Config.pm
index 11e3502fd..860e31a23 100644
--- a/extensions/Push/Config.pm
+++ b/extensions/Push/Config.pm
@@ -7,7 +7,9 @@
package Bugzilla::Extension::Push;
+use 5.10.1;
use strict;
+use warnings;
use constant NAME => 'Push';
diff --git a/extensions/Push/Extension.pm b/extensions/Push/Extension.pm
index 1d6ec5b62..f682dea35 100644
--- a/extensions/Push/Extension.pm
+++ b/extensions/Push/Extension.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/bin/bugzilla-pushd.pl b/extensions/Push/bin/bugzilla-pushd.pl
index f048df157..8e92381f3 100755
--- a/extensions/Push/bin/bugzilla-pushd.pl
+++ b/extensions/Push/bin/bugzilla-pushd.pl
@@ -10,10 +10,8 @@
use strict;
use warnings;
-use FindBin '$RealBin';
-use lib "$RealBin/../../..";
-use lib "$RealBin/../../../lib";
-use lib "$RealBin/../lib";
+use FindBin qw($RealBin);
+use lib ("$RealBin/../../..", "$RealBin/../../../lib", "$RealBin/../../../local/lib/perl5");
BEGIN {
use Bugzilla;
diff --git a/extensions/Push/bin/nagios_push_checker.pl b/extensions/Push/bin/nagios_push_checker.pl
index f022f584d..092a9da8f 100755
--- a/extensions/Push/bin/nagios_push_checker.pl
+++ b/extensions/Push/bin/nagios_push_checker.pl
@@ -10,10 +10,8 @@
use strict;
use warnings;
-use FindBin '$RealBin';
-use lib "$RealBin/../../..";
-use lib "$RealBin/../../../lib";
-use lib "$RealBin/../lib";
+use FindBin qw($RealBin);
+use lib ("$RealBin/../../..", "$RealBin/../../../lib", "$RealBin/../../../local/lib/perl5");
use Bugzilla;
use Bugzilla::Constants;
diff --git a/extensions/Push/lib/Admin.pm b/extensions/Push/lib/Admin.pm
index 5b0bb8e70..fa65e0d69 100644
--- a/extensions/Push/lib/Admin.pm
+++ b/extensions/Push/lib/Admin.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Admin;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/BacklogMessage.pm b/extensions/Push/lib/BacklogMessage.pm
index cd40ebefb..28b17bae3 100644
--- a/extensions/Push/lib/BacklogMessage.pm
+++ b/extensions/Push/lib/BacklogMessage.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::BacklogMessage;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/BacklogQueue.pm b/extensions/Push/lib/BacklogQueue.pm
index 79b9b72ee..a7200c688 100644
--- a/extensions/Push/lib/BacklogQueue.pm
+++ b/extensions/Push/lib/BacklogQueue.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::BacklogQueue;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Backoff.pm b/extensions/Push/lib/Backoff.pm
index 55552e5e1..f0116a2a7 100644
--- a/extensions/Push/lib/Backoff.pm
+++ b/extensions/Push/lib/Backoff.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Backoff;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Config.pm b/extensions/Push/lib/Config.pm
index 7033b4195..337c2696d 100644
--- a/extensions/Push/lib/Config.pm
+++ b/extensions/Push/lib/Config.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Config;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Connector.disabled/AMQP.pm b/extensions/Push/lib/Connector.disabled/AMQP.pm
index 7b7d4aa72..f712ee890 100644
--- a/extensions/Push/lib/Connector.disabled/AMQP.pm
+++ b/extensions/Push/lib/Connector.disabled/AMQP.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Connector::AMQP;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Connector.disabled/ServiceNow.pm b/extensions/Push/lib/Connector.disabled/ServiceNow.pm
index 832cc9262..a6d84cbe0 100644
--- a/extensions/Push/lib/Connector.disabled/ServiceNow.pm
+++ b/extensions/Push/lib/Connector.disabled/ServiceNow.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Connector::ServiceNow;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Connector/Aha.pm b/extensions/Push/lib/Connector/Aha.pm
index b64610e03..e85b5fadf 100644
--- a/extensions/Push/lib/Connector/Aha.pm
+++ b/extensions/Push/lib/Connector/Aha.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Connector::Aha;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Connector/Base.pm b/extensions/Push/lib/Connector/Base.pm
index 290ea9740..ee41bd160 100644
--- a/extensions/Push/lib/Connector/Base.pm
+++ b/extensions/Push/lib/Connector/Base.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Connector::Base;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Connector/File.pm b/extensions/Push/lib/Connector/File.pm
index 563a78567..ae249ffe5 100644
--- a/extensions/Push/lib/Connector/File.pm
+++ b/extensions/Push/lib/Connector/File.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Connector::File;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Connector/ReviewBoard.pm b/extensions/Push/lib/Connector/ReviewBoard.pm
index 97f489826..1c657a728 100644
--- a/extensions/Push/lib/Connector/ReviewBoard.pm
+++ b/extensions/Push/lib/Connector/ReviewBoard.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Connector::ReviewBoard;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Connector/Spark.pm b/extensions/Push/lib/Connector/Spark.pm
index a65567916..3194bd3ab 100644
--- a/extensions/Push/lib/Connector/Spark.pm
+++ b/extensions/Push/lib/Connector/Spark.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Connector::Spark;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Connector/TCL.pm b/extensions/Push/lib/Connector/TCL.pm
index 25e5750dc..f5b430e47 100644
--- a/extensions/Push/lib/Connector/TCL.pm
+++ b/extensions/Push/lib/Connector/TCL.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Connector::TCL;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Connectors.pm b/extensions/Push/lib/Connectors.pm
index 026d3f7f1..75a5083ff 100644
--- a/extensions/Push/lib/Connectors.pm
+++ b/extensions/Push/lib/Connectors.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Connectors;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Constants.pm b/extensions/Push/lib/Constants.pm
index 18b12d511..09c5e464c 100644
--- a/extensions/Push/lib/Constants.pm
+++ b/extensions/Push/lib/Constants.pm
@@ -7,7 +7,10 @@
package Bugzilla::Extension::Push::Constants;
+use 5.10.1;
use strict;
+use warnings;
+
use base 'Exporter';
our @EXPORT = qw(
diff --git a/extensions/Push/lib/Daemon.pm b/extensions/Push/lib/Daemon.pm
index c8472e450..7f2459a95 100644
--- a/extensions/Push/lib/Daemon.pm
+++ b/extensions/Push/lib/Daemon.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Daemon;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Log.pm b/extensions/Push/lib/Log.pm
index 6faabea97..8a35a6cf5 100644
--- a/extensions/Push/lib/Log.pm
+++ b/extensions/Push/lib/Log.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Log;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/LogEntry.pm b/extensions/Push/lib/LogEntry.pm
index 848df0480..f4e894b94 100644
--- a/extensions/Push/lib/LogEntry.pm
+++ b/extensions/Push/lib/LogEntry.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::LogEntry;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Logger.pm b/extensions/Push/lib/Logger.pm
index 9824f3476..833cb3b19 100644
--- a/extensions/Push/lib/Logger.pm
+++ b/extensions/Push/lib/Logger.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Logger;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Message.pm b/extensions/Push/lib/Message.pm
index 6d2ed2531..1beb18ef0 100644
--- a/extensions/Push/lib/Message.pm
+++ b/extensions/Push/lib/Message.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Message;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Option.pm b/extensions/Push/lib/Option.pm
index 25d529f98..a08e4c11d 100644
--- a/extensions/Push/lib/Option.pm
+++ b/extensions/Push/lib/Option.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Option;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Push.pm b/extensions/Push/lib/Push.pm
index aaac0bbd6..45b9b05dd 100644
--- a/extensions/Push/lib/Push.pm
+++ b/extensions/Push/lib/Push.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Push;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Queue.pm b/extensions/Push/lib/Queue.pm
index d89cb23c3..3ee0321d9 100644
--- a/extensions/Push/lib/Queue.pm
+++ b/extensions/Push/lib/Queue.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Queue;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Serialise.pm b/extensions/Push/lib/Serialise.pm
index 94f33c754..bb6834c13 100644
--- a/extensions/Push/lib/Serialise.pm
+++ b/extensions/Push/lib/Serialise.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Serialise;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/Push/lib/Util.pm b/extensions/Push/lib/Util.pm
index f52db6936..bda6331bf 100644
--- a/extensions/Push/lib/Util.pm
+++ b/extensions/Push/lib/Util.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::Push::Util;
+use 5.10.1;
use strict;
use warnings;