wiki:TracPygit2Plugin

Pygit2 integration for Git repository on Trac 1.6+

Description

This is a plugin using pygit2 for Git repository on Trac 1.6+. 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.

defect

5 / 6

Download

Download the zipped source from here.

Source

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

Installation

  1. Install the pygit2 library:
    pip install pygit2
    
  2. Install this plugin:
    pip install https://trac-hacks.org/svn/tracpygit2plugin/trunk
    
  3. Enable the plugin in your trac.ini file:
    [components]
    tracext.pygit2.* = enabled
    

Recent Changes

18705 by jun66j5 on 2025-08-18 08:05:00
TracPygit2Plugin: migrate setuptools.setup to pyproject.toml except settings for catalog commands
18704 by jun66j5 on 2025-08-14 02:13:22
TracPygit2Plugin: add package namespace declaration (closes #13400)

Patch by: Ryan J Ollos

18703 by jun66j5 on 2025-08-14 01:51:29
TracPygit2Plugin: adapt to Python 3, Trac 1.6 and pygit2 1.18.x
(more)

Author/Contributors

Author: jun66j5
Maintainer: Jun Omae
Contributors:

Last modified 12 days ago Last modified on Aug 14, 2025, 2:15:16 AM