Changes between Version 3 and Version 4 of SubProjectsPatch


Ignore:
Timestamp:
Jun 9, 2015, 12:32:31 PM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • SubProjectsPatch

    v3 v4  
    1 = Sub Projects =
     1[[PageOutline(2-5,Contents,pullout)]]
     2
     3= Add sub projects to you Trac environment
    24
    35== Description ==
    46
    5 This 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
     7This hack 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 the URL of the parent project slash 'p' slash sub project name.
    68
    7 It only works when using an environment parent directory for the top level afaik. Hopefully this is useful for somebody.
     9For example: `/parentproject/p/childproject`.
    810
    9 == Bugs/Feature Requests ==
     11It only works when using an environment parent directory for the top level.
     12
     13== Bugs/Feature Requests
    1014
    1115Existing bugs and feature requests for SubProjectsPatch are
     
    1317
    1418If you have any issues, create a
    15 [http://trac-hacks.org/newticket?component=SubProjectsPatch&owner=progrium new ticket].
     19[/newticket?component=SubProjectsPatch new ticket].
    1620
    17 == Download and Source ==
     21[[TicketQuery(component=SubProjectsPatch&group=type,format=progress)]]
     22
     23== Download and Source
    1824
    1925Download [download:subprojectspatch the zipped source], check out [http://trac-hacks.org/svn/subprojectspatch using Subversion], or [source:subprojectspatch browse the source] with Trac.
    2026
    21 == Example ==
     27== Configuration
    2228
    23 Apply 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'.
     29Follow these generic guidelines to apply this patch:
    2430
    25 You 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.
     31 1. Apply the patch to `trac/web/main.py`.
     32 1. Create an environment called 'foo'.
     33 1. Create a directory in 'foo' called 'projects'.
     34 1. Create another environment inside 'projects' called 'bar'.
     35 1. Restart tracd and point the env-parent-dir to the parent of 'foo'.
    2636
    27 == Recent Changes ==
     37== Example
     38
     39You 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 all other navigation.
     40
     41== Recent Changes
    2842
    2943[[ChangeLog(subprojectspatch, 3)]]
     
    3246
    3347'''Author:''' [wiki:progrium] [[BR]]
     48'''Maintainer:''' [[Maintainer]] [[BR]]
    3449'''Contributors:'''