cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
warning This is an experimental version of PatchItem11983Contrib.

support To configure your Foswiki to install from this repository, modify the {ExtensionsRepositories} setting in your lib/LocalSite.cfg like this:
$Foswiki::cfg{ExtensionsRepositories} = 'Foswiki.org=(http://foswiki.org/Extensions/,http://foswiki.org/pub/Extensions/);Local=(http://foswiki.org/Extensions/Testing/,http://foswiki.org/pub/Extensions/Testing/)';

Read more about configuring Extension repositories

PatchItem11983Contrib

Patch Foswiki 1.1.5-1.1.9 store to improve perfomance

Usage

This extensions applies a "hotfix" for Item11983 to your Foswiki 1.1.5-1.1.9 system.

ALERT! CAUTION: This patch can significantly improve the performance of the Foswiki "Store" system by reducing calls to the "RCS" - Revision Control System. However it removes critical checks that are performed to detect topics that have been externally modified outside of Foswiki. This fix is not recommended if you have topics will be, or have been modified externally. This includes:
  • Topic.txt files manually edited without updating the %META:TOPICINFO line, and without checking them into RCS.
  • Topic.txt files that are created or modified by external processes.

When this extension is installed, it uses the Post-installation exit to apply any patch files found in the manifest. This extension ships with a hotfix for the following items:

Original Issue Patch File Description
Item11983 Item11983-001 Reduce calls to RCS made by Store to verify the TOPICINFO information.

Before any file is patched, a backup is copied to working/configure/backup/<Item11983-001-date-time>. Each file that is a candidate to be patched is backed up. If the extensions is installed multple times, a new backup is made for each run, regardless of whether or not the patch will be applied. For this patch, the following files are copied:
  • lib/Foswiki/Store/VC/Store.pm
  • lib/Foswiki/Store/VC/Handler.pm

Patches are only applied if the target file is an exact match to the original file. There is no attempt to do "fuzzy" patching. Note however that a patch can be built to cover multiple versions of the file.

There is no "dependency order" established between patches. Patches are installed in order of their patch file name.

Patches will be mapped from the default Foswiki filename to the directory location used on the target system.

Installation

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Info

Author: GeorgeClark
Copyright ©: Foswiki Contributors
License: GPL (GNU General Public License)
Dependencies:
NameVersionDescription
Foswiki::Contrib::PatchFoswikiContrib >=1.5Required for old Foswiki versions.
Version: 1.1
Change History:  
1.1 (26 Dec 2012) No functional change. Update patch format to allow better reporting and uninstall.
1.0 (05 Dec 2012) Initial version
Home: http://foswiki.org/Extensions/PatchItem11983Contrib
Support: http://foswiki.org/Support/PatchItem11983Contrib

Topic revision: r4 - 06 Oct 2014, GeorgeClark - This page was cached on 25 Jun 2018 - 19:40.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy