[Bps-public-commit] RT-Extension-MandatoryOnTransition branch, master, updated. 0.04-3-g1e4fd59

Alex Vandiver alexmv at bestpractical.com
Thu Feb 6 13:51:28 EST 2014


The branch, master has been updated
       via  1e4fd5948208e7fac6d6784d4e2041e765ac83c6 (commit)
       via  9c42939b19958f3b960094704cd4a486f39091dd (commit)
      from  2058487231a460e6c2fa94e69b85b6f1ab449260 (commit)

Summary of changes:
 Changes                                   | 19 +++++++++++++++++++
 MANIFEST                                  |  1 +
 META.yml                                  |  2 +-
 inc/Module/Install/RTx.pm                 | 11 +++++++++--
 inc/Module/Install/ReadmeFromPod.pm       |  2 +-
 lib/RT/Extension/MandatoryOnTransition.pm |  2 +-
 6 files changed, 32 insertions(+), 5 deletions(-)
 create mode 100644 Changes

- Log -----------------------------------------------------------------
commit 9c42939b19958f3b960094704cd4a486f39091dd
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Thu Feb 6 13:48:36 2014 -0500

    Add a Changes file

diff --git a/Changes b/Changes
new file mode 100644
index 0000000..dad9565
--- /dev/null
+++ b/Changes
@@ -0,0 +1,14 @@
+0.04 2013-03-26
+
+ - Link to TODO from CAVEATS
+ - Generate a README for github
+
+0.03 2013-02-27
+
+ - Allows mandatory checking during ticket creation
+ - Mandatory-ness now also applies to the mobile UI
+ - Move tests to being author-only tests
+
+0.01 2012-07-23
+
+ - Initial release
diff --git a/MANIFEST b/MANIFEST
index b97925c..fbc4452 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,3 +1,4 @@
+Changes
 html/Callbacks/RT-Extension-MandatoryOnTransition/m/ticket/create/BeforeCreate
 html/Callbacks/RT-Extension-MandatoryOnTransition/m/ticket/reply/AfterWorked
 html/Callbacks/RT-Extension-MandatoryOnTransition/m/ticket/reply/BeforeUpdate

commit 1e4fd5948208e7fac6d6784d4e2041e765ac83c6
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Thu Feb 6 13:51:12 2014 -0500

    Version 0.05 releng

diff --git a/Changes b/Changes
index dad9565..4703c74 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,8 @@
+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
diff --git a/META.yml b/META.yml
index 9161a8c..fe4fc39 100644
--- a/META.yml
+++ b/META.yml
@@ -21,4 +21,4 @@ no_index:
     - xt
 resources:
   license: http://opensource.org/licenses/gpl-license.php
-version: 0.04
+version: 0.05
diff --git a/inc/Module/Install/RTx.pm b/inc/Module/Install/RTx.pm
index abf6aea..ac04c79 100644
--- a/inc/Module/Install/RTx.pm
+++ b/inc/Module/Install/RTx.pm
@@ -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
diff --git a/inc/Module/Install/ReadmeFromPod.pm b/inc/Module/Install/ReadmeFromPod.pm
index 6a80818..b5e03c3 100644
--- a/inc/Module/Install/ReadmeFromPod.pm
+++ b/inc/Module/Install/ReadmeFromPod.pm
@@ -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;
diff --git a/lib/RT/Extension/MandatoryOnTransition.pm b/lib/RT/Extension/MandatoryOnTransition.pm
index 854dfa8..900b564 100644
--- a/lib/RT/Extension/MandatoryOnTransition.pm
+++ b/lib/RT/Extension/MandatoryOnTransition.pm
@@ -2,7 +2,7 @@ use strict;
 use warnings;
 package RT::Extension::MandatoryOnTransition;
 
-our $VERSION = '0.04';
+our $VERSION = '0.05';
 
 =head1 NAME
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list