[Bps-public-commit] Module-Install-RTx branch, rtx-remove, repushed

Shawn Moore shawn at bestpractical.com
Thu Jan 26 15:38:10 EST 2017


The branch rtx-remove was deleted and repushed:
       was 2c392fd9bab45fa7f5c172a8c63607f01092ee4f
       now f345200d0a0d941adffa64ec0973ddeeea91fb7f

1:  2c392fd ! 1:  f345200 Add option to remove obsolete files on install
    @@ -9,16 +9,15 @@
          error message. This message is passed to sprintf with two string
          arguments, the current RT version and the version you specify.
      
    -+  remove_obsolete_files
    ++  remove_files
     +    If set to a true value, during installation any files listed in a
    -+    "files_to_remove" file will be removed from the destination directories.
    ++    "remove_files" file will be removed from the destination directories.
     +    This feature is for removing files that have been deleted or moved in
     +    the current version and leaving the old version in place when upgrading
     +    can cause problems.
     +
    -+    RTx looks for a "files_to_remove" file in the etc/upgrade directory of
    -+    the distribution. The format of the "files_to_remove" file is as
    -+    follows:
    ++    RTx looks for a "remove_files" file in the etc/upgrade directory of the
    ++    distribution. The format of the "remove_files" file is as follows:
     +
     +        package Module::Install::RTx;
     +
    @@ -42,9 +41,9 @@
          }
      
     +    my $remove_files;
    -+    if( $extra_args->{'remove_obsolete_files'} ){
    ++    if( $extra_args->{'remove_files'} ){
     +        our @remove_files;
    -+        eval { require "etc/upgrade/files_to_remove" }
    ++        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;
     +    }
    @@ -70,15 +69,17 @@
      error message. This message is passed to sprintf with two string
      arguments, the current RT version and the version you specify.
      
    -+=head2 remove_obsolete_files
    ++=head2 remove_files
     +
    -+If set to a true value, during installation any files listed in a C<files_to_remove>
    -+file will be removed from the destination directories. This feature is for
    -+removing files that have been deleted or moved in the current version and
    -+leaving the old version in place when upgrading can cause problems.
    ++If set to a true value, during installation any files listed in a
    ++C<remove_files> file will be removed from the destination directories.
    ++This feature is for removing files that have been deleted or moved in
    ++the current version and leaving the old version in place when upgrading
    ++can cause problems.
     +
    -+RTx looks for a C<files_to_remove> file in the etc/upgrade directory of the
    -+distribution. The format of the C<files_to_remove> file is as follows:
    ++RTx looks for a C<remove_files> file in the etc/upgrade directory of
    ++the distribution. The format of the C<remove_files> file is as
    ++follows:
     +
     +    package Module::Install::RTx;
     +
    @@ -120,7 +121,7 @@
     +
     +=head2 RTxRemove
     +
    -+Removes specificed files.
    ++Removes specified files.
     +
     +Accepts: Arrayref of files to remove. Files should have a full
     +directory path.



More information about the Bps-public-commit mailing list