Append username to project url and project repository path

Issue #54 resolved
User 259a3 created an issue

Hi,

if I have a project named "my_projet" and my user name is "harobed", currently the RhodeCode url is something like this : "http://example.com/my_project/".

My suggest is to append username in the repository path, like this "/harobed/my_project". Then other users can handle a project with the same name (here "my_project").

If Repositories location is "/home/hg/main/", on the file system, the repository path would be "/home/hg/main/harobed/my_project/". With user "foobar" : "/home/hg/main/foobar/my_project/".

What do you think about this suggestion ?

Regards,
Stephane

Comments (3)

  1. Marcin Kuzminski repo owner

    Hmm some of my main goals was to not have this. I find it annoying if i have to know both username and project name when cloning an repo. It works for bb or github, but rhodecode aim's to be something different.

    I see no problem for user to have the same repository named little differently .e.g repo1 and repo1-fork. You cna see all Your repos when You click Your name in the top (next to logout button).

    One idea that came to my mind is that there could be something like special link.

    http://somehost/_username

    That will display the main page but with repositories only for this user.

  2. Marcin Kuzminski repo owner

    I'm closing this one since, repo groups in my opinion is a better solution, and will do what this proposal introduced

  3. Log in to comment