Git Plugin for Trac
Description
This is yet another plugin for Trac 0.10 which enables GIT to be used instead of Subversion for the trac:VersioningSystemBackend
Bugs/Feature Requests
As this is for now just a proof of concept implementation, it has quite some deficiencies, some of which exist as tickets already:
- #746
- Improve performance of GitPlugin
- #789
- Support for branches ?
- #983
- state public site using git plugin pls
- #1040
- support for multiple repos
…and other potential issues which aren't ticket-tracked yet:
- does not highlight sha1sums automatically
- will only work with filenames not containing newlines
- …
Existing bugs and feature requests for GitPlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from here.
Source
You can check out GitPlugin from here using Subversion, or browse the source with Trac.
Configuration
Simply point your Trac instance to a local git repository:
[trac] repository_dir = /var/git/Test.git repository_type = git
NOTE: "Test.git" needs to be the .git repo directory, not the directory that holds the .git
If installed globally, don't forget to enable the plugin:
[components] gitplugin.* = enabled
Recent Changes
[1536] by hvr on 11/11/06 20:04:33
some minor changes to allow for using branch names (and possibly also tag names) instead of revision numbers (e.g. in the View revision entry field);
see #789
[1380] by hvr on 10/14/06 23:11:11
make Storage.read_commit() return unicode objects, based on the encoding set via i18n.commitEncoding
fixes #801
[1322] by hvr on 09/29/06 23:03:36
yet another minor performance improvement for big repositories;
addresses #746
Author/Contributors
Author: Herbert Valerio Riedel
Contributors: