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 / 6


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

15911 by jun66j5 on 2016-10-12 08:52:50
TracPygit2Plugin: fix raising AttributeError with pygit2 v0.22.1+
14471 by jun66j5 on 2015-02-28 00:49:32
TracPygit2Plugin: tweaked and added unit tests
14437 by jun66j5 on 2015-02-20 08:30:27
TracPygit2Plugin: follow-up to r14434, fixed wrong entry_points in


Author: jun66j5
Maintainer: Jun Omae

Last modified 8 years ago Last modified on Sep 17, 2016, 9:59:48 PM