PatchFoswikiContribPlugin

File patch tool for Foswiki

Usage

This plugin is installed with the PatchFoswikContrib. It implements a single macro: %PATCHREPORT%. This is an Admin only macro that reports on the patches installed on this system.

Patch files found on this system

This report lists the patch files found in the working/configure/patch directory. The patch summary is displayed, followed by a list of each candidate patch. The Status column is set to:
  • N/A: This version of the patch does not apply to this file. The file might have been subsequently modified by another patch or by manual edit.
  • PATCHED: The patch appears to have been applied, and no other modifications have been made to the file.
  • APPLIES: The patch matches and is eligible to be applied.

If you dont' see a report here, then verify that PatchFoswikiContribPlugin is enabled in the configuration.

ALERT! Admin access only!

Installation

See PatchFoswikiContrib

Info

Author: GeorgeClark
Copyright ©: Foswiki Contributors
License: GPL (GNU General Public License)
Dependencies:
NameVersionDescription
Algorithm::Diff>=0May be required for lib/CPAN/lib/Text/Diff.pm
Carp>=0May be required for lib/CPAN/lib/Text/Diff.pm, lib/CPAN/lib/Text/Diff/Table.pm, lib/CPAN/lib/Text/Patch.pm
Exporter>=0May be required for lib/CPAN/lib/Text/Diff.pm, lib/CPAN/lib/Text/Patch.pm
File::Copy>=0May be required for lib/Foswiki/Configure/PatchFile.pm
File::Path>=0May be required for lib/Foswiki/Configure/PatchFile.pm
File::Spec>=0May be required for lib/Foswiki/Configure/PatchFile.pm
Foswiki::Time>=0May be required for lib/Foswiki/Configure/PatchFile.pm
Version: 2.1
Change History:  
2.1 (02 Oct 2015) Foswikitask:Item13759: Restructure to support internal changes in Foswiki 2.0. Update to latest CPAN libs.
2.0 (22 Apr 2014) Foswikitask:Item12863: Restructure PatchFoswikiContrib to remove obsolete patches originally shipped with the extension.
1.5 (26 Dec 2012) Foswikitask:Item12312: Add reporting of patch status,
Foswikitask:Item12314: Add feature to reverse a patch.
Note that there are no changes to the patches shipped in this version.
1.4 (14 Dec 2012) Some perl complains about exporting of function names.
1.3 (28 Nov 2012) Rework to support multiple patch installation. Rename to PatchFoswikiContrib from PatchItem12225Contrib. Add a 2nd patch file.
1.2 (15 Nov 2012) Manifest errors. Configure was complaining about non-writable working files.
1.1 (15 Nov 2012) Don't include / when matching filenam, causes undefined variables on Windows.
1.0 (09 Nov 2012) Initial version
Home: http://foswiki.org/Extensions/PatchFoswikiContribPlugin
Support: http://foswiki.org/Support/PatchFoswikiContribPlugin

Topic revision: r1 - 02 Oct 2015, ProjectContributor
 
  • Printable version of this topic (p) Printable version of this topic (p)