On Sep 13, 3:22 pm, "Jorge Vargas" <[EMAIL PROTECTED]> wrote:
> Hi, all. I'll like to accomplish the following. I want to have a set
> of "global" trac.ini configuration options, then have just a flew for
> each trac instance.
>
> is it possible to pass this global data as something wsgi? I want to
> be able to modify most of this information in a database from another
> webapp.

Yes, two options for 0.11+:

1) If you use/call/spawn trac-admin to create (initenv), you can use --
inherit as an additional commandline option pointing to your global
config:
http://trac.edgewall.org/wiki/TracIni#GlobalConfiguration

2) If you use Environment.create() from Python code, you can pass in
options to use as default - with special handling in case one of these
options is a global config to inherit from:

http://trac.edgewall.org/browser/branches/0.11-stable/trac/env.py#L272
(Environment.create())

>
> How can I ask not to duplicate all the wiki pages on each installation?

Currently you can't. We're working on redoing how help/guide/default
pages are made available - with proposal and current development
branch tentatively scheduled for 0.12:

http://trac.edgewall.org/wiki/TracDev/Proposals/NewHelp


:::simon

https://www.coderesort.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to