| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Use Gitorious as the source code hosting provider = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | This plugin is useful if the source code is hosted on Gitorious, instead of locally in Trac. |
| 8 | |
| 9 | The plugin changes the links to point to Gitorious instead of the built-in browser. It does not require the GitPlugin, but uses it if it's available. In this case, you should setup a local clone of your Gitorious repository, and keep it updated. |
| 10 | |
| 11 | == Bugs/Feature Requests == |
| 12 | |
| 13 | Existing bugs and feature requests for GitoriousPlugin are |
| 14 | [report:9?COMPONENT=GitoriousPlugin here]. |
| 15 | |
| 16 | If you have any issues, create a |
| 17 | [http://trac-hacks.org/newticket?component=GitoriousPlugin&owner=abompard new ticket]. |
| 18 | |
| 19 | == Download == |
| 20 | |
| 21 | Download the zipped source from [download:gitoriousplugin here]. |
| 22 | |
| 23 | == Source == |
| 24 | |
| 25 | You can check out GitoriousPlugin from [http://trac-hacks.org/svn/gitoriousplugin here] using Subversion, or [source:gitoriousplugin browse the source] with Trac. |
| 26 | |
| 27 | == Example == |
| 28 | |
| 29 | You must set it up in your [TracIni trac.ini] file by activating the component : |
| 30 | {{{ |
| 31 | [components] |
| 32 | gitorious.* = enabled |
| 33 | }}} |
| 34 | |
| 35 | and by defining the name of the project on Gitorious : |
| 36 | {{{ |
| 37 | [gitorious] |
| 38 | project = myproject |
| 39 | }}} |
| 40 | |
| 41 | You can also set the `repository` key to the name of your main repository on Gitorious. If you don't specify it, the same name as the project will be used. |
| 42 | |
| 43 | At the moment, it only supports links to the `master` branch. |
| 44 | |
| 45 | == Recent Changes == |
| 46 | |
| 47 | [[ChangeLog(gitoriousplugin, 3)]] |
| 48 | |
| 49 | == Author/Contributors == |
| 50 | |
| 51 | '''Author:''' [wiki:abompard] [[BR]] |
| 52 | '''Maintainer:''' [wiki:abompard] [[BR]] |
| 53 | '''Contributors:''' |