User Tools

Site Tools


tutorials:redmine_svn_integration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:redmine_svn_integration [2009/10/25 23:46]
razvan
tutorials:redmine_svn_integration [2020/07/20 09:16] (current)
Line 1: Line 1:
-= Redmine and Subversion integration =+====== Redmine and Subversion integration ======
  
-* This tutorial is about using native Redmine accounts for Subversion repository access. +   This tutorial is about using native Redmine accounts for Subversion repository access. 
-* Useful links +   Useful links 
-*[[http://www.redmine.org/|Redmine]] +     [[http://www.redmine.org/|Redmine]] 
-*[[http://subversion.tigris.org/|Subversion]] +     [[http://subversion.tigris.org/|Subversion]] 
-*[[http://www.redmine.org/wiki/redmine/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl|Repository acces control with Apache, mod_dav, svn and mod_perl]]+     [[http://www.redmine.org/wiki/redmine/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl|Repository acces control with Apache, mod_dav, svn and mod_perl]]
  
-== System settings ==+===== System settings =====
  
-* Debian GNU/Linux 5.0 Lenny, Apache2, MySQL5, Redmine 0.8<code>+   Debian GNU/Linux 5.0 Lenny, Apache2, MySQL5, Redmine 0.8<code>
 koala:~# cat /etc/issue koala:~# cat /etc/issue
 Debian GNU/Linux 5.0 \n \l Debian GNU/Linux 5.0 \n \l
Line 28: Line 28:
 </code> </code>
  
-* Redmine installation folder is {{{/usr/local/lib/redmine-0.8}}}.+   Redmine installation folder is {{{/usr/local/lib/redmine-0.8}}}.
  
  
-== First steps ==+===== First steps =====
  
-* install required packages<code>+   install required packages<code>
 apt-get install libapache2-svn libapache-dbi-perl libapache2-mod-perl2 libdbd-mysql-perl libdigest-sha1-perl apt-get install libapache2-svn libapache-dbi-perl libapache2-mod-perl2 libdbd-mysql-perl libdigest-sha1-perl
 </code> </code>
-* enable Apache2 modules<code>+   enable Apache2 modules<code>
 a2enmod dav a2enmod dav
 a2enmod dav_svn a2enmod dav_svn
Line 42: Line 42:
 </code> </code>
  
-== Apache2 configuration ==+===== Apache2 configuration =====
  
-* Perl module configuration<code>+   Perl module configuration<code>
 koala:~# cd /usr/lib/perl5/Apache/ koala:~# cd /usr/lib/perl5/Apache/
 koala:/usr/lib/perl5/Apache# ln -sf /usr/local/lib/redmine-0.8/extra/svn/Redmine.pm . koala:/usr/lib/perl5/Apache# ln -sf /usr/local/lib/redmine-0.8/extra/svn/Redmine.pm .
 </code> </code>
-*It's {{{/usr/lib/perl5/Apache/}}}, **not** {{{/usr/lib/perl5/Apache2/}}} +     It's {{{/usr/lib/perl5/Apache/}}}, **not** {{{/usr/lib/perl5/Apache2/}}} 
-* Add the following lines to the Apache2 site configuration file<code>+   Add the following lines to the Apache2 site configuration file<code>
  PerlLoadModule Apache::Redmine  PerlLoadModule Apache::Redmine
  <Location /svn/redmine>  <Location /svn/redmine>
Line 72: Line 72:
 Replace {{{databasename}}}, {{{my.db.server}}}, {{{"redmine"}}} and {{{"password"}}} with valid data. Replace {{{databasename}}}, {{{my.db.server}}}, {{{"redmine"}}} and {{{"password"}}} with valid data.
  
-== Git integration ==+===== Git integration =====
  
-=== Prepare ===+==== Prepare ====
  
-* Enable {{{dav_fs}}} module<code>+   Enable {{{dav_fs}}} module<code>
 a2enmod dav_fs a2enmod dav_fs
 </code> </code>
-* Add the following lines to the Apache2 site configuration file<code>+   Register repositories in Apache2<code> 
 +./reposman.rb -s /var/git/redmine/ --owner www-data -r http://koala.cs.pub.ro/redmine -u http://koala.cs.pub.ro/git/redmine --scm git -f 
 +</code> 
 +  *  Add the following lines to the Apache2 site configuration file<code>
  Alias /git/redmine /var/git/redmine/  Alias /git/redmine /var/git/redmine/
  <Location /git/redmine>  <Location /git/redmine>
tutorials/redmine_svn_integration.1256507195.txt.gz · Last modified: 2009/10/25 23:46 by razvan