2010-12-31 14:33:48 +01:00
|
|
|
# configuration variables for gitolite
|
2009-08-30 08:41:55 +02:00
|
|
|
|
2010-12-31 14:33:48 +01:00
|
|
|
# PLEASE READ THE DOCUMENTATION BEFORE EDITING OR ASKING QUESTIONS
|
2010-12-31 15:21:06 +01:00
|
|
|
# ( http://github.com/sitaramc/gitolite/blob/pu/doc/gitolite.rc.mkd )
|
2009-08-30 08:41:55 +02:00
|
|
|
|
|
|
|
# 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 05:01:59 +02:00
|
|
|
# self-explanatory and easy to maintain perl syntax :-)
|
2009-08-30 08:41:55 +02:00
|
|
|
|
2010-12-31 14:33:48 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# VARIABLES THAT SHOULD NOT BE TOUCHED AT ALL. EVER.
|
|
|
|
# ------------------------------------------------------------------------------
|
2009-08-26 02:47:27 +02:00
|
|
|
$GL_ADMINDIR=$ENV{HOME} . "/.gitolite";
|
2009-08-27 11:54:08 +02:00
|
|
|
$GL_CONF="$GL_ADMINDIR/conf/gitolite.conf";
|
2009-08-23 11:25:50 +02:00
|
|
|
$GL_KEYDIR="$GL_ADMINDIR/keydir";
|
2009-08-27 11:54:08 +02:00
|
|
|
$GL_CONF_COMPILED="$GL_ADMINDIR/conf/gitolite.conf-compiled.pm";
|
2010-12-31 14:33:48 +01:00
|
|
|
# DO NOT CHANGE THE NEXT TWO LINES UNLESS YOU REALLY KNOW WHAT YOU'RE DOING.
|
|
|
|
# These variables are set automatically by the install method you choose.
|
|
|
|
# $GL_PACKAGE_CONF = "";
|
|
|
|
# $GL_PACKAGE_HOOKS = "";
|
2009-08-23 11:25:50 +02:00
|
|
|
|
2010-12-31 14:33:48 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# most often used/changed variables
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
$GL_WILDREPOS = 0;
|
|
|
|
$PROJECTS_LIST = $ENV{HOME} . "/projects.list";
|
|
|
|
$REPO_UMASK = 0077;
|
2010-02-05 11:30:47 +01:00
|
|
|
|
2010-12-31 14:33:48 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# variables with an efficiency impact
|
|
|
|
# ------------------------------------------------------------------------------
|
2010-05-16 02:48:08 +02:00
|
|
|
$GL_BIG_CONFIG = 0;
|
|
|
|
$GL_NO_DAEMON_NO_GITWEB = 0;
|
2010-05-14 07:22:58 +02:00
|
|
|
|
2010-12-31 14:33:48 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
2011-01-01 15:18:18 +01:00
|
|
|
# VARIABLES WITH A SECURITY IMPACT. READ DOC WELL BEFORE CHANGING THESE.
|
|
|
|
# http://github.com/sitaramc/gitolite/blob/pu/doc/gitolite.rc.mkd#_variables_with_a_security_impact
|
2010-12-31 14:33:48 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
2011-01-01 15:18:18 +01:00
|
|
|
# $GL_ALL_READ_ALL = 0;
|
2010-12-31 14:33:48 +01:00
|
|
|
$GIT_PATH="";
|
2010-02-08 01:32:36 +01:00
|
|
|
$GL_GITCONFIG_KEYS = "";
|
2010-06-25 20:06:15 +02:00
|
|
|
# $GL_GITCONFIG_WILD = 0;
|
2010-12-31 14:33:48 +01:00
|
|
|
$GL_NO_CREATE_REPOS = 0;
|
|
|
|
$GL_NO_SETUP_AUTHKEYS = 0;
|
|
|
|
# $GL_WILDREPOS_DEFPERMS = 'R @all';
|
2010-02-01 11:07:35 +01:00
|
|
|
$HTPASSWD_FILE = "";
|
2010-01-31 15:54:36 +01:00
|
|
|
$RSYNC_BASE = "";
|
2010-05-09 17:04:55 +02:00
|
|
|
$SVNSERVE = "";
|
2010-04-13 14:56:34 +02:00
|
|
|
# $UPDATE_CHAINS_TO = "hooks/update.secondary";
|
|
|
|
# $ADMIN_POST_UPDATE_CHAINS_TO = "hooks/post-update.secondary";
|
2010-04-24 14:46:13 +02:00
|
|
|
# $GL_ADC_PATH = "";
|
2010-12-31 14:33:48 +01:00
|
|
|
# $GL_GET_MEMBERSHIPS_PGM = "/usr/local/bin/expand-ldap-user-to-groups"
|
2010-04-24 14:46:13 +02:00
|
|
|
|
2010-12-31 14:33:48 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# less used/changed variables
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# $GL_ALL_INCLUDES_SPECIAL = 0;
|
|
|
|
# $GL_SLAVE_MODE = 0;
|
|
|
|
# $ENV{GL_SLAVES} = 'gitolite@server2 gitolite@server3';
|
|
|
|
# PLEASE USE SINGLE QUOTES ABOVE, NOT DOUBLE QUOTES
|
|
|
|
$GL_WILDREPOS_PERM_CATS = "READERS WRITERS";
|
2010-10-04 10:58:58 +02:00
|
|
|
|
2010-12-31 14:33:48 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# rarely changed variables
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
$GL_LOGT="$GL_ADMINDIR/logs/gitolite-%y-%m.log";
|
|
|
|
# $GL_PERFLOGT="$GL_ADMINDIR/logs/perf-gitolite-%y-%m.log";
|
2010-10-04 10:58:58 +02:00
|
|
|
# $GL_SITE_INFO = "XYZ.COM DEVELOPERS: PLEASE SEE http://xyz.com/gitolite/help first";
|
|
|
|
|
2010-12-31 14:33:48 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# variables that should NOT be changed after the install step completes
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
$REPO_BASE="repositories";
|
2010-10-07 13:06:14 +02:00
|
|
|
|
2010-12-31 14:33:48 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
2009-08-30 08:41:55 +02:00
|
|
|
# per perl rules, this should be the last line in such a file:
|
2009-08-23 11:25:50 +02:00
|
|
|
1;
|
2009-09-06 10:04:41 +02:00
|
|
|
|
2010-02-26 21:11:36 +01:00
|
|
|
# Local variables:
|
|
|
|
# mode: perl
|
|
|
|
# End:
|
2009-09-06 10:04:41 +02:00
|
|
|
# vim: set syn=perl:
|