Changes between Version 2 and Version 3 of 0.12/TracEnvironment
- Timestamp:
- Feb 3, 2010, 12:39:24 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
0.12/TracEnvironment
v2 v3 95 95 == Source Code Repository == 96 96 97 You'll first have to provide the ''type'' of your repository (e.g. `svn` for Subversion, 98 which is the default), then the ''path'' where the repository is located. 97 Since version 0.12, one Trac environment can be tied to more than one repository. There are many different ways to add repositories to an environment, see TracRepositoryAdmin. This page also details the various attributes that can be set on a repository (like `type`, `url`, `description`). 99 98 100 If you don't want to use Trac with a source code repository, simply leave the ''path'' empty 101 (the ''type'' information doesn't matter, then). 99 If you don't want to use Trac with any source code repository, at creation time simply leave the ''path'' empty 100 (the ''type'' information doesn't matter in this case). Then you also need to disable the `trac.versioncontrol.*` components: 101 {{{ 102 [components] 103 trac.versioncontrol.* = disabled 104 }}} 102 105 103 106 For some systems, it is possible to specify not only the path to the repository, … … 106 109 Trac supports this; for other types, check the corresponding plugin's documentation. 107 110 108 Example of a configuration for a Subversion repository :111 Example of a configuration for a Subversion repository used as the default repository: 109 112 {{{ 110 113 [trac] … … 133 136 * `htdocs` - directory containing web resources, which can be referenced in Genshi templates. '''''(since 0.11)''''' 134 137 * `log` - default directory for log files, if logging is turned on and a relative path is given. 135 * `plugins` - Environment-specific [wiki:TracPlugins plugins] (Python eggs , since [trac:milestone:0.10 0.10])138 * `plugins` - Environment-specific [wiki:TracPlugins plugins] (Python eggs or single file plugins, since [trac:milestone:0.10 0.10]) 136 139 * `templates` - Custom Genshi environment-specific templates. '''''(since 0.11)''''' 137 140 * `site.html` - method to customize header, footer, and style, described in TracInterfaceCustomization#SiteAppearance 138 141 139 '''Note: don't confuse a Trac environment directory with the source code repository directory. 140 It happens that the above structure is loosely modelled after the Subversion repository directory 141 structure, but they are not and ''must not'' be located at the same place.''' 142 '''Caveat:''' ''don't confuse a Trac environment directory with the source code repository directory.'' 143 144 This is a common beginners' mistake. 145 It happens that the structure for a Trac environment is loosely modelled after the Subversion repository directory 146 structure, but those are two disjoint entities and they are not and ''must not'' be located at the same place. 142 147 143 148 ----