Edgewall Software

Changes between Version 2 and Version 3 of 0.12/TracEnvironment


Ignore:
Timestamp:
Feb 3, 2010, 12:39:24 PM (14 years ago)
Author:
Christian Boos
Comment:

#SourceCodeRepository now refers to TracRepositoryAdmin

Legend:

Unmodified
Added
Removed
Modified
  • 0.12/TracEnvironment

    v2 v3  
    9595== Source Code Repository ==
    9696
    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.
     97Since 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`).
    9998
    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).
     99If 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]
     103trac.versioncontrol.* = disabled
     104}}}
    102105
    103106For some systems, it is possible to specify not only the path to the repository,
     
    106109Trac supports this; for other types, check the corresponding plugin's documentation.
    107110
    108 Example of a configuration for a Subversion repository:
     111Example of a configuration for a Subversion repository used as the default repository:
    109112{{{
    110113[trac]
     
    133136 * `htdocs` - directory containing web resources, which can be referenced in Genshi templates. '''''(since 0.11)'''''
    134137 * `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])
    136139 * `templates` - Custom Genshi environment-specific templates. '''''(since 0.11)'''''
    137140   * `site.html` - method to customize header, footer, and style, described in TracInterfaceCustomization#SiteAppearance
    138141
    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
     144This is a common beginners' mistake.
     145It happens that the structure for a Trac environment is loosely modelled after the Subversion repository directory
     146structure, but those are two disjoint entities and they are not and ''must not'' be located at the same place.
    142147
    143148----