Changes between Version 1 and Version 2 of TracIni


Ignore:
Timestamp:
06/03/10 15:59:45 (14 years ago)
Author:
zeiss
Comment:

Importing pages from "/var/lib/svn/trac/etsicheck2" using WikiImport plugin.

Legend:

Unmodified
Added
Removed
Modified
  • TracIni

    v1 v2  
    11= The Trac Configuration File = 
     2 
    23[[TracGuideToc]] 
    3  
    4 Trac configuration is done by editing the '''`trac.ini`''' config file, located in `<projectenv>/conf/trac.ini`.  Changes to the configuration are usually reflected immediately, though changes to the `[components]` or `[logging]` sections will require restarting the web server. You may also need to restart the web server after creating a global configuration file when none was previously present. 
    54 
    65== Global Configuration == 
    76 
    87In versions prior to 0.11, the global configuration was by default located in `$prefix/share/trac/conf/trac.ini` or sometimes /etc/trac/trac.ini depending on the distribution. If you're upgrading, you may want to specify that file to inherit from. 
    9 Literally, when you're upgrading to 0.11, you have to add an `inherit`-section to your project's `trac.ini` file. Additionally you have to move your customized templates and common images from `$prefix/share/trac/...` to the new location. 
    108 
    119Global options will be merged with the environment-specific options, where local options override global options. The options file is specified as follows: 
     
    6765that will be shown in different colors in the milestone progress bar. 
    6866 
    69 Example configuration (the default only has closed and active): 
     67Example configuration (which is also the default): 
    7068{{{ 
    7169closed = closed 
    7270closed.order = 0                     # sequence number in the progress bar 
    7371closed.query_args = group=resolution # optional extra param for the query 
    74 closed.overall_completion = true     # indicates groups that count for overall completion percentage 
    75  
    76 new = new 
    77 new.order = 1 
    78 new.css_class = new 
    79 new.label = new 
     72closed.overall_completion = true     # count for overall completion 
    8073 
    8174active = *                           # one catch-all group is allowed