Changes between Version 4 and Version 5 of TracIni


Ignore:
Timestamp:
2009-03-31T18:06:22Z (6 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracIni

    v4 v5  
    11= The Trac Configuration File =
     2[[TracGuideToc]]
    23
    3 [[TracGuideToc]]
     4Trac 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.
    45
    56== Global Configuration ==
    67
    78In 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.
     9Literally, 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.
    810
    911Global options will be merged with the environment-specific options, where local options override global options. The options file is specified as follows:
     
    6567that will be shown in different colors in the milestone progress bar.
    6668
    67 Example configuration (which is also the default):
     69Example configuration (the default only has closed and active):
    6870{{{
    6971closed = closed
    7072closed.order = 0                     # sequence number in the progress bar
    7173closed.query_args = group=resolution # optional extra param for the query
    72 closed.overall_completion = true     # count for overall completion
     74closed.overall_completion = true     # indicates groups that count for overall completion percentage
     75
     76new = new
     77new.order = 1
     78new.css_class = new
     79new.label = new
    7380
    7481active = *                           # one catch-all group is allowed