[Bps-public-commit] r12195 - in Module-Install-RTx: . lib/Module/Install/RTx

falcone at bestpractical.com falcone at bestpractical.com
Fri May 9 15:32:55 EDT 2008


Author: falcone
Date: Fri May  9 15:32:33 2008
New Revision: 12195

Modified:
   Module-Install-RTx/   (props changed)
   Module-Install-RTx/Changes
   Module-Install-RTx/lib/Module/Install/RTx.pm
   Module-Install-RTx/lib/Module/Install/RTx/Factory.pm

Log:
 r32407 at ketch:  falcone | 2008-05-09 15:32:16 -0400
 * fix bug where schema and acl changes can't be added from extensions
   on 3.8
 * release engineering for 0.23


Modified: Module-Install-RTx/Changes
==============================================================================
--- Module-Install-RTx/Changes	(original)
+++ Module-Install-RTx/Changes	Fri May  9 15:32:33 2008
@@ -1,3 +1,9 @@
+[Changes for 0.23 2008-05-09]
+
+* RT now respects the --datafile flag to rt-setup-database when
+  used with --action acl or --action schema.
+  Don't pass the initialdata file when we're doing schema changes
+
 [Changes for 0.22 2008-03-25]
 
 * Add local lib path to the @INC when we call any script that may

Modified: Module-Install-RTx/lib/Module/Install/RTx.pm
==============================================================================
--- Module-Install-RTx/lib/Module/Install/RTx.pm	(original)
+++ Module-Install-RTx/lib/Module/Install/RTx.pm	Fri May  9 15:32:33 2008
@@ -7,7 +7,7 @@
 
 use Module::Install::Base;
 use base 'Module::Install::Base';
-our $VERSION = '0.22';
+our $VERSION = '0.23';
 
 use FindBin;
 use File::Glob     ();

Modified: Module-Install-RTx/lib/Module/Install/RTx/Factory.pm
==============================================================================
--- Module-Install-RTx/lib/Module/Install/RTx/Factory.pm	(original)
+++ Module-Install-RTx/lib/Module/Install/RTx/Factory.pm	Fri May  9 15:32:33 2008
@@ -30,7 +30,7 @@
         "$RT::SbinPath/rt-setup-database",
         "--action"      => $action,
         "--datadir"     => "etc",
-        "--datafile"    => "etc/initialdata",
+        (($action eq 'insert') ? ("--datafile"    => "etc/initialdata") : ()),
         "--dba"         => $RT::DatabaseUser,
         "--prompt-for-dba-password" => ''
     );



More information about the Bps-public-commit mailing list