Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#7038 closed defect (duplicate)

No default value for [inherit] file parameter

Reported by: jouvin@… 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 project trac.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 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 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)

in reply to:  description comment:1 by osimons, 17 years ago

Milestone: 0.11
Resolution: duplicate
Status: newclosed

Replying to jouvin@lal.in2p3.fr:

  • 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.

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.