Project

General

Profile

Actions

Defect #15984

closed

Error register git repositories with script reposman.rb

Added by Martin Llanos over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

SCM Git
Error Error register git repositories with script reposman.rb, path incorrect
/opt/redmine/ruby/bin/ruby /opt/redmine/apps/redmine/htdocs/extra/svn/reposman.rb -r homero -s \
/opt/redmine/repository/git -o root -g daemon -c "/opt/redmine/git/bin/git --bare init --shared " \ 
-u /opt/redmine/repository/git --scm Git --key=1t0qso8YjDKRsY3vFJjL -v >> \ 
/opt/redmine/apache2/logs/reposman_git.log
  • Actually Redmine precise path as /local_path/repository/git format, not file:///local_patch/repository/git
Actions #1

Updated by Martin Llanos over 11 years ago

  • Status changed from New to Resolved

Resolved,
I was not using it correctly.
We must change the identifier on the line $scm
Change by 'Subversion' 'Git', file reposman.rb

Version = "1.4" 
SUPPORTED_SCM = %w( Subversion Darcs Mercurial Bazaar Git Filesystem )

$verbose      = 0
$quiet        = false
$redmine_host = ''
$repos_base   = ''
$svn_owner    = 'root'
$svn_group    = 'root'
$use_groupid  = true
$svn_url      = false
$test         = false
$force        = false
$scm          = 'Git'
Actions #2

Updated by Toshi MARUYAMA over 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF