d08aca63ff
Apparently some people want gitolite-admin as a non-repo. Completely outside gitolite, managed by puppet or such, and leaving only symlinks for 'conf' and 'keydir' in $GL_ADMINDIR. But then when they have to run 'gl-setup', the 'git add' complains about the symlink. Hence this patch. ---- Meanwhile, if you're one of those puppet masters, here's the script I gave them for the *compile* (this has nothing to do with this patch; I'm just throwing it in here so I won't lose it): #!/bin/bash # let's say you install using "non-root" method. (Adjust GL_BINDIR for root # method or package method). # install normally, then make changes directly in $GL_ADMINDIR/conf and # $GL_ADMINDIR/keydir. (Please leaves "logs/" and "hooks/" alone). # Then run this: export GL_ADMINDIR=$HOME/.gitolite export GL_BINDIR=$HOME/bin export GL_RC=$HOME/.gitolite.rc cd $GL_ADMINDIR $GL_BINDIR/gl-compile-conf # BE SURE TO REMOVE THE ADMIN REPO ITSELF FROM conf/gitolite.conf, as well as # repositories/gitolite-admin.git, lest a push by someone end up overwriting # this hand- (or machine-) crafted config. # you can get away even further from gitolite's control. You can, for # example, set GL_NO_SETUP_AUTHKEYS in the rc file, and manage even the keys # yourself. Just put the full path to $GL_BINDIR/gl-auth-command followed by # the username in the "command=" part of the authkeys file you generate. |
||
---|---|---|
conf | ||
contrib | ||
doc | ||
hooks | ||
src | ||
t | ||
.gitattributes | ||
.gitignore | ||
Makefile | ||
README.mkd |
Gitolite README
If you're really impatient, and you're familiar with Unix and ssh, follow the quick install instructions.
But if you want to do anything meaningful with gitolite you have to spend some time cuddling up to the docs. The complete online documentation starts here.
For convenience, here is a link to the master table of contents, which is very useful to search using your browser's search function.