Actions

Chunk

Difference between revisions of "Patch"

From Joomla! Documentation

m
(update definition for svn patches)
Line 1: Line 1:
A patch in Joomla! is a bunch of bug fixes which might or might not include fixes for security issues. The patch announcement will always tell you if a patch has fixed any security issues. A patch is a minor upgrade. For example, there is a patch to upgrade your website from Joomla! 1.0.0 to Joomla! 1.0.7. Patches are generally not available when bigger upgrades are involved.  For example, there is no patch available for upgrading from Joomla! 1.0.14 to Joomla! 1.5.0.  Before applying a patch you should always read the [[release notes]] and the [[Upgrade Instructions]] relating to the patch.
+
The term patch file has been used for two different file types. In Joomla! version 1.0, the term patch file was used to refer to files that allowed you to upgrade from one 1.0 version to another (for example, from version 1.0.0 to version 1.0.7). For Joomla! version 1.5 and later, these files are referred to as [[Upgrade Package|upgrade packages]].
 +
 
 +
The other meaning for a patch file is a file created by source code [[Version Control Software|version control software]] -- for example, Subversion or SVN, which is used for the Joomla! source code. This type of patch file contains instructions for changing the contents of one or more source code files. The SVN software reads the patch file and then can automatically change the source code of the files being patched.
 +
 
 +
Patch files are used by the [[Bug Squad]] to test proposed bug fixes. They can also be used to contribute proposed new features to the version under development. For more information about the structure of SVN patch files, read [[Learn more about patch files]].

Revision as of 10:31, 20 September 2009

The term patch file has been used for two different file types. In Joomla! version 1.0, the term patch file was used to refer to files that allowed you to upgrade from one 1.0 version to another (for example, from version 1.0.0 to version 1.0.7). For Joomla! version 1.5 and later, these files are referred to as upgrade packages.

The other meaning for a patch file is a file created by source code version control software -- for example, Subversion or SVN, which is used for the Joomla! source code. This type of patch file contains instructions for changing the contents of one or more source code files. The SVN software reads the patch file and then can automatically change the source code of the files being patched.

Patch files are used by the Bug Squad to test proposed bug fixes. They can also be used to contribute proposed new features to the version under development. For more information about the structure of SVN patch files, read Learn more about patch files.