kubitron / redmine_git_hosting

A ChiliProject/Redmine plugin which makes configuring your own git hosting easy.
78 stars 15 forks source link

Make repo names independent of project names. #94

Open crocket opened 12 years ago

crocket commented 12 years ago

Since project identifiers have to be unique, I can't choose repo names that I want.

If repo names were completely independent of project names, users would be happier.

repo names could be suggested by auto completion, but it should be independent of project names.

kubitron commented 12 years ago

I've marked this as a feature request. As I mentioned before, may be a while until I do this (requires significant changes to way that plugin works, want to migrate to Redmine 2.0 first).

kubitron commented 11 years ago

Ok. Have been thinking a bit more about this request.

Question: what happens if you point at the same repository with two different projects? Should the access control be the union of those two repos?

crocket commented 11 years ago

I don't know if there would be a reason for pointing at the same repository from two different projects.

My guess 1) Intersection won't work 2) Union wouldn't work, either if two projects contain conflicting access permissions for the same user.

Maybe it's better to not allow two projects to point at the same repository.

alesak commented 11 years ago

I just installed your great plugin, but no one from current repositories is accessible anymore!!! I already had plenty of repositories configured which don't use any folders as I keep them unique in whole gitolite installation but right now your plugin created plenty new emty repositories instead using already configured. Is there any option to disable this behavior, I don't need any hierarchy in repositories and I cannot change current repo to new folders as it will break everyone using it right now. We definitely need option to disable this and keep repo as: git@git.server.com:repository-id can you suggest any temporary quick solution as right now I have broken all repositories?