HowTo configure Redmine for advanced Subversion integration
Version 4 (Serafim J Fagundes, 2010-12-09 23:37)
| 1 | 1 | Mischa The Evil | h1. HowTo configure Redmine for advanced Subversion integration |
|---|---|---|---|
| 2 | 1 | Mischa The Evil | |
| 3 | 1 | Mischa The Evil | These HowTos are intended for those who want to automate SVN repository creation and rights management. They require some system administration skills. |
| 4 | 1 | Mischa The Evil | |
| 5 | 4 | Serafim J Fagundes | _Note: These HowTos are useless for those who simply want to browse existing repositories from within Redmine (like "this one":http://www.redmine.org/repositories/show/1). To do so, make sure that the svn binaries are installed on the Redmine host on a publicly attainable folder. Now go to the project settings to configure the path to the repository._ |
| 6 | 1 | Mischa The Evil | |
| 7 | 1 | Mischa The Evil | There are basically two ways to automate SVN repository management: |
| 8 | 1 | Mischa The Evil | |
| 9 | 1 | Mischa The Evil | # using apache/mod_dav_svn/mod_perl |
| 10 | 1 | Mischa The Evil | # using pam modules and nss (the historical, deprecated one) |
| 11 | 1 | Mischa The Evil | |
| 12 | 1 | Mischa The Evil | h3. Using apache/mod_dav_svn/mod_perl |
| 13 | 1 | Mischa The Evil | |
| 14 | 1 | Mischa The Evil | Basically, the first way is handled only by apache/mod_dav_svn and mod_perl, it should work on Windows and Unix. You need moderate Apache skills. It is far simpler and faster to configure and, unless you have very big repositories, many repositories or you really don't want to use mod_perl, is the best way (at least imho). |
| 15 | 1 | Mischa The Evil | |
| 16 | 1 | Mischa The Evil | To follow the preferred, first way: |
| 17 | 1 | Mischa The Evil | |
| 18 | 3 | Mischa The Evil | * Step 1: [[HowTo Automate repository creation]] |
| 19 | 1 | Mischa The Evil | * Step 2: [[Repositories access control with apache, mod_dav_svn and mod_perl]] |
| 20 | 1 | Mischa The Evil | |
| 21 | 1 | Mischa The Evil | h3. Using pam modules and nss |
| 22 | 1 | Mischa The Evil | |
| 23 | 1 | Mischa The Evil | The second way means configuring pam modules to allow project members read/write access, svnserve to allow anonymous users to read public projects and apache/mod_dav to allow Redmine browsing. It works only on Unix with pam modules and a MySQL database. You need quite some large sysadmin skills. |
| 24 | 1 | Mischa The Evil | |
| 25 | 2 | Mischa The Evil | If you do want to follow the hard way: |
| 26 | 2 | Mischa The Evil | * [[HowTo to handle SVN repositories creation and access control with Redmine]] |
| 27 | 2 | Mischa The Evil | * [[HowTo to handle SVN repositories creation and access control with Redmine (part 2)]] |