Changes between Version 1 and Version 2 of TracIni
- Timestamp:
- 06/03/10 15:59:45 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracIni
v1 v2 1 1 = The Trac Configuration File = 2 2 3 [[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.5 4 6 5 == Global Configuration == 7 6 8 7 In 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.10 8 11 9 Global options will be merged with the environment-specific options, where local options override global options. The options file is specified as follows: … … 67 65 that will be shown in different colors in the milestone progress bar. 68 66 69 Example configuration ( the default only has closed and active):67 Example configuration (which is also the default): 70 68 {{{ 71 69 closed = closed 72 70 closed.order = 0 # sequence number in the progress bar 73 71 closed.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 72 closed.overall_completion = true # count for overall completion 80 73 81 74 active = * # one catch-all group is allowed