GitXplorerGitXplorer
w

TracGitLocation

public
3 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
c1a6a5fc12fbac5ffb3b39a0b5a00aa7f6c85cdf

point out that the info is in fact static with git and therefore much less useful, yet still handy for the main use-case. of course, this could have also been done with a simple rule in `site.html`, but you have to write a trac plugin at some point... :)

wwitsch committed 15 years ago
Unverified
dd779cfcd1f19238514a84880754c4632c9f0a31

might as well mark this to be stable

wwitsch committed 15 years ago
Unverified
77b91d95aa1a519b22c64e06be87a205bf15fc61

update docs

wwitsch committed 15 years ago
Unverified
22d038bea76dbb754340b6d1663147c769b93c70

change git info to be presented in a (read-only) input field as most git URLs are not http links anyway

wwitsch committed 15 years ago
Unverified
19bbf929b01ac18607894bc49f74d0c459e24c94

migrate from subversion to git, or iow `s/svn/git/g`

wwitsch committed 15 years ago
Unverified
6dbf969ee842f63bbb4146aa0fd8f2202f41c046

use [http://weblion.psu.edu/ weblion]'s [http://trac-hacks.org/wiki/SubversionLocationPlugin subversion location plugin] for [http://trac.edgewall.org/ trac] as a base for a similar plugin for [http://git-scm.com/ git], i.e. copy the current [https://weblion.psu.edu/svn/weblion/weblion/weblion.psu.edu/subversionlocationplugin/trunk trunk]

wwitsch committed 15 years ago

README

The README file for this repository.

= Git Location Plugin =

== Description ==

Adds the Git Location to the contextual navigation under Browse Source. Even though with Git this info is static, i.e. it doesn't change depending on which folder is browsed in Trac, it still comes in handy for making checkouts and such.

[[Image(screenshot.png)]]

== Installation ==

Follow the normal [http://trac.edgewall.org/wiki/TracPlugins 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 [http://github.com/witsch/TracGitLocation/ 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' [http://trac-hacks.org/wiki/SubversionLocationPlugin Subversion Location plugin] and therefore also based on jhammel's [http://trac-hacks.org/wiki/SvnUrlsPlugin SvnUrlsPlugin]. Thanks, Erik & jhammel!

== Version History ==

1.0:: Initial release