[Trac-tickets] Re: [The Trac Project] #1051: centralized trac.ini
The Trac Project
noreply at edgewall.com
Wed Sep 7 16:20:49 CDT 2005
#1051: centralized trac.ini
---------------------------------+------------------------------------------
Reporter: Manuzhai | Owner: mgood
Type: enhancement | Status: assigned
Priority: low | Milestone:
Component: mod_python frontend | Version: 0.8
Severity: normal | Resolution:
Keywords: |
---------------------------------+------------------------------------------
Old description:
> I was just trying to trick the [TracModPython mod_python handler] into
> displaying a prettier page where you can choose from different projects,
> and while I got it done in the end, it was not a very pretty solution.
> This was mainly due to the fact that only the env knows about things like
> template locations, htdocs_location, and other stuff.
>
> To make it easier to use Trac with multiple projects, I think Trac should
> have a central configuration file (e.g., /etc/trac.ini) which contains
> defaults for all the options in the env trac.ini that are reasonable.
> These options can than be overwritten in env-specific trac.ini's.
>
> Would this be as useful as I think? I could whip up a patch if necessary.
> :)
New description:
I was just trying to trick the [wiki:TracModPython mod_python handler]
into displaying a prettier page where you can choose from different
projects, and while I got it done in the end, it was not a very pretty
solution. This was mainly due to the fact that only the env knows about
things like template locations, htdocs_location, and other stuff.
To make it easier to use Trac with multiple projects, I think Trac should
have a central configuration file (e.g., `/etc/trac.ini`) which contains
defaults for all the options in the env `trac.ini` that are reasonable.
These options can than be overwritten in env-specific `trac.ini`'s.
Would this be as useful as I think? I could whip up a patch if necessary.
:)
Comment (by cmlenz):
(Improved formatting of description)
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1051>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list