On 15/07/14 00:25, Olemis Lang wrote:
2. write product configuration in a ini file (as usual) and execute
    trac-admin /path/to/env product admin PREFIX config set trac inherit

This would be an interesting option though potentially confusing. I'm not sure it actually works but my attempts could have been flawed.

So, presumably you meant:

   trac-admin /path/to/env product admin PREFIX config set inherit file
   /path/to/PREFIX.ini

or something similar. If we assume that the product config is close to a full implementation of the global config then we would expect that to allow us to set defaults in the file. There are a few interesting problems with this. First of all, effectively this would override settings in the base.ini that the global trac.ini inherits from. Secondly, there is a potential for confusion when admins attempt to set options in the product's config file but the settings are ignored in preference for using the db settings.

Still, definitely interesting!

Cheers,
    Gary

Reply via email to