Modify ↓
Opened 17 years ago
Closed 17 years ago
#7038 closed defect (duplicate)
No default value for [inherit] file parameter
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | major | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Parameter 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.ini
must 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-admin
was detecting parameters in the global configuration file and adding them to projecttrac.ini
commented out.
Among both problems, the second one is the real issue.
IMHO, there are 2 possible solutions :
file
parameter has a default value matching name used in 0.10 with ability to ignore it using a specific value likenone
. 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 initenv
allowing 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.
Attachments (0)
Change History (1)
comment:1 by , 17 years ago
Milestone: | 0.11 |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Replying to jouvin@lal.in2p3.fr:
This is actually already done in #5651. I'm closing this as duplicate, and please follow up on other ticket if the solution is not working as well as expected.