wiki:GitLocationPlugin

Version 1 (modified by az@…, 5 years ago) (diff)

--

Git Location Plugin

Description

Adds a Git Location link to the contextual navigation under Browse Source. The link points to the Git URL for the folder you're viewing. This is very handy for making checkouts and such.

Installation

Follow the normal egg installation procedures.

Under the [components] section, enable the plugin:

[components]
gitlocation.* = enabled

Finally, add a section to your project's trac.ini:

[git]
repository_url = git@foo.com:foobar

Source

You can browser the source from github using Git, or check it out via:

$ git clone git://github.com/witsch/TracGitLocation.git

Credits

Git Location is a shameless rip-off of Erik Rose' Subversion Location plugin and therefore also based on jhammel's SvnUrlsPlugin. Thanks, Erik & jhammel!

Version History

1.0
Initial release

Attachments (1)

Download all attachments as: .zip