wiki:TracCgitPlugin

A CGit web frontend for Git embedded in Trac

Description

This plugin allows you to replace the Trac browser by CGit, a web frontend for Git repositories written in C. CGit itself is licensed under GPLv2.

Configure the web address (URL) in the cgit ini panel and TracCGit will replace the Trac source browser, provided you have a working CGit installation setup.

CGit summary embedded in Trac:

cgit summary embedded in trac

Bugs/Feature Requests

The project is hosted at https://gitlab.com/fhuberts/rpms

Existing bugs and feature requests for TracCgitPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

The plugin is also available under Fedora as trac-CGit-plugin.

Source

You can check out TracCgitPlugin from here using HTTPS, or browse the source.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Configuration

Graphical configuration

Configure the URL in the cgit ini panel and TracCGit will replace the Trac source browser, provided you have a working CGit installation setup.

The admin panel:

admin panel

Textual configuration

The configuration settings that are shown in the screenshot of the admin panel can also be set in the trac.ini file:

[components]
cgit.* = enabled

[cgit]
cgit_redirect = false
cgit_url = /some/cgit/URL/to/your/project

Author/Contributors

Author: fhuberts
Maintainer: Ferry Huberts
Contributors:

Last modified 3 years ago Last modified on Mar 24, 2022, 8:01:01 AM

Attachments (2)

Download all attachments as: .zip