I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Bug #2385

cannot create Repository anymore (URL should be of Format "file:///var/local/svn/<Repository>/")

Added by Jonas Götze over 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Major
Assignee:
Target version:
Start date:
16 Jun 2015
Due date:
% Done:

100%

Redmine version:
External issue:

Description

Though I am using a correct repository URL like this one
file:///var/local/svn/my_repository
SCM tells my that URL should be of Format “file:///var/local/svn/<Repository>/”
I changed the regex in lib/creator//subversion_creator.rb#43 to
matches = Regexp.new("^file://#{Regexp.escape(base)}/([^/]+)/?$").match(path) (mind the ^ and $ instead of \A and \z) and it accepts the URL.

Repository creation still fails with “Redmine based authentication can not be used with this repository name.”

Any clues why? Sadly I am not a Ruby Expert.

Redmine version 2.6.4.stable.14229
Ruby version 2.0.0-p451 (2014-02-24) [x86_64-linux]
Rails version 3.2.21
SCM:
Subversion 1.7.10
Redmine plugins:
redmine_scm 0.5.1 (latest from SVN)


Related issues

Duplicates SCM Creator (+Github) - Bug #2361: Error received when creating new repository Closed 25 Feb 2015

Associated revisions

Revision 143 (diff)
Added by Andriy Lesyuk about 4 years ago

Regexp and other code fixes

History

#1 Updated by Jonas Götze over 5 years ago

Repository creation still fails with “Redmine based authentication can not be used with this repository name.”

Fixed that one. Was not aware that the project name and repository name should match.

#2 Updated by Andriy Lesyuk about 4 years ago

  • Status changed from New to Closed

Sorry, guys! This issue has been fixed in r143.

#3 Updated by Andriy Lesyuk about 4 years ago

  • Priority changed from Normal to Major
  • Target version set to 0.5.1
  • % Done changed from 0 to 100

Also available in: Atom PDF

Terms of use | Privacy policy