[Rt-commit] rtir branch, 2.9-trunk, updated. 2.6.1-511-gad5687f
Ruslan Zakirov
ruz at bestpractical.com
Wed Oct 19 08:06:50 EDT 2011
The branch, 2.9-trunk has been updated
via ad5687f236d4153641c4db770fb6c46d09823b6f (commit)
via 39a81b79685fad4a673fd48ebbf5d83bf7a09ed3 (commit)
from 192a7498293a181b2b63fb3ae86b531893024a7a (commit)
Summary of changes:
Makefile.PL | 4 ----
etc/initialdata | 13 +++++++++++++
2 files changed, 13 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit 39a81b79685fad4a673fd48ebbf5d83bf7a09ed3
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Wed Oct 19 15:35:56 2011 +0400
RT 4.0 has RTFM built in
diff --git a/Makefile.PL b/Makefile.PL
index 0121185..b2a98ca 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -17,10 +17,6 @@ my ($lib_path) = $INC{'RT.pm'} =~ /^(.*)[\\\/]/;
my $local_lib_path = "$RT::LocalPath/lib";
unshift @INC, $local_lib_path, $lib_path;
-# XXX: we can not depend on RT::FM as new plugin system
-# is not ready for that
-#requires('RT::FM');
-
# RTIR needs this version of SB because of cud-from-select
requires('DBIx::SearchBuilder', 1.61);
commit ad5687f236d4153641c4db770fb6c46d09823b6f
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Wed Oct 19 16:06:04 2011 +0400
fake Lifecycles so we can initdb w/o setting @Plugins
diff --git a/etc/initialdata b/etc/initialdata
index 612faae..ee61903 100644
--- a/etc/initialdata
+++ b/etc/initialdata
@@ -1,5 +1,18 @@
# Initial data for a fresh RTIR Installation.
+ at Initial = (
+ sub {
+ # put fake lifecycles for initiialization to succed
+ my $lc = RT->Config->Get('Lifecycles') || {};
+ foreach my $name (qw(incidents incident_reports investigations blocks)) {
+ $lc->{ $name } ||= $lc->{'default'} || {};
+ }
+ RT->Config->Set(Lifecycles => %$lc);
+ RT::Lifecycle->FillCache;
+ return 1;
+ },
+);
+
@Queues = (
{
Name => 'Incidents',
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list