[Bps-public-commit] Module-Install-RTx branch, master, updated. 0.32_01-2-g7500205
Kevin Falcone
falcone at bestpractical.com
Mon Feb 10 21:44:20 EST 2014
The branch, master has been updated
via 75002055a06d486b638163e5cc592719ae09f41d (commit)
via 19f78f6dbcbbde70b8a0e5ffb77a047d4cc669c8 (commit)
from 4133180fa67d8569bb39b43a148fa2d67e780401 (commit)
Summary of changes:
Changes | 4 ++++
META.yml | 4 ++--
lib/Module/Install/RTx.pm | 6 ++++--
3 files changed, 10 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit 19f78f6dbcbbde70b8a0e5ffb77a047d4cc669c8
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Mon Feb 10 17:26:41 2014 -0500
Avoid upgrade false positives
Because Module-Install-RTx only groks RT style version numbers (because
rt-setup-database is inflexible) only offer make upgrade-database if you
use that style of version number.
diff --git a/lib/Module/Install/RTx.pm b/lib/Module/Install/RTx.pm
index 4796328..a37118a 100644
--- a/lib/Module/Install/RTx.pm
+++ b/lib/Module/Install/RTx.pm
@@ -135,7 +135,9 @@ install ::
$has_etc{acl}++;
}
if ( -e 'etc/initialdata' ) { $has_etc{initialdata}++; }
- if ( -d 'etc/upgrade/' ) { $has_etc{upgrade}++; }
+ if ( grep { /\d+\.\d+\.\d+.*$/ } glob('etc/upgrade/*.*.*') ) {
+ $has_etc{upgrade}++;
+ }
$self->postamble("$postamble\n");
unless ( $subdirs{'lib'} ) {
commit 75002055a06d486b638163e5cc592719ae09f41d
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Mon Feb 10 17:28:13 2014 -0500
bump version for 0.32_02
diff --git a/Changes b/Changes
index 1d15c78..de1cc2b 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+0.32_02 2014-02-10
+ - Avoid some false positives that would offer a make upgrade-database
+ which cannot work.
+
0.32_01 2014-01-10
- Now that we aren't packaging extensions against 3.6, we can use
cmp_versions imported from RT core rather than copy/paste.
diff --git a/META.yml b/META.yml
index 21654cb..a593925 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.32_01
+ version: 0.32_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.32_01
+version: 0.32_02
diff --git a/lib/Module/Install/RTx.pm b/lib/Module/Install/RTx.pm
index a37118a..a068be7 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.32_01';
+our $VERSION = '0.32_02';
use FindBin;
use File::Glob ();
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list