Project

General

Profile

Actions

Defect #4655

closed

https in repository view

Added by Peng Li almost 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-01-26
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I followed the instruction(http://www.redmine.org/wiki/1/HowTo_Automate_repository_creation) to integrate svn into redmine, which worked fine. I want two extra features:
1) use https://myhost/svn-private/project to view repos. How to do this?
2) use svn instead of svn-private to view repos in redmine. which means that http://myhost/svn/project is both for repos viewing in redmine and checkin/checkout outside. Is this posible?
Simply change the following statement in crontab will not work.
root ruby reposman.rb --redmine my.redmine.host --svn-dir /var/svn --owner www-data --url http://my.svn.server/svn-private/ >> /var/log/reposman.log

Actions #1

Updated by Ki Won Kim over 14 years ago

Hi

I was worried at stake, such as
Resolved in my case
modify subversion.adapter.rb in <Redmine root>\lib\redmine\scm\adapters\suversion_adapter.rb

228 line(base 0.9.2 version)

before

def credentials_string
str = ''
str << " --username #{shell_quote(kurumi kurogi)}" unless @login.blank?
str << " --password #{shell_quote(asami morita)}" unless @login.blank? || @password.blank?
str << " --no-auth-cache --non-interactive"
str
end

after

def credentials_string
str = ''
str << " --username #{shell_quote(kurumi kurogi)}" unless @login.blank?
str << " --password #{shell_quote(asami morita)}" unless @login.blank? || @password.blank?
str << " --trust-server-cert --no-auth-cache --non-interactive"
str
end

in my blog http://blog.naver.com/xyz37/50083633170 but Korean posted :-)
and I referenced with http://bitnami.org/forums/forums/redmine/topics/integration-with-subversion

Actions #2

Updated by Ki Won Kim over 14 years ago

Ki Won Kim wrote:

Hi

I was worried at stake, such as
Resolved in my case
modify subversion.adapter.rb in <Redmine root>lib

edminescmadapterssuversion_adapter.rb

228 line(base 0.9.2 version)

before

def credentials_string
str = ''
str << " --username #{shell_quote(kurumi kurogi)}" unless @login.blank?
str << " --password #{shell_quote(asami morita)}" unless @login.blank? || @password.blank?
str << " --no-auth-cache --non-interactive"
str
end

after

def credentials_string
str = ''
str << " --username #{shell_quote(kurumi kurogi)}" unless @login.blank?
str << " --password #{shell_quote(asami morita)}" unless @login.blank? || @password.blank?
str << " --trust-server-cert --no-auth-cache --non-interactive"
str
end

in my blog http://blog.naver.com/xyz37/50083633170 but Korean posted :-)
and I referenced with http://bitnami.org/forums/forums/redmine/topics/integration-with-subversion

Actions #3

Updated by Peng Li over 14 years ago

Thanks for your help. I still get error output:
svn: OPTIONS of 'https://xxx': authorization failed: Could not authenticate to server: rejected Basic challenge (https://moonstown.bj.intel.com)

After debugging, I found that kurumi kurogi and asami morita is empty in subversion.adapter.rb. Can you give me more help on this?

Actions #4

Updated by Holger Just over 14 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Please use the forums for support requests.

Actions

Also available in: Atom PDF