- Use gitolite HOSTNAME mechanism
- Add "hostname" info as mirror parameter
- Once hostname is defined
- Master hostname is assumed to be "master" (lowercase)
- tuleap generates:
- a gitolite.conf with [1] as content
- a master.conf with all gitolite repo (actually it's the previous "gitolite.conf", see [2])
- a file per mirror with mirror's hostname name (sfo in [3] exemple)
- a directory per project/mirror with the conf file for the project with the repo that must be mirrored on the project (and only those files)
- Plus other fixes to include:
- gitolite-admin should be updated when the permissions changes (same as request #8001)
[1] gitolite.conf content
include "%HOSTNAME.conf"
[2] example of master.conf
include "projects/mozilla.conf"
include "projects/eclipse.conf"
include "projects/apache.conf"
[3] example of sfo.conf
include "sfo/mozilla.conf"
include "sfo/apache.conf"