PluginGitosis » History » Version 4

Silviu Paragina, 2010-04-22 18:24

1 1 Jan from Planio www.plan.io
h1. Gitosis Plugin
2 1 Jan from Planio www.plan.io
3 1 Jan from Planio www.plan.io
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 1 Jan from Planio www.plan.io
5 1 Jan from Planio www.plan.io
h2. Features
6 1 Jan from Planio www.plan.io
7 1 Jan from Planio www.plan.io
* Updates your Gitosis config (create repos, add keys, add access privileges)
8 1 Jan from Planio www.plan.io
* Allows users to upload public keys
9 1 Jan from Planio www.plan.io
10 1 Jan from Planio www.plan.io
h2. Getting the plugin
11 1 Jan from Planio www.plan.io
12 1 Jan from Planio www.plan.io
Please head over to "GitHub":http://github.com/rocket-rentals/redmine-gitosis to fetch the latest version.
13 1 Jan from Planio www.plan.io
14 1 Jan from Planio www.plan.io
h2. Release notes
15 1 Jan from Planio www.plan.io
16 1 Jan from Planio www.plan.io
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 1 Jan from Planio www.plan.io
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 3 Silviu Paragina
* 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 3 Silviu Paragina
** 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 3 Silviu Paragina
* edit /path/to/redmine/vendor/plugins/redmine_gitosis/lib/gitosis.rb and fix the following
24 3 Silviu Paragina
** GITOSIS_URI - this should be the uri for retrieving the gitosis-admin repository
25 3 Silviu Paragina
** GITOSIS_BASE_PATH - this should be set to the path where gitosis stores the repositories (used for repository deletes only)
26 3 Silviu Paragina
* 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 1 Jan from Planio www.plan.io
30 1 Jan from Planio www.plan.io
* Ticket on redmine.org: #2525
31 1 Jan from Planio www.plan.io
* Forum thread: http://www.redmine.org/boards/1/topics/9909
32 1 Jan from Planio www.plan.io
33 1 Jan from Planio www.plan.io
h2. License
34 1 Jan from Planio www.plan.io
35 1 Jan from Planio www.plan.io
MIT
36 1 Jan from Planio www.plan.io
37 1 Jan from Planio www.plan.io
h2. Author
38 1 Jan from Planio www.plan.io
39 1 Jan from Planio www.plan.io
Jan Schulz-Hofen, "ROCKET RENTALS GmbH":http://rocket-rentals.de