Changes between Version 2 and Version 3 of TracIni


Ignore:
Timestamp:
2011-11-11 14:14:47 (13 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracIni

    v2 v3  
    11= The Trac Configuration File =
     2
    23[[TracGuideToc]]
    34
     
    1314{{{
    1415[inherit]
    15 file = /usr/share/trac/conf/trac.ini
     16file = /path/to/global/trac.ini
    1617}}}
     18Multiple files can be specified using a comma-separated list.
    1719
    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.ini file and delete the entries that will otherwise override those set in the global file.
     20Note 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.
    1921
     22There 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
     24Note 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).
    2025
    2126== Reference for settings
    2227
    23 This is a brief reference of available configuration options.
     28This is a brief reference of available configuration options, and their default settings.
    2429
    2530[[TracIni]]
     
    6166# optional extra param for the query (two additional columns: created and modified and sort on created)
    6267closed.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 = truepercentage
     68# indicates groups that count for overall completion percentage
     69closed.overall_completion = true
    6570
    6671new = new
     
    132137See TracWorkflow for more details.
    133138
    134 
    135139----
    136140See also: TracGuide, TracAdmin, TracEnvironment