|Version 46 (modified by 10 years ago) ( diff ),|
Version Control System
Starting with the 0.12 release, a given TracEnvironment can handle multiple repositories of the same or different versioning systems (see TracRepositoryAdmin). Also, nothing prevents you from setting up multiple Trac Environments on top of the same repository. This can be handy to manage separately different products which share the same code repository.
Other Versioning Systems
As mentioned in the TracHistory, Trac was inspired by CVSTrac, a project management and issue tracking system which uses CVS as its versioning system backend (and like Trac, it uses SQLite as its DatabaseBackend, which isn't surprising considering the fact that the author of CVSTrac is also the author of SQLite) (1).
The versioning systems which are supported by Trac out of the box,
- Subversion, provided the Python bindings for Subversion are installed. See TracSubversion for more details.
- Git, provided the
gitcommand line tools are installed. As an optional component for Trac, it needs to be enabled in the configuration. See TracGit for more details.
The other versioning systems known to work with Trac are:
- Mercurial, as a plugin for Trac (see TracMercurial)
- Darcs, with Trac+Darcs (see DarcsBackend, and also #638)
- Bazaar, also with Trac+Darcs since it also has support for Bazaar. Contrary to Darcs support, this only works for 0.9, since the original author of Bazaar support, Johan Rydberg, is not working on this any more. (see BzrngBackend) An attempt to support ≥0.10 versions is available at https://launchpad.net/trac-bzr
- Perforce, as a plugin for Trac (see PerforcePlugin), (see also ticket #257)
- Monotone, as a plugin for Trac, see TracMTN (beta), (see also #1492)
- CVSNT, as a plugin for Trac, see TracCvsntIntegrationPlugin (PRE-ALPHA)
- VisualSVN integrates Subversion for Windows users (see TracOnWindows)
- If you're using something else, you're on your own…
In addition, there has been interest in the following systems:
SVK support(SVK is no longer maintained)
Arch support(Arch is no longer maintained)
- #2037: ClearCase support
- #2643: CVS support
- Another Git plugin developed for/by OLPC (One Laptop Per Child)
- TBD: darcs-git support for darcs-git backend might also be useful.
It should be mentioned that CVSTrac also aims to support more SCM backends, SVN and git being worked on.