Changes between Version 3 and Version 4 of GitLocationPlugin
- Timestamp:
- Nov 3, 2015, 9:50:31 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GitLocationPlugin
v3 v4 1 = Git Location Plugin = 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = = Description ==3 = Git Location Plugin 4 4 5 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. 5 == Description 6 7 This plugin adds the Git Location to the contextual navigation under Browse Source. Even though with Git this info is static, ie it doesn't change depending on which folder is browsed in Trac, it still comes in handy for making checkouts and such. 6 8 7 9 [[Image(screenshot.png)]] 8 10 9 == Installation == 11 == Source 12 13 You can browser the source from [http://github.com/witsch/TracGitLocation/ github] using Git, or check it out via: 14 {{{#!sh 15 $ git clone git://github.com/witsch/TracGitLocation.git 16 }}} 17 18 == Installation 10 19 11 20 Follow the normal [http://trac.edgewall.org/wiki/TracPlugins egg installation procedures]. 12 21 13 22 Under the `[components]` section, enable the plugin: 14 {{{ 23 {{{#!ini 15 24 [components] 16 25 gitlocation.* = enabled … … 18 27 19 28 Finally, add a section to your project's trac.ini: 20 {{{ 29 {{{#!ini 21 30 [git] 22 31 repository_url = git@foo.com:foobar 23 32 }}} 24 33 25 == Source == 26 27 You can browser the source from [http://github.com/witsch/TracGitLocation/ github] using Git, or check it out via: 28 {{{ 29 $ git clone git://github.com/witsch/TracGitLocation.git 30 }}} 31 32 == Credits == 34 == Credits 33 35 34 36 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! 35 36 == Version History ==37 38 1.0::39 Initial release