Movatterモバイル変換


[0]ホーム

URL:


Trac Hacks
wiki:SubProjectsPatch

Context Navigation


Contents

  1. Description
  2. Bugs/Feature Requests
  3. Download
  4. Source
  5. Configuration
  6. Recent Changes
  7. Author/Contributors

Add sub projects to your Trac environment

Description

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.

Bugs/Feature Requests

Existing bugs and feature requests forSubProjectsPatch arehere.

If you have any issues, create anew ticket.

defect

1 / 1

Download

Download the zipped source fromhere.

Source

Check outSubProjectsPatch fromhere using Subversion, orbrowse the source with Trac.

Configuration

Follow these generic guidelines to apply this patch:

  1. Apply the patch totrac/web/main.py.
  2. Create an environment called 'foo'.
  3. Create a directory in 'foo' called 'projects'.
  4. Create another environment inside 'projects' called 'bar'.
  5. Restart tracd and point the env-parent-dir to the parent of 'foo'.

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.

Recent Changes

16573 byrjollos on 2017-05-10 16:19:56
Add patch for 1.0, previously attached to project wiki page
4064 byprogrium on 2008-07-26 07:59:10
and then i had to remove some stuff the mercurial diff put in there.
4063 byprogrium on 2008-07-26 07:55:23
this corrects a problem in that last revision where the patch came from a version that was incorrectly patched from before. follow? it works now... actually tested
(more)

Author/Contributors

Author:progrium
Maintainer:progrium
Contributors:

Last modified8 years agoLast modified on Dec 31, 2016, 12:28:10 PM

Download in other formats:


Trac Powered

Powered byTrac 1.2.6
ByEdgewall Software.


[8]ページ先頭

©2009-2025 Movatter.jp