This is a patch that allows you to have a Trac environment parent directory under another Trac environment in a directory called 'projects'. The subprojects are then accessible via theURL of the parent project slash 'p' slash sub project name:/parentproject/p/childproject
.
It only works when using an environment parent directory for the top level.
Existing bugs and feature requests forSubProjectsPatch arehere.
If you have any issues, create anew ticket.
defect | 1 / 1 |
---|
Download the zipped source fromhere.
Check outSubProjectsPatch fromhere using Subversion, orbrowse the source with Trac.
Follow these generic guidelines to apply this patch:
trac/web/main.py
.You should now be able to go to both/foo
and see projectfoo
, and go to/foo/p/bar
and see projectbar
, with validURL generation and all other navigation.