Edgewall Software

Changes between Version 1 and Version 2 of MultipleRepositorySupport


Ignore:
Timestamp:
Feb 3, 2008, 9:25:21 PM (16 years ago)
Author:
Christian Boos
Comment:

Link to additional details for configuration info

Legend:

Unmodified
Added
Removed
Modified
  • MultipleRepositorySupport

    v1 v2  
    55For now, there is support for the Mercurial (`hg`) and Subversion (`direct-svnfs`) type of repositories.
    66
    7 See: log:sandbox/multirepos
     7See:
     8 - log:sandbox/multirepos
     9 - log:sandbox/mercurial-plugin-0.12
    810
    911The approach is quite simple: beyond repository connectors, there's now repository providers (IRepositoryProvider components) which are responsible for make available a list of named repositories. That name can be arbitrary (in particular, it may contain '/' to denote a pseudo-hierarchy) and will be used as a prefix for any repository path.
    10 Actually, a more complete description of the approach can be found in this mail: googlegroups:trac-users:14ca95377e4a53b5 One trac env for X repositories ?].
     12Actually, a more complete description of the approach can be found in this mail: [googlegroups:trac-users:14ca95377e4a53b5 One trac env for X repositories ?].
    1113
    1214If the only repository known is the default one (i.e. the one defined in TracIni, section `[trac] repository_...`), then Trac behaves exactly as before.
    13 But `IRepositoryProvider` components can make other repositories available. In particular, the default `RepositoryManager` itself provides a list of repositories listed in a new `[repositories]` section in TracIni.
     15But `IRepositoryProvider` components can make other repositories available. In particular, the default `RepositoryManager` itself provides a list of repositories listed in a new `[repositories]` section in TracIni. See r6447 for more details.
    1416
    1517
    1618= TODO =
    1719 - currently, a default repository ''needs'' to be defined, otherwise the versioncontrol modules are disabled
     20 - fix AJAX query in annotate
    1821 - extend to cached repositories
    1922 - IRepositoryProvider must have a way to signal new content, in order to rebuild the repository name cache