No default value for [inherit] file parameter
|Reported by:||Owned by:||Jonas Borgström|
file of configuration file
[inherit] section has no default value. This leads to 2 problems when migrating a configuration using a global configuration file :
trac.inimust be edited for all projects to include this section/parameter, else the global configuration file is ignored.
- When creating a new project, the global configuration file is not referenced and a lot of parameters are duplicated. This is a step back from 0.10 where
trac-adminwas detecting parameters in the global configuration file and adding them to project
Among both problems, the second one is the real issue.
IMHO, there are 2 possible solutions :
fileparameter has a default value matching name used in 0.10 with ability to ignore it using a specific value like
none. This may not solve the problem for site wanting to use several global configuration files, depending on the project.
- Add an option to
trac-admin initenvallowing to specify the global configuration file to use. This is probably a more general solution, even if not solving first point which is a one shot issue during the migration.