Project

General

Profile

PluginGitosis » History » Version 4

Silviu Paragina, 2010-04-22 18:24

1 1 Jan from Planio www.plan.io
h1. Gitosis Plugin
2
3
A Redmine plugin which manages your gitosis configuration based on your projects and memberships in Redmine. Includes Public Key management views (extracted from "Planio":http://plan.io). 
4
5
h2. Features
6
7
* Updates your Gitosis config (create repos, add keys, add access privileges)
8
* Allows users to upload public keys
9
10
h2. Getting the plugin
11
12
Please head over to "GitHub":http://github.com/rocket-rentals/redmine-gitosis to fetch the latest version.
13
14
h2. Release notes
15
16
This plugin is provided as is and experimental. It works great in production for "Planio":http://plan.io, but we don’t guarantee it will work for you. 
17
18 4 Silviu Paragina
h2. Installation notes
19 2 Silviu Paragina
20 3 Silviu Paragina
* make sure the plugin folder is named redmine_gitosis and not redmine-gitosis (note "_" vs "-")
21
* you must setup a key with gitosis-admin write rights and copy it to /path/to/redmine/vendor/plugins/redmine_gitosis/extra/ssh/private_key
22
** for some misterious reason I had to copy the key in ~/.ssh/id for the user running passenger (but under mongrel it wasn't required)
23
* edit /path/to/redmine/vendor/plugins/redmine_gitosis/lib/gitosis.rb and fix the following
24
** GITOSIS_URI - this should be the uri for retrieving the gitosis-admin repository
25
** GITOSIS_BASE_PATH - this should be set to the path where gitosis stores the repositories (used for repository deletes only)
26
* after install each user should have a link, on the my account page, right next to the change password link
27 2 Silviu Paragina
28 1 Jan from Planio www.plan.io
h2. Resources & related discussion
29
30
* Ticket on redmine.org: #2525
31
* Forum thread: http://www.redmine.org/boards/1/topics/9909
32
33
h2. License
34
35
MIT
36
37
h2. Author
38
39
Jan Schulz-Hofen, "ROCKET RENTALS GmbH":http://rocket-rentals.de