Changes between Version 13 and Version 14 of 1.3/TracRepositoryAdmin
- Timestamp:
- Sep 26, 2017, 12:34:38 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
1.3/TracRepositoryAdmin
v13 v14 136 136 In a Unix environment, the simplest way to configure explicit synchronization is by using the [trac:source:trunk/contrib/trac-svn-hook contrib/trac-svn-hook] script. `trac-svn-hook` starts `trac-admin` asynchronously to avoid slowing the commit and log editing operations. The script comes with a number of safety checks and usage advice. Output is written to a log file with prefix `svn-hooks-` in the environment `log` directory, which can make configuration issues easier to debug. 137 137 138 Follow the help in the documentation header of the script to configure `trac-svn-hook`. You'll need to minimally set the `TRAC_ENV` variable, and may also need to set ` PYTHON_BIN` and `PYTHON_LIB` for a non-standard installation or a virtual environment.138 Follow the help in the documentation header of the script to configure `trac-svn-hook`. You'll need to minimally set the `TRAC_ENV` variable, and may also need to set `TRAC_PATH` and `TRAC_LD_LIBRARY_PATH` for a non-standard installation or a virtual environment. 139 139 140 140 There's no equivalent `trac-svn-hook.bat` for Windows yet, but the script can be run by Cygwin's bash. The documentation header of `trac-svn-hook` contains a Cygwin configuration example. … … 146 146 [default] 147 147 TRAC_ENV=/var/trac/project-1 148 PYTHON_BIN=/usr/local/venv/bin 149 PYTHON_LIB=/usr/local/venv/lib 148 TRAC_PATH=/usr/local/venv/bin 150 149 }}} 151 150