Hi,
maybe some of you have seen that I talked in the channel to Antonio whether we should migrate to a different solution to serve our git repositories. This is (in my opinion) a good idea because gitosis [1] (the software that we are currently using) isn't maintained anymore and will be dropped [2] in the next version of Debian. My preferred replacement is gitolite [3].
I already talked with Simon and discussed what side effect this could have. Maybe side effects is not the correct word to describe it... lets call it options. Gitolite allows to define access rights for refs. For people that are not familiar with the storage in git: You can for example say that people can only commit to branches with a specific prefix.
Just to give an example. We want that only the release team can create tags -> refs/tags/ is only marked for the release team as read-write. Now we have more interesting features like ordex is only allowed to write in branches starting with ordex/ -> refs/heads/ordex/ is marked as rw for ordex.
Now the question is: Do we want to use this feature or not. We had following ideas:
1. 1 repository per project
use only one repo for each project (batman-adv, batctl, batmand, ...) and use branch namespaces for individual users: * master, next, maint for the main stuff * ordex/ (for example ordex/dat), hundeboll/, ... for users * tags only for release team
2. 2 repositories per project
use one official repo for each project (batman-adv, batctl, batmand, ...) and one for other people * master, next, maint in both repos (synced from the main one) * ordex/ (for example ordex/dat), hundeboll/, ... for users in the second repo * tags in both repositories allowed (but in the second repo only with user prefix)
3. 1+x repositories per project
Keep everything like now * master, next, maint for the main stuff * each user has his own copy of the main repo in his user folder * tags can freely commit in his own repo
Special repositories with big differences like linux-merge are kept in a special repository.
Any other suggestions? Do you prefer any idea? Please also add other ideas like "user folder names for idea 3 have to start with a ~ and non-user folder names have to start with a +".
Kind regards, Sven
[1] https://github.com/tv42/gitosis [2] http://packages.qa.debian.org/g/gitosis/news/20110909T215628Z.html [3] https://github.com/sitaramc/gitolite