Changes between Initial Version and Version 1 of SubProjectsPatch


Ignore:
Timestamp:
Mar 21, 2008, 10:33:48 PM (16 years ago)
Author:
progrium
Comment:

New hack SubProjectsPatch, created by progrium

Legend:

Unmodified
Added
Removed
Modified
  • SubProjectsPatch

    v1 v1  
     1= Sub Projects =
     2
     3== Description ==
     4
     5This hack is a simple patch that lets you have a Trac environment parent directory under another Trac environment in a directory called "projects". The subprojects are then accessible via the URL of the parent project slash 'p' slash sub project name. For example: /parentproject/p/childproject
     6
     7It only works when using an environment parent directory for the top level afaik. Hopefully this is useful for somebody.
     8
     9== Bugs/Feature Requests ==
     10
     11Existing bugs and feature requests for SubProjectsPatch are
     12[report:9?COMPONENT=SubProjectsPatch here].
     13
     14If you have any issues, create a
     15[http://trac-hacks.org/newticket?component=SubProjectsPatch&owner=progrium new ticket].
     16
     17== Download ==
     18
     19Download the zipped source from [download:subprojectspatch here].
     20
     21== Source ==
     22
     23You can check out SubProjectsPatch from [http://trac-hacks.org/svn/subprojectspatch here] using Subversion, or [source:subprojectspatch browse the source] with Trac.
     24
     25== Example ==
     26
     27Apply the patch to trac/web/main.py. Create an environment called "foo". Create a directory in "foo" called "projects". Create another environment inside "projects" called "bar". Start tracd and point the env-parent-dir to the parent of "foo".
     28
     29You should now be able to go to both /foo and see project foo, and go to /foo/p/bar and see project bar, with valid URL generation and everything.
     30
     31== Recent Changes ==
     32
     33[[ChangeLog(subprojectspatch, 3)]]
     34
     35== Author/Contributors ==
     36
     37'''Author:''' [wiki:progrium] [[BR]]
     38'''Contributors:'''