master TOC | chapter TOC | support

developer/patch maintainer notes

general stuff

the rc file

The 'rc' file has one major change from v1: any new values in the rc file need to be added to the @EXPORT list in src/gitolite_rc.pm.

modules

There are 3 "modules" (gitolite_rc, gitolite_env, and gitolite itself). Their purposes should be fairly obvious.

that 'bindir' thing

The importance of GL_BINDIR is that the command= argument in ~/.ssh/authorized_keys must be a full path, ideally, and the compile script gets this from GL_BINDIR.

from perl

from shell

OUTLIER!

special types of setups

Fedora

Fedora has a very special setup, as follows:

The most important implication of this setup is that the RC file is no longer is $HOME of the 'git' user. They keep it in /etc/gitolite/gitolite.rc. This means that a properly setup rc file must already be present in /etc/gitolite/gitolite.rc before doing any such installs.

There are also some other "impedance mismatches" that may show up. For example, the gl-setup triggered by detecting a change in $data_version following an RPM update once caused problems. This auto-update is designed to run on the next "hit" of any kind (which arguably makes things very easy in normal installations), but in Fedora's case it also means it runs as that user. Who may not have "write" access to $GL_ADMINDIR! So the compile fails, and you now have new code trying to work with old format data.

The solution is to explicitly run a compile, from a properly privileged userid, as soon as you do an RPM upgrade.