Pygit2 integration for Git repository on Trac 0.12+


This is a plugin using pygit2 for Git repository on Trac 0.12+. pygit2 is a set of Python bindings to the libgit2 shared library, where libgit2 implements the core of Git.

This plugin adds an alternative Git repository connector to Trac core and has good performance.

Bugs/Feature Requests

Existing bugs and feature requests for TracPygit2Plugin are here.

If you have any issues, create a new ticket.


2 / 2


0 / 1


Download the zipped source from here.


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


  1. Install the pygit2 library:
    easy_install pygit2
    Note: if you are using Python 2.4 or 2.5, try to install which is ported to Python 2.4 and 2.5.
  2. Install this plugin:
  3. Enable the plugin in your trac.ini file:
    tracext.pygit2.* = enabled

Recent Changes

14471 by jun66j5 on 2015-02-28 01:49:32
TracPygit2Plugin: tweaked and added unit tests
14437 by jun66j5 on 2015-02-20 09:30:27
TracPygit2Plugin: follow-up to r14434, fixed wrong entry_points in
14436 by jun66j5 on 2015-02-19 17:45:54
TracPygit2Plugin: fixed not working sync() when only root commit


Author: jun66j5
Maintainer: Jun Omae <jun66j5 at>

Last modified 2 months ago Last modified on Mar 23, 2016, 7:21:01 PM