Friday, Jan 20th, 2012
Gitolite gives you finely grained access permission control for multi-user and multi-repo Git installations. To reduce future complexity and increase automation options, I've changed the gitolite.conf to accept multiple sub-conf files. The default gitolite.conf is:
repo gitolite-admin RW+ = admin repo testing RW+ = @all
I've changed it to:
repo gitolite-admin RW+ = admin repo testing RW+ = @all include "repos/*.conf"
Now I can create a directory titled repos and put separate files for each new repository in it. Example repos/project.conf file:
repo project RW+ = admin RW = @all
Note: If you get an "included file not found: " error when you try to push the changes. Then you've got an older version of gitolite that doesn't support wildcards. Follow the instructions to remove gitolite, and reinstall using the current github version.