[Rt-commit] rtir branch 5.0-trunk updated. 5.0.1-63-g8bf19b3f

BPS Git Server git at git.bestpractical.com
Tue Feb 22 14:25:55 UTC 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rtir".

The branch, 5.0-trunk has been updated
       via  8bf19b3fef288b9174925a0c9b8a8ed80b15786f (commit)
       via  b110e0ee96f4f4635e0929d178cf51abe3a93a64 (commit)
       via  2c3d5b5548c8ed4846d98d7691e8093f8f748340 (commit)
       via  d48ff10cd5014f6b4abd8d69bbaf5518e95b674d (commit)
      from  7e51d976198b0515f2ccd9465b8065cb9c03d7c5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8bf19b3fef288b9174925a0c9b8a8ed80b15786f
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Tue Feb 22 09:25:42 2022 -0500

    Update Module::Install::RTx

diff --git a/META.yml b/META.yml
index ee500c9b..c18a9aba 100644
--- a/META.yml
+++ b/META.yml
@@ -34,6 +34,6 @@ requires:
 resources:
   license: http://opensource.org/licenses/gpl-license.php
 version: 5.0.2
-x_module_install_rtx_version: '0.42'
+x_module_install_rtx_version: '0.43'
 x_requires_rt: 5.0.0
 x_rt_too_new: 5.2.0
diff --git a/inc/Module/Install/RTx.pm b/inc/Module/Install/RTx.pm
index 2dd94897..2889ecea 100644
--- a/inc/Module/Install/RTx.pm
+++ b/inc/Module/Install/RTx.pm
@@ -9,7 +9,7 @@ no warnings 'once';
 use Term::ANSIColor qw(:constants);
 use Module::Install::Base;
 use base 'Module::Install::Base';
-our $VERSION = '0.42';
+our $VERSION = '0.43';
 
 use FindBin;
 use File::Glob     ();
@@ -134,7 +134,7 @@ lexicons ::
     if( $extra_args->{'remove_files'} ){
         $self->include('Module::Install::RTx::Remove');
         our @remove_files;
-        eval { require "etc/upgrade/remove_files" }
+        eval { require "./etc/upgrade/remove_files" }
           or print "No remove file located, no files to remove\n";
         $remove_files = join ",", map {"q(\$(DESTDIR)$plugin_path/$name/$_)"} @remove_files;
     }

commit b110e0ee96f4f4635e0929d178cf51abe3a93a64
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Tue Feb 22 09:24:52 2022 -0500

    Document atomic change in Upgrading doc

diff --git a/docs/UPGRADING-5.0 b/docs/UPGRADING-5.0
index 0afdd92f..2497cbc0 100644
--- a/docs/UPGRADING-5.0
+++ b/docs/UPGRADING-5.0
@@ -205,6 +205,19 @@ custom field from incoming email, similar to IP addresses.
 If you don't track CVEs with your RTIR instance, you can disable
 the custom field and the new scrips.
 
+=item * Run Transaction Batch last, even in nested updates
+
+When RTIR processes scrips, Batch mode scrips should always run last.
+Previously, with nested updates, inner updates would run batch before
+all outer updates were complete. One example of this is processing ticket
+updates, the Basics update calls an inner "atomic" transaction to update
+Owner, which would cause the unexpected batch run. This has been fixed
+so batch runs only once for the outermost updates. All transactions
+performed for that batch are available from the C<TransactionBatch> method
+as expected.
+
+This mirrors a change also made in RT 5.0.2.
+
 =back
 
 =cut

commit 2c3d5b5548c8ed4846d98d7691e8093f8f748340
Merge: 7e51d976 d48ff10c
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri Feb 18 16:40:39 2022 -0500

    Merge branch '5.0/atomic-changes-on-edit-page' into 5.0-trunk


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

Summary of changes:
 META.yml                  |  2 +-
 docs/UPGRADING-5.0        | 13 ++++++++
 html/RTIR/Edit.html       | 76 +++++++++++++++++++++++++----------------------
 inc/Module/Install/RTx.pm |  4 +--
 4 files changed, 56 insertions(+), 39 deletions(-)


hooks/post-receive
-- 
rtir


More information about the rt-commit mailing list