2009-09-06 13:34:41 +05:30
|
|
|
# paths and configuration variables for gitolite
|
2009-08-30 12:11:55 +05:30
|
|
|
|
|
|
|
# please read comments before editing
|
|
|
|
|
|
|
|
# this file is meant to be pulled into a perl program using "do" or "require".
|
|
|
|
|
|
|
|
# You do NOT need to know perl to edit the paths; it should be fairly
|
2009-10-11 08:31:59 +05:30
|
|
|
# self-explanatory and easy to maintain perl syntax :-)
|
2009-08-30 12:11:55 +05:30
|
|
|
|
|
|
|
# --------------------------------------
|
|
|
|
|
|
|
|
# this is where the repos go. If you provide a relative path (not starting
|
|
|
|
# with "/"), it's relative to your $HOME. You may want to put in something
|
|
|
|
# like "/bigdisk" or whatever if your $HOME is too small for the repos, for
|
|
|
|
# example
|
2009-08-23 14:55:50 +05:30
|
|
|
|
2009-08-24 10:07:06 +05:30
|
|
|
$REPO_BASE="repositories";
|
|
|
|
|
2009-09-21 14:41:37 +05:30
|
|
|
# the default umask for repositories is 0077; change this if you run stuff
|
|
|
|
# like gitweb and find it can't read the repos. Please note the syntax; the
|
|
|
|
# leading 0 is required
|
|
|
|
|
|
|
|
$REPO_UMASK = 0077; # gets you 'rwx------'
|
|
|
|
# $REPO_UMASK = 0027; # gets you 'rwxr-x---'
|
|
|
|
# $REPO_UMASK = 0022; # gets you 'rwxr-xr-x'
|
|
|
|
|
2009-09-25 12:17:33 +05:30
|
|
|
# part of the setup of gitweb is a variable called $projects_list (please see
|
|
|
|
# gitweb documentation for more on this). Set this to the same value:
|
|
|
|
|
2009-10-23 10:23:06 +05:30
|
|
|
$PROJECTS_LIST = $ENV{HOME} . "/projects.list";
|
2009-09-25 12:17:33 +05:30
|
|
|
|
2009-08-30 12:11:55 +05:30
|
|
|
# --------------------------------------
|
|
|
|
|
|
|
|
# I see no reason anyone may want to change the gitolite admin directory, but
|
2009-09-01 19:52:06 +05:30
|
|
|
# feel free to do so. However, please note that it *must* be an *absolute*
|
|
|
|
# path (i.e., starting with a "/" character)
|
2009-08-30 12:11:55 +05:30
|
|
|
|
2009-08-26 06:17:27 +05:30
|
|
|
# gitolite admin directory, files, etc
|
2009-09-06 13:34:41 +05:30
|
|
|
|
2009-08-26 06:17:27 +05:30
|
|
|
$GL_ADMINDIR=$ENV{HOME} . "/.gitolite";
|
2009-08-24 10:07:06 +05:30
|
|
|
|
|
|
|
# --------------------------------------
|
|
|
|
|
2009-09-06 13:34:41 +05:30
|
|
|
# templates for location of the log files and format of their names
|
|
|
|
|
|
|
|
# I prefer this template (note the %y and %m placeholders)
|
|
|
|
# it produces files like `~/.gitolite/logs/gitolite-2009-09.log`
|
|
|
|
|
|
|
|
$GL_LOGT="$GL_ADMINDIR/logs/gitolite-%y-%m.log";
|
|
|
|
|
|
|
|
# other choices are below, or you can make your own -- but PLEASE MAKE SURE
|
|
|
|
# the directory exists and is writable; gitolite won't do that for you (unless
|
|
|
|
# it is the default, which is "$GL_ADMINDIR/logs")
|
|
|
|
|
|
|
|
# $GL_LOGT="$GL_ADMINDIR/logs/gitolite-%y-%m-%d.log";
|
|
|
|
# $GL_LOGT="$GL_ADMINDIR/logs/gitolite-%y.log";
|
|
|
|
|
|
|
|
# --------------------------------------
|
|
|
|
|
2009-10-30 21:25:06 +05:30
|
|
|
# Please DO NOT change these three paths
|
2009-08-24 10:07:06 +05:30
|
|
|
|
2009-08-27 15:24:08 +05:30
|
|
|
$GL_CONF="$GL_ADMINDIR/conf/gitolite.conf";
|
2009-08-23 14:55:50 +05:30
|
|
|
$GL_KEYDIR="$GL_ADMINDIR/keydir";
|
2009-08-27 15:24:08 +05:30
|
|
|
$GL_CONF_COMPILED="$GL_ADMINDIR/conf/gitolite.conf-compiled.pm";
|
2009-08-23 14:55:50 +05:30
|
|
|
|
2009-08-30 13:42:53 +05:30
|
|
|
# --------------------------------------
|
2009-09-06 13:34:41 +05:30
|
|
|
|
2009-08-30 13:42:53 +05:30
|
|
|
# personal branch prefix; leave it as is (empty) if you don't want to use the
|
|
|
|
# feature (see the "developer-specific branches" section in the "faq, tips,
|
|
|
|
# etc" document)
|
2009-09-06 13:34:41 +05:30
|
|
|
|
2009-08-30 13:42:53 +05:30
|
|
|
$PERSONAL="";
|
2009-09-06 13:34:41 +05:30
|
|
|
|
2009-09-18 17:04:43 +05:30
|
|
|
# uncomment one of these if you do want it. If you change it, remember it
|
|
|
|
# MUST start with "refs/"
|
|
|
|
|
|
|
|
# I recommend this:
|
2009-08-30 13:42:53 +05:30
|
|
|
# $PERSONAL="refs/personal";
|
2009-09-06 13:34:41 +05:30
|
|
|
|
2009-09-18 17:04:43 +05:30
|
|
|
# if you want something more visible/noisy, use this:
|
2009-08-30 13:42:53 +05:30
|
|
|
# $PERSONAL="refs/heads/personal";
|
|
|
|
|
2009-09-06 13:34:41 +05:30
|
|
|
# NOTE: whatever value you choose, for security reasons it is better to make
|
|
|
|
# it fully qualified -- that is, starting with "refs/"
|
|
|
|
|
2009-10-13 10:02:45 +05:30
|
|
|
# --------------------------------------
|
|
|
|
|
|
|
|
# if git on your server is on a standard path (that is
|
|
|
|
# ssh git@server git --version
|
|
|
|
# works), leave this setting as is. Otherwise, choose one of the
|
|
|
|
# alternatives, or write your own
|
|
|
|
|
2009-10-13 10:16:23 +05:30
|
|
|
$GIT_PATH="";
|
|
|
|
# $GIT_PATH="/opt/bin/";
|
2009-10-13 10:02:45 +05:30
|
|
|
|
2009-08-24 10:07:06 +05:30
|
|
|
# --------------------------------------
|
2009-08-30 12:11:55 +05:30
|
|
|
# per perl rules, this should be the last line in such a file:
|
2009-08-23 14:55:50 +05:30
|
|
|
1;
|
2009-09-06 13:34:41 +05:30
|
|
|
|
|
|
|
# vim: set syn=perl:
|