Skript that creates SVN Repository
Added by Tempes 2k over 14 years ago
Our Redmine was configured from an admin that now doesn't work anymore with us.
Everthing works fine, also the created repositories.
We're know in case to create a knew SVN repo.
We created first a new project, and enabled SVN repository.
But i can renember, that there is a script to execute at the shell, thatt will create the repositories ?
is that right ? Which script is it ?
thanks for your help
tempes2k
Replies (2)
RE: Skript that creates SVN Repository - Added by Holger Just over 14 years ago
RE: Skript that creates SVN Repository - Added by Tempes 2k over 14 years ago
hey thanks holger
i tried to get this working
1A-7863:/usr/share/redmine/extra/svn# ./reposman.rb --svn-dir=/var/svn --redmine-host=*1A-7863* --scm=Subversion --url=https://pm.mydomain.de/svn g root -o www-data --verbose
DEPRECATION WARNING: require "activeresource" is deprecated and will be removed in Rails 3. Use require "active_resource" instead.. (called from /var/lib/gems/1.8/gems/activeresource-2.3.5/lib/activeresource.rb:2)
querying Redmine for projects...
/usr/lib/ruby/1.8/uri/generic.rb:195:in `initialize': the scheme http does not accept registry part: 1A-7863 (or bad hostname?) (URI::InvalidURIE rror)
from /usr/lib/ruby/1.8/uri/http.rb:78:in `initialize'
from /usr/lib/ruby/1.8/uri/common.rb:488:in `new'
from /usr/lib/ruby/1.8/uri/common.rb:488:in `parse'
from /var/lib/gems/1.8/gems/activeresource-2.3.5/lib/active_resource/base.rb:674:in `create_site_uri_from'
from /var/lib/gems/1.8/gems/activeresource-2.3.5/lib/active_resource/base.rb:263:in `site='
from ./reposman.rb:190
-------------
1A-7863:/usr/share/redmine/extra/svn# ./reposman.rb --svn-dir=/var/svn --redmine-host=*https://pm.mydomain.de* --scm=Subversion --url=https://pm.mydomain.de/svn -g root -o www-data --verbose
DEPRECATION WARNING: require "activeresource" is deprecated and will be removed in Rails 3. Use require "active_resource" instead.. (called from /var/lib/gems/1.8/gems/activeresource-2.3.5/lib/activeresource.rb:2)
querying Redmine for projects...
Unable to connect to https://pm.mydomain.de/sys/: Failed with 403 Forbidden
Questions:
as hostname i tried to use my local hostname 1A-7863 and my https://pm.mydomain.de
All allway get a error,
hope someone can imagine what the problem is... it should work because we have 4 Projects well working with Redmine and SVN Integration...
Everything should be fine...