Edgewall Software

Changes between Version 13 and Version 14 of 1.3/TracRepositoryAdmin


Ignore:
Timestamp:
Sep 26, 2017, 12:34:38 AM (7 years ago)
Author:
Ryan J Ollos
Comment:

Update for changes in #12771.

Legend:

Unmodified
Added
Removed
Modified
  • 1.3/TracRepositoryAdmin

    v13 v14  
    136136In 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.
    137137
    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.
     138Follow 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.
    139139
    140140There'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.
     
    146146[default]
    147147TRAC_ENV=/var/trac/project-1
    148 PYTHON_BIN=/usr/local/venv/bin
    149 PYTHON_LIB=/usr/local/venv/lib
     148TRAC_PATH=/usr/local/venv/bin
    150149}}}
    151150