[Bps-public-commit] Module-Install-RTx branch, master, updated. 0.29_01-2-g0fcc9c9
Kevin Falcone
falcone at bestpractical.com
Thu Aug 16 14:29:58 EDT 2012
The branch, master has been updated
via 0fcc9c9eab5a0217a914cd6f64827f6d9e8ed574 (commit)
via bae022508d36669c329509ab3dd078cc5b13808a (commit)
from e1a2d0a3c28b5074cfcbca987dbd6fb214e4e830 (commit)
Summary of changes:
Changes | 3 +++
META.yml | 4 ++--
lib/Module/Install/RTx.pm | 10 +---------
3 files changed, 6 insertions(+), 11 deletions(-)
- Log -----------------------------------------------------------------
commit bae022508d36669c329509ab3dd078cc5b13808a
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Thu Aug 16 14:23:58 2012 -0400
Remove factory harder.
There is a useful feature here, you can drop the tables you created from
the extension.
However, the code that supported the feature is terrifying and fragile
and doesn't actually work (table named Classes), so I'm just going to
keep pruning it away.
diff --git a/lib/Module/Install/RTx.pm b/lib/Module/Install/RTx.pm
index 9c03c94..9d17ad1 100644
--- a/lib/Module/Install/RTx.pm
+++ b/lib/Module/Install/RTx.pm
@@ -128,15 +128,7 @@ install ::
my %has_etc;
if ( File::Glob::bsd_glob("$FindBin::Bin/etc/schema.*") ) {
-
- # got schema, load factory module
$has_etc{schema}++;
- $self->load('RTxFactory');
- $self->postamble(<< ".");
-dropdb ::
-\t\$(NOECHO) \$(PERL) -Ilib -I"$local_lib_path" -I"$lib_path" -Minc::Module::Install -e"RTxFactory(qw($RTx $name drop))"
-
-.
}
if ( File::Glob::bsd_glob("$FindBin::Bin/etc/acl.*") ) {
$has_etc{acl}++;
commit 0fcc9c9eab5a0217a914cd6f64827f6d9e8ed574
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Thu Aug 16 14:29:13 2012 -0400
releng for 0.29_02
diff --git a/Changes b/Changes
index 87a8b5e..04e96f4 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,6 @@
+[Changes for 0.29_02 2012-08-16]
+* further removal of make factory, this time 'make dropdb'
+
[Changes for 0.29_01 2012-08-16]
* Remove support for 'make factory'
* Add support for a new 4.1 feature that records database changes made by the extension
diff --git a/META.yml b/META.yml
index daefdf2..2e21935 100644
--- a/META.yml
+++ b/META.yml
@@ -21,7 +21,7 @@ no_index:
provides:
Module::Install::RTx:
file: lib/Module/Install/RTx.pm
- version: 0.29_01
+ version: 0.29_02
Module::Install::RTx::Factory:
file: lib/Module/Install/RTx/Factory.pm
requires:
@@ -29,4 +29,4 @@ requires:
perl: 5.8.0
resources:
license: http://opensource.org/licenses/mit-license.php
-version: 0.29_01
+version: 0.29_02
diff --git a/lib/Module/Install/RTx.pm b/lib/Module/Install/RTx.pm
index 9d17ad1..d0b4a2f 100644
--- a/lib/Module/Install/RTx.pm
+++ b/lib/Module/Install/RTx.pm
@@ -7,7 +7,7 @@ no warnings 'once';
use Module::Install::Base;
use base 'Module::Install::Base';
-our $VERSION = '0.29_01';
+our $VERSION = '0.29_02';
use FindBin;
use File::Glob ();
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list