Hardcoded SSH username on project create/edit form
Created by: akuznecov
Hello
Im using not default (not proposed by wiki/manuals) username for serving repositories through SSH. So, my shell user not "git" and urls looks like gitlab@server.name:reponame
But on project creation/edit page GitLab displays a default username. http://i.imgur.com/QHUMa.png I have checked a code and found that it is hardcoded:
$ grep -r 'git@' *
app/views/projects/_form.html.haml: %span.add-on= "git@#{GIT_HOST["host"]}:"
app/views/admin/projects/_form.html.haml: %span.add-on= "git@#{GIT_HOST["host"]}:"
After project creation it shown well: http://i.imgur.com/SJ3Yd.png
I think username should be also taken from config/gitlab.yml : git_user