Changes between Version 2 and Version 3 of TracIni
- Timestamp:
- 2011-11-11 14:14:47 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracIni
v2 v3 1 1 = The Trac Configuration File = 2 2 3 [[TracGuideToc]] 3 4 … … 13 14 {{{ 14 15 [inherit] 15 file = / usr/share/trac/conf/trac.ini16 file = /path/to/global/trac.ini 16 17 }}} 18 Multiple files can be specified using a comma-separated list. 17 19 18 Note that you can also specify a global option file when creating a new project, by adding the option `--inherit=/path/to/global/ options` to [TracAdmin trac-admin]'s `initenv` command. If do not do this but nevertheless intend to use a global option file with your new environment, you will have to go through the newly generated conf/trac.inifile and delete the entries that will otherwise override those set in the global file.20 Note that you can also specify a global option file when creating a new project, by adding the option `--inherit=/path/to/global/trac.ini` to [TracAdmin#initenv trac-admin]'s `initenv` command. If you do not do this but nevertheless intend to use a global option file with your new environment, you will have to go through the newly generated `conf/trac.ini` file and delete the entries that will otherwise override those set in the global file. 19 21 22 There are two more entries in the [[#inherit-section| [inherit] ]] section, `templates_dir` for sharing global templates and `plugins_dir`, for sharing plugins. Those entries can themselves be specified in the shared configuration file, and in fact, configuration files can even be chained if you specify another `[inherit] file` there. 23 24 Note that the templates found in the `templates/` directory of the TracEnvironment have precedence over those found in `[inherit] templates_dir`. In turn, the latter have precedence over the installed templates, so be careful about what you put there, notably if you override a default template be sure to refresh your modifications when you upgrade to a new version of Trac (the preferred way to perform TracInterfaceCustomization being still to write a custom plugin doing an appropriate `ITemplateStreamFilter` transformation). 20 25 21 26 == Reference for settings 22 27 23 This is a brief reference of available configuration options .28 This is a brief reference of available configuration options, and their default settings. 24 29 25 30 [[TracIni]] … … 61 66 # optional extra param for the query (two additional columns: created and modified and sort on created) 62 67 closed.query_args = group=resolution,order=time,col=id,col=summary,col=owner,col=type,col=priority,col=component,col=severity,col=time,col=changetime 63 # indicates groups that count for overall completion 64 closed.overall_completion = true percentage68 # indicates groups that count for overall completion percentage 69 closed.overall_completion = true 65 70 66 71 new = new … … 132 137 See TracWorkflow for more details. 133 138 134 135 139 ---- 136 140 See also: TracGuide, TracAdmin, TracEnvironment