Opened 17 years ago
Closed 17 years ago
#6097 closed enhancement (duplicate)
Upon trac-admin initenv all default values are written into trac.ini
Reported by: | Thorak | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | admin/console | Version: | 0.10.3 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Currently all default options are written into the environmnent-specific trac.ini when a new environment is created. This makes configuring several environments through a global trac.ini (or a common inherited ini) cumbersome because you need to remove the default value from the environment-specific ini as well as enter the value to the global ini since the options set in the environment-specific ini override the global options.
I think a good solution would be to add all default options to the environment-specific ini as commented out so that you can easiliy see the options available and modify them if needed. The fallback to default option values could be done automatically if neither the environment-specific ini nor the global (or inherited) ini specifies anything else.
This can now be done for 0.11 by passing in the file to inherit - see #5651. Slightly different implementation, but much the same end-result. Upgrade to latest 0.11b1+ to use this feature.
Closing as duplicate.