Edgewall Software

Opened 15 years ago

Closed 15 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:


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.

Attachments (0)

Change History (1)

comment:1 by osimons, 15 years ago

Resolution: duplicate
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.