Ticket #5525 (reopened enhancement)
Allow trac.ini to include other files
| Reported by: | anonymous | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11 |
| Component: | general | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Support an include directive in the configuration file syntax.
include "trac-ldap.ini"
will recursively load the directives in trac-ldap.ini .
Rationale: this will make it possible to split the configuration into multiple files.
TracAdmin will be able to write to a tracadmin.ini, included by trac.ini (included eg at the bottom to give it higher priority).
This is necessary to manage trac configuration programmatically.
My use case is to install trac plugins with a plugin.ini snippet using puppet (this requires no manual intervention). Currently I am merging all these small .ini files into one big trac.ini, but this also means that any changes TracAdmin writes to the file are lost.


