| 1 | = Multiple Projects using Multiple Trac Environments = |
| 2 | |
| 3 | This is the traditional way of handling multiple projects with Trac: |
| 4 | create a new environment for tracking a given software project. |
| 5 | |
| 6 | That way, each project is managed independantly from the others. |
| 7 | This can be achieved using mod_python and tracd. Further technical |
| 8 | documentation about the setup can be found in TracMultipleProjects. |
| 9 | |
| 10 | This page is for discussing open points related to using |
| 11 | multiple environments for managing multiple projects, and |
| 12 | for contrasting this approach to an alternative approach |
| 13 | described in TracMultipleProjects/SingleEnvironment. |
| 14 | |
| 15 | == One or Multiple Repositories? == |
| 16 | |
| 17 | It is straightforward to manage multiple repositories |
| 18 | using this approach: as each environment is based on a |
| 19 | given (Subversion) repository, simply create an environment |
| 20 | for each repository, as required. |
| 21 | |
| 22 | However, there are two common situations that are quite |
| 23 | common and are currently not well addressed: |
| 24 | 1. the different repositories are within the same company |
| 25 | or team (e.g. one repository for some legacy application, |
| 26 | one for new applications, one for the common components, ...) |
| 27 | and there is a need to have some kind of integration |
| 28 | between the projects |
| 29 | 2. there's only one repository actually, containing many projects |
| 30 | |
| 31 | |
| 32 | The first concern was expressed in #234. A proposed solution |
| 33 | was to introduce the InterTrac extension for TracLinks. |
| 34 | |
| 35 | The second concern was first expressed in #586, and has |
| 36 | been reiterated several times since (#1025, #1059, #1398). |
| 37 | Since [1413] (the new ''versioncontrol'' layer), there is |
| 38 | actually support for working on a subset of a repository, |
| 39 | but this will only work if the project is fully self-contained |
| 40 | within the given URL. |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |