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