trac-github is a Trac plugin that provides three features:
- update Trac's database after each commit on GitHub — by doing the equivalent of trac-admin TRAC_ENV changeset added ...;
- update a local clone of a GitHub repository after each commit (optional);
- replace Trac's built-in browser by GitHub's (optional).
Featurewise this is equivalent to https://github.com/davglass/github-trac but it has no external dependencies and makes better use of APIs in Trac >= 0.12.
Setup
[components]
trac.versioncontrol.web_ui.browser.BrowserModule = disabled
trac.versioncontrol.web_ui.changeset.ChangesetModule = disabled
trac.versioncontrol.web_ui.log.LogModule = disabled
tracext.git.* = enabled
tracext.github.* = enabled
[github]
autopull = enabled
repository = < user >/< project >
token = < secret token >
Product's homepage
Requirements:
· Python
· Trac
What's New in This Release: [ read full changelog ]
· Add support for cached repositories.