Changes between Version 269 and Version 270 of TracInstall
- Timestamp:
- Feb 13, 2009, 10:47:41 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInstall
v269 v270 178 178 * TracModPython if you use the mod_python method. 179 179 180 == Automatic reference to the SVN changesets in T RACtickets ==180 == Automatic reference to the SVN changesets in Trac tickets == 181 181 182 182 You can configure SVN to automatically add a reference to the changeset into the ticket comments, whenever files are committed to the repository. The description of the commit needs to contain one of the following formulas: … … 184 184 * '''Fixes #123''' - to reference this changeset and close #123 ticket with the default status ''fixed'' 185 185 186 All you have to do is to edit the ''post-commit'' hook in your SVN repository and make it execute ''trac-post-commit-hook'' coming with T RAC.186 All you have to do is to edit the ''post-commit'' hook in your SVN repository and make it execute ''trac-post-commit-hook'' coming with Trac. 187 187 188 188 If you are editing the ''post-commit'' hook for the first time you need to navigate to your SVN repository's hooks subfolder and rename existing there ''post-commit'' template: … … 193 193 }}} 194 194 195 Next open it in any text editor and add a line with path to the T RACenvironment connected with this SVN repository and another line executing the ''trac-post-commit-hook'' script:195 Next open it in any text editor and add a line with path to the Trac environment connected with this SVN repository and another line executing the ''trac-post-commit-hook'' script: 196 196 197 197 {{{ … … 203 203 }}} 204 204 205 Make sure that ''trac-post-commit-hook'' exists in above path with execution permissions for the same user which SVN is running from. This script can be found in contrib subfolder of your T RACdistribution and the latest version can be always downloaded from [source:trunk/contrib/trac-post-commit-hook].206 207 '''UBUNTU 8.04.2 Hardy Note:''' the default package installs trac-post-commit-hook under /usr/share/doc/trac/contrib path. Unfortunately this script is not working correctly with T RAC0.11 and you need to download the latest version from [source:0.11-stable/contrib/trac-post-commit-hook].205 Make sure that ''trac-post-commit-hook'' exists in above path with execution permissions for the same user which SVN is running from. This script can be found in contrib subfolder of your Trac distribution and the latest version can be always downloaded from [source:trunk/contrib/trac-post-commit-hook]. 206 207 '''UBUNTU 8.04.2 Hardy Note:''' the default package installs trac-post-commit-hook under /usr/share/doc/trac/contrib path. Unfortunately this script is not working correctly with Trac 0.11 and you need to download the latest version from [source:0.11-stable/contrib/trac-post-commit-hook]. 208 208 209 209 == Platform-specifics installations == … … 224 224 ---- 225 225 See also: TracInstallPlatforms, TracGuide, TracCgi, TracFastCgi, TracModPython, [wiki:TracModWSGI], TracUpgrade, TracPermissions 226