Edgewall Software

Changes between Version 102 and Version 103 of TracIni


Ignore:
Timestamp:
Sep 11, 2007, 9:57:05 PM (15 years ago)
Author:
anonymous
Comment:

clairification on golbal trac.ini for v0.9 0.10, [inherit] is new to 0.11

Legend:

Unmodified
Added
Removed
Modified
  • TracIni

    v102 v103  
    77
    88==== Trac 0.9 and 0.10 ====
    9 Since version 0.9, Trac can also read the configuration from a global `trac.ini` file. These global options will then be merged with the environment-specific options, where local options override global options so be sure to remove local options which you wish to be inherited from the global file.
     9Since version 0.9, Trac can also read the configuration from a global `trac.ini` file. These global options will then be merged with the environment-specific options, where local options override global options.  So be sure to remove options from the project specific local trac.ini which you wish to be inherited from the global trac.ini file.
    1010
    11 The global configuration is by default located in `$prefix/share/trac/conf/trac.ini`. It can be moved to a different location (for example, `/etc/trac.ini`), but that requires changing the file `trac/siteconfig.py` which gets created when Trac is installed.
     11The trac/siteconfig.py defines the location of the global trac.ini with the __default_conf_dir__ option.  The global configuration is by default located in `$prefix/share/trac/conf/trac.ini` or sometimes /etc/trac/trac.ini depending on the distribution.  The [inherit] directive was introduced in version 0.11 and is not available in versions 0.9 and 0.10.
    1212
    1313==== Trac 0.11 ====
    14 Since version 0.11 you must explicitly note which file to inherit from:
     14Since version 0.11 you must explicitly note which file to inherit from, [inherit] is not valid for previous versions of trac:
    1515{{{
    1616[inherit]