(next round of minor changes)
This commit is contained in:
parent
5e3a051a95
commit
09f57beea6
|
@ -127,6 +127,17 @@ longer is `$HOME` of the 'git' user**. They keep it in
|
|||
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.
|
||||
|
||||
----
|
||||
|
||||
# **Why v2?**
|
||||
|
|
|
@ -88,6 +88,9 @@ things happen if you change them.
|
|||
blocks repo config settings. Please read [doc/big-config.mkd][bc] for
|
||||
more details.
|
||||
|
||||
**WARNING**: if your description files are maintained by some other means
|
||||
than via the gitolite config file, make sure you set this variable to 1.
|
||||
|
||||
* `$GL_NICE_VALUE`, boolean, default undef
|
||||
|
||||
The nice value to run under. Applicable only if it is greater than 0.
|
||||
|
|
|
@ -66,7 +66,7 @@ $GL_ADMINDIR=$ENV{PWD} . "/.gitolite";
|
|||
$GL_CONF="$GL_ADMINDIR/conf/gitolite.conf";
|
||||
$GL_KEYDIR="$GL_ADMINDIR/keydir";
|
||||
$GL_CONF_COMPILED="$GL_ADMINDIR/conf/gitolite.conf-compiled.pm";
|
||||
$GL_WILDREPOS = 0;
|
||||
$GL_WILDREPOS = 1;
|
||||
$PROJECTS_LIST = $ENV{PWD} . "/projects.list";
|
||||
$REPO_UMASK = 0077;
|
||||
$GL_BIG_CONFIG = 0;
|
||||
|
@ -116,3 +116,4 @@ done | perl -ane '
|
|||
cd ..
|
||||
echo
|
||||
|
||||
echo ...done
|
||||
|
|
|
@ -24,7 +24,6 @@ use warnings;
|
|||
|
||||
# ----------------------------------------------------------------------------
|
||||
# this section of code snarfed from gl-auth-command
|
||||
# XXX add this program to 'that bindir thing' in doc/developer-notes.mkd
|
||||
BEGIN {
|
||||
$0 =~ m|^(/)?(.*)/| and $ENV{GL_BINDIR} = ($1 || "$ENV{PWD}/") . $2;
|
||||
}
|
||||
|
|
|
@ -53,6 +53,8 @@ for my $pub (@pubkeys) {
|
|||
|
||||
print <<INFO;
|
||||
|
||||
====
|
||||
|
||||
Git operations using a pubkey that gets you a command line will BYPASS
|
||||
gitolite completely. This means:
|
||||
|
||||
|
|
Loading…
Reference in a new issue