Commit 1e4fd594 authored by Alex Vandiver's avatar Alex Vandiver
Browse files

Version 0.05 releng

parent 9c42939b
0.05 2014-02-06
- Fix a bug, where if no Cfs were listed, then all were treated as
mandatory
0.04 2013-03-26
- Link to TODO from CAVEATS
......
......@@ -21,4 +21,4 @@ no_index:
- xt
resources:
license: http://opensource.org/licenses/gpl-license.php
version: 0.04
version: 0.05
......@@ -8,7 +8,7 @@ no warnings 'once';
use Module::Install::Base;
use base 'Module::Install::Base';
our $VERSION = '0.30';
our $VERSION = '0.32';
use FindBin;
use File::Glob ();
......@@ -136,6 +136,7 @@ install ::
$has_etc{acl}++;
}
if ( -e 'etc/initialdata' ) { $has_etc{initialdata}++; }
if ( -d 'etc/upgrade/' ) { $has_etc{upgrade}++; }
$self->postamble("$postamble\n");
unless ( $subdirs{'lib'} ) {
......@@ -164,6 +165,12 @@ install ::
.
$self->postamble("initdb ::\n$initdb\n");
$self->postamble("initialize-database ::\n$initdb\n");
if ($has_etc{upgrade}) {
print "To upgrade from a previous version of this extension, use 'make upgrade-database'\n";
my $upgradedb = qq|\t\$(NOECHO) \$(PERL) -Ilib -I"$local_lib_path" -I"$lib_path" -Minc::Module::Install -e"RTxInitDB(qw(upgrade \$(NAME) \$(VERSION)))"\n|;
$self->postamble("upgrade-database ::\n$upgradedb\n");
$self->postamble("upgradedb ::\n$upgradedb\n");
}
}
}
......@@ -209,4 +216,4 @@ sub requires_rt {
__END__
#line 329
#line 336
......@@ -7,7 +7,7 @@ use warnings;
use base qw(Module::Install::Base);
use vars qw($VERSION);
$VERSION = '0.20';
$VERSION = '0.22';
sub readme_from {
my $self = shift;
......
......@@ -2,7 +2,7 @@ use strict;
use warnings;
package RT::Extension::MandatoryOnTransition;
our $VERSION = '0.04';
our $VERSION = '0.05';
=head1 NAME
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment