Defect #5020

Advanced Subversion Integration Howto is confusing

Added by Kirk Stork over 9 years ago.

Status:NewStart date:2010-03-09
Priority:NormalDue date:
Assignee:Mischa The Evil% Done:

0%

Category:Documentation
Target version:-
Resolution: Affected version:0.9.2

Description

The howto HowTo Automate repository creation is confusing with respect to required software, and inconistent with respect to the reposman.rb arguments.

I would just edit the wiki, but I haven't been able to get this working, so obviously I'm not qualified to do that.

Examples:

  1. Is a perl module required or not? If so, what is it and where does one get it? The howto mentions a perl module and suggests it is needed, but then says the new reposman.rb supersedes it. I don't have one installed, but I can't tell if this is the source of my troubles or not.
  2. The argument 'key' is listed as a required argument, but does not appear in the example command lines. Is it required or not?
  3. The argument 'redmine-host' is listed as a mandatory argument, but the examples do not use it (they use 'redmine'). Which of these is correct?

Additionally, it would be helpful to address the case where the redmine installation is in a sub-url, like

http://my.server.com/redmine

Does the howto apply to that case? What is the proper way to specify the 'redmine-host' argument in this case?

When following the instructions to the best of my ability (using the optional argument --owner _www on OSX server), i get the error

sudo ruby reposman.rb --redmine-host my.server.com/redmine --svn-dir /Library/Repositories/svn/ --key keymaterial --owner _www

unable to create /Library/Repositories/svn/project name : can't find group for root

Is it me, or is it the howto?

Finally, the section on security suggests there's a need to make a httpd.conf entry to secure the WS. But there's no mention of the key in this discussion. Isn't the key the means to secure the web service? With a key in use, is the <Location> entry needed? If so, should it look like the one presented?

Thanks - clearly if I could this working it makes a powerful combination and an important feature for Redmine.

Database: Ver 14.12 Distrib 5.0.82, for apple-darwin10.0 (i386) using EditLine wrapper
Ruby: ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
Rails 2.3.5
svn, version 1.6.5 (r38866)

Also available in: Atom PDF