Misleading warning message when creating a (sub)repository
Creating a new repository in project “test”, I used identifier “foo” and path "/scm/git/test.foo”
(in order to exploit redmine’s multiple repository support).
Still, after creation SCM creator complains with “Redmine based authentication can not be used with this repository name.”,
which is not really true (at least when using Redmine.pm with git smart protocol support).
#2 Updated by Lluís - over 8 years ago
I think git smart protocol support is not really involved in that, and Redmine.pm just strips
\..* from the end of the repository name in order to accept projects with multiple repositories. For example, access to
http://server/git/project.something is checked against
In fact, I’ve tried using SCM creator with a new repository identifier “foo” (for project “test”) and creating repository at "/home/code/git/test.bar”. I can access
http://server/git/test.bar, just because I’m part of project “test”, but
http://server/git/test.foo does not exist; so it looks like the identifier is just a nice thing to have when watching redmine’s web, but it’s not enforced (as redmine does not have per-repository security policies).