threads / discuss / 28840

important upgrade info for Fedora/EPEL RPM of gitolite

Subject: important upgrade info for Fedora/EPEL RPM of gitolite

## tl;dr

One message between Nov 4, 2011 and Nov 4, 2011.

replies: 0people: 1as markdown or json

Sitaram Chamarty· Nov 4, 2011, 13:57 UTC · lore
Hello,

If you're using a Fedora/EPEL RPM of gitolite, and upgraded/upgrading from 1.5.* to 2.*, then please do this as soon as possible after the upgrade.

(1) look in ~/.gitolite.rc on the server for these variables:
   $GL_PACKAGE_CONF
   $GL_PACKAGE_HOOKS
If they are both defined, (and uncommented), you should be ok.

(2) if they are not defined, please add these lines at or near the top of the file:

   $GL_PACKAGE_CONF="/usr/share/gitolite/conf";
   $GL_PACKAGE_HOOKS="/usr/share/gitolite/hooks";
Save the file, then run gl-setup (without any arguments).

This will fix up some issues related to the upgrade that required variables in the rc which the RPM would not automatically insert (per policy and for sanity in general!)

----

Thanks, and sorry for the trouble. If you have any questions please feel free to ask.

Sitaram

← back to recent threads