Christian Boos wrote: > Christopher Lenz wrote: > >> ... >> trac-admin /var/trac/proj initenv \ >> --templates /etc/trac/templates \ >> --wiki-pages /etc/trac/wiki-pages >> >> These command-line options are stored as regular config options in >> the projects trac.ini. Note that Trac would not automatically create >> those directories on installation, that'd be the responsibility of >> either the admin or the distro package. >> >> > > OK > > >> Now, to make handling of multi-environment installs somewhat easier, >> I would suggest we inspect a number of environment variables that can >> be used to provide defaults. So for example, you could define: >> >> TRAC_TEMPLATES_DIR = /etc/trac/templates >> TRAC_WIKI_PAGES_DIR = /etc/trac/wiki-pages >> >> and you'd no longer have to specify those when invoking "trac-admin >> initenv". >> >> Does that sound reasonable? >> >> > > While this degree of flexibility is a plus to have, I guess most of the > time what is needed is simply to be able to say "inherit everything from > /etc/trac", with reasonable (standard, even) names for the subfolders. > > So in addition to what you proposed, maybe a single --inherit option (or > --shared like it was already proposed, IIRC), or a TRAC_BASE_DIR > environment variable would be useful. >
i agree with you, but in a way that there should be a place (text file) where to define all those. > -- Christian > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" 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-dev -~----------~----~----~----~------~----~------~--~---
