Advanced SVN Integration
Added by Steele Price over 15 years ago
Could someone please update the Wiki for this.
I am using method #1 and it works fine for acceess from outside redmine using http://mydomain/svn/project
The confusing part is how do I set redmine internally for Access under this scenario?
The root folder seems unbrowsable, I have project - trunk/tags/branches, but only a subfolder is visible.
When NOT using advanced integration this seems to work ok.
Should I create a ReadOnly user and assign this user on the Repositories tab or do I still use 2 URLs?
There is no clear documentation about how to set the repository inside redmine with this scenario.
Using repoman.rb does NOT add the repository tab, so I am assuming this is a manual step.
We are using 0.8.1 (stable)
There is further confusion about the proper way to set the Balancer - one method uses a ProxyPass, another uses mod_rewrite.
It would be good to have a clear definitive direction for this.
Here is my site config for Apache:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
LoadFile "c:\Perl\bin\perl510.dll"
LoadModule perl_module modules/mod_perl.so
PerlLoadModule Apache::Redmine
ProxyPass /redmine balancer://redminecluster
ProxyPassReverse /redmine balancer://redminecluster
<Proxy balancer://redminecluster>
BalancerMember http://127.0.0.1:3001/redmine
BalancerMember http://127.0.0.1:3002/redmine
</Proxy>
CustomLog logs/svn.log "%t %u %{SVN-ACTION}e" env=SVN-ACTION
<Location /svn>
DAV svn
SVNParentPath "c:\repository"
SVNListParentPath on
AuthType Basic
Authname "SVN repository"
Require valid-user
Allow from all
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
- for mysql
RedmineDSN "DBI:mysql:database=redmine;host=localhost"
RedmineDbUser "redmine"
RedmineDbPass "xxxxxxsanitized"
</Location>
Thanks,
Steele Price
Replies (1)
RE: Advanced SVN Integration - Added by Steele Price over 15 years ago
furthermore:
I am getting this error when trying to browse the repository from redmine:
No close tag for /lists/list
Line:
Position:
Last 80 unconsumed characters:
Output was:
<lists>
<list
path="http://localhost/svn/myproject">
Rendering template within layouts/base
Completed in 0.34400 (2 reqs/sec) | Rendering: 0.01600 (4%) | DB: 0.03100 (9%) | 500 Internal Server Error