gitweb.conf updated to v2.0rc1
thanks to Jack Zielke for testing it for me
This commit is contained in:
parent
6a5d564917
commit
81f39bd64c
|
@ -3,8 +3,13 @@
|
||||||
# Include this in gitweb.conf
|
# Include this in gitweb.conf
|
||||||
# See doc/3-faq-tips-etc.mkd for more info
|
# See doc/3-faq-tips-etc.mkd for more info
|
||||||
|
|
||||||
|
# please note that the author does not have personal experience with gitweb
|
||||||
|
# and does not use it. Some testing may be required. Patches welcome but
|
||||||
|
# please make sure they are tested against a "github" version of gitolite
|
||||||
|
# and not an RPM or a DEB, for obvious reasons.
|
||||||
|
|
||||||
# HOME of the gitolite user
|
# HOME of the gitolite user
|
||||||
my $gl_home = "/home/git";
|
my $gl_home = $ENV{HOME} = "/home/git";
|
||||||
|
|
||||||
# the following variables are needed by gitolite; please edit before using
|
# the following variables are needed by gitolite; please edit before using
|
||||||
|
|
||||||
|
@ -28,9 +33,9 @@ $ENV{GL_BINDIR} = "$gl_home/bin";
|
||||||
$ENV{GL_USER} = $cgi->remote_user || "gitweb";
|
$ENV{GL_USER} = $cgi->remote_user || "gitweb";
|
||||||
|
|
||||||
# now get gitolite stuff in...
|
# now get gitolite stuff in...
|
||||||
use lib $ENV{GL_BINDIR};
|
unshift @INC, $ENV{GL_BINDIR};
|
||||||
use gitolite_rc;
|
require gitolite_rc; gitolite_rc -> import;
|
||||||
use gitolite;
|
require gitolite; gitolite -> import;
|
||||||
|
|
||||||
# set project root etc. absolute paths
|
# set project root etc. absolute paths
|
||||||
$ENV{GL_REPO_BASE_ABS} = ( $REPO_BASE =~ m(^/) ? $REPO_BASE : "$gl_home/$REPO_BASE" );
|
$ENV{GL_REPO_BASE_ABS} = ( $REPO_BASE =~ m(^/) ? $REPO_BASE : "$gl_home/$REPO_BASE" );
|
||||||
|
|
Loading…
Reference in a new issue