Simplify multiple installations with shared environments (#43)
see Plan Env Inheritance for an overview
Switching between several trac versions should be simplified, even if those are pulled from the SVN.
After installing trac, the shared directories are entered within
/trac/siteconfig.py
__default_conf_dir__ = 'D:\\trac\\conf' __default_templates_dir__ = 'D:\\trac\\templates' __default_htdocs_dir__ = 'D:\\trac\\htdocs' __default_wiki_dir__ = 'D:\\trac\\wiki-default' __default_macros_dir__ = 'D:\\trac\\wiki-macros' __default_plugins_dir__ = 'D:\\trac\\plugins'
It would be simpler to declare just one entry:
shared_dir = 'D:
trac'
and to derive the other entries from this.
specific entries can still exist, in order to point to a different location:
default_plugins_dir = 'E:
trac
somewhere
plugins'
The shared_dir should be by default set to '..\', which would be the first step to make an svn co to work immediately without further steps.
Implementation:
- RFC on trac.devel see thread
- Provide patch against 0.11dev
- shared_dir default should be hardcoded