[Bps-public-commit] rt-extension-repeatticket branch, rt5, repushed

? sunnavy sunnavy at bestpractical.com
Tue Jul 28 18:16:17 EDT 2020


The branch rt5 was deleted and repushed:
       was e820db37f4b5100da323a61ed3234c3b25832064
       now cdba1e11f46f476ae3f50db31120c59757788a2d

1:  de096f2 ! 1:  8cec603 Migrate to elevator themes for RT 5
    @@ -388,7 +388,7 @@
     -</div>
     +    <div class="form-row">
     +      <div class="label input col-4">
    -+        <&|/l&>End of recurrence </&>:
    ++        <&|/l&>End of recurrence</&>:
     +      </div>
     +      <div class="value col-auto form-check">
     +
2:  902b838 = 2:  d780551 Update tests to make them pass on RT 5
3:  ab30f36 = 3:  55b26b2 Remove unnecessary "undef $m"
4:  fa9f028 ! 4:  09a10f8 Bump version to 2.0 for RT 5
    @@ -13,7 +13,7 @@
      resources:
        license: http://opensource.org/licenses/gpl-license.php
     -version: '1.11'
    -+version: '2.0'
    ++version: '2.00'
      x_module_install_rtx_version: '0.39'
      x_requires_rt: 4.0.6
     
    @@ -25,7 +25,7 @@
      package RT::Extension::RepeatTicket;
      
     -our $VERSION = "1.11";
    -+our $VERSION = "2.0";
    ++our $VERSION = "2.00";
      
      use RT::Interface::Web;
      use DateTime;
5:  6e8b810 ! 5:  8dba083 Support RT 5.0 and update docs accordingly
    @@ -1,6 +1,6 @@
     Author: sunnavy <sunnavy at bestpractical.com>
     
    -    Note it only works with RT 5+
    +    Support RT 5.0 and update docs accordingly
     
     diff --git a/META.yml b/META.yml
     --- a/META.yml
    @@ -13,7 +13,7 @@
     +  perl: 5.10.1
      resources:
        license: http://opensource.org/licenses/gpl-license.php
    - version: '2.0'
    + version: '2.00'
      x_module_install_rtx_version: '0.39'
     -x_requires_rt: 4.0.6
     +x_requires_rt: 5.0.0
    @@ -30,6 +30,11 @@
      
      my ($lp) = ($INC{'RT.pm'} =~ /^(.*)[\\\/]/);
      my $lib_path = join( ' ', "$RT::LocalPath/lib", $lp );
    +-my $bin_path = $RT::BinPath || "$RT::BasePath/bin" || "/opt/rt4/bin";
    ++my $bin_path = $RT::BinPath || "$RT::BasePath/bin" || "/opt/rt5/bin";
    + 
    + # Straight from perldoc perlvar
    + use Config;
     
     diff --git a/README b/README
     --- a/README
    @@ -45,10 +50,12 @@
          perl Makefile.PL
          make
     @@
    +         If you are upgrading this module, check for upgrading instructions
              in case changes need to be made to your database.
      
    -     Edit your /opt/rt4/etc/RT_SiteConfig.pm
    +-    Edit your /opt/rt4/etc/RT_SiteConfig.pm
     -        If you are using RT 4.2 or greater, add this line:
    ++    Edit your /opt/rt5/etc/RT_SiteConfig.pm
     +        Add this line:
      
                  Plugin('RT::Extension::RepeatTicket');
    @@ -60,8 +67,24 @@
     -        or add RT::Extension::RepeatTicket to your existing @Plugins line.
     -
          Clear your mason cache
    -             rm -rf /opt/rt4/var/mason_data/obj
    +-            rm -rf /opt/rt4/var/mason_data/obj
    ++            rm -rf /opt/rt5/var/mason_data/obj
      
    +     Add bin/rt-repeat-ticket to the daily cron job.
    +     Restart your webserver
    +
    +diff --git a/bin/rt-repeat-ticket.in b/bin/rt-repeat-ticket.in
    +--- a/bin/rt-repeat-ticket.in
    ++++ b/bin/rt-repeat-ticket.in
    +@@
    + 
    + BEGIN {
    + ### after:     use lib qw(@RT_LIB_PATH@);
    +-use lib '/opt/rt4/local/lib /opt/rt4/lib';
    ++use lib '/opt/rt5/local/lib /opt/rt5/lib';
    + use RT;
    + RT::LoadConfig;
    + RT::Init;
     
     diff --git a/lib/RT/Extension/RepeatTicket.pm b/lib/RT/Extension/RepeatTicket.pm
     --- a/lib/RT/Extension/RepeatTicket.pm
    @@ -78,8 +101,11 @@
      
      =over
     @@
    + If you are upgrading this module, check for upgrading instructions
    + in case changes need to be made to your database.
      
    - =item Edit your F</opt/rt4/etc/RT_SiteConfig.pm>
    +-=item Edit your F</opt/rt4/etc/RT_SiteConfig.pm>
    ++=item Edit your F</opt/rt5/etc/RT_SiteConfig.pm>
      
     -If you are using RT 4.2 or greater, add this line:
     +Add this line:
    @@ -94,5 +120,22 @@
     -
      =item Clear your mason cache
      
    -     rm -rf /opt/rt4/var/mason_data/obj
    +-    rm -rf /opt/rt4/var/mason_data/obj
    ++    rm -rf /opt/rt5/var/mason_data/obj
    + 
    + =item Add F<bin/rt-repeat-ticket> to the daily cron job.
    + 
     
    +diff --git a/lib/RT/Extension/RepeatTicket/Test.pm.in b/lib/RT/Extension/RepeatTicket/Test.pm.in
    +--- a/lib/RT/Extension/RepeatTicket/Test.pm.in
    ++++ b/lib/RT/Extension/RepeatTicket/Test.pm.in
    +@@
    + use warnings;
    + 
    + ### after: use lib qw(@RT_LIB_PATH@);
    +-use lib qw(/opt/rt4/local/lib /opt/rt4/lib);
    ++use lib qw(/opt/rt5/local/lib /opt/rt5/lib);
    + 
    + package RT::Extension::RepeatTicket::Test;
    + 
    +
6:  c5911c3 < -:  ------- Default RT path to /opt/rt5
7:  993325c ! 6:  9317e2a Update M:I
    @@ -17,7 +17,7 @@
     @@
      resources:
        license: http://opensource.org/licenses/gpl-license.php
    - version: '2.0'
    + version: '2.00'
     -x_module_install_rtx_version: '0.39'
     +x_module_install_rtx_version: '0.42'
      x_requires_rt: 5.0.0
8:  e820db3 ! 7:  73abd2f Add "." to @INC for perl 5.26+
    @@ -10,3 +10,4 @@
      use inc::Module::Install;
      RTx('RT-Extension-RepeatTicket');
      
    +
-:  ------- > 8:  669dd31 Update copyright year to 2020
-:  ------- > 9:  cdba1e1 Prep 2.00



More information about the Bps-public-commit mailing list