Pygit2 integration for Git repository on Trac 0.12+


This is a plugin using pygit2 for Git repository on Trac 0.12+.

The goal of this plugin is to add to Trac core as an alternative of connector for git repository and to provide good enough performance.

Bugs/Feature Requests

Existing bugs and feature requests for TracPygit2Plugin are here.

If you have any issues, create a new ticket.


Download the zipped source from here.


You can check out TracPygit2Plugin from here using Subversion, or browse the source with Trac.


  1. Install pygit2 library.
    $ easy_install pygit2
  2. Install this plugin.
    $ easy_install
  3. Enable the plugin in trac.ini.
    tracext.pygit2.* = enabled

Recent Changes

[14285] by jun66j5 on 2014-11-28 17:48:37
TracPygit2Plugin: call setup() only if run as a script
[14284] by jun66j5 on 2014-11-28 17:44:12
TracPygit2Plugin: fixed failing unit tests with pygit2 0.21.4
[13908] by jun66j5 on 2014-05-06 20:09:24
TracPygit2Plugin: avoid NoSuchNode exceptions for submodule'd entry in GitNode.__init__ (refs #11732)


Author: jun66j5
Maintainer: jun66j5

Last modified 7 months ago Last modified on Apr 25, 2014, 7:04:47 PM