# ################################################ ### Managed by someone's ansible provisioner ### ################################################ # Part of: https://git.somenet.org/root/pub/somesible.git # 2017-2024 by someone # # configuration variables for gitolite # This file is in perl syntax. But you do NOT need to know perl to edit it -- # just mind the commas, use single quotes unless you know what you're doing, # and make sure the brackets and braces stay matched up! # (Tip: perl allows a comma after the last item in a list also!) # HELP for commands (see COMMANDS list below) can be had by running the # command with "-h" as the sole argument. # HELP for all the other external programs (the syntactic sugar helpers and # the various programs/functions in the 8 trigger lists), can be found in # doc/non-core.mkd (http://sitaramc.github.com/gitolite/non-core.html) or in # the corresponding source file itself. %RC = ( # if you're using mirroring, you need a hostname. This is *one* simple # word, not a full domain name. See documentation if in doubt # HOSTNAME => 'darkstar', UMASK => 0027, # look in the "GIT-CONFIG" section in the README for what to do GIT_CONFIG_KEYS => 'gitweb\.(owner|description)', # comment out if you don't need all the extra detail in the logfile # LOG_EXTRA => 1, # settings used by external programs; uncomment and change as needed. You # can add your own variables for use in your own external programs; take a # look at the info and desc commands for perl and shell samples. LOCAL_CODE => "$ENV{HOME}/.gitolite/local-code", # used by the CpuTime trigger # DISPLAY_CPU_TIME => 1, # CPU_TIME_WARN_LIMIT => 0.1, # used by the desc command # WRITER_CAN_UPDATE_DESC => 1, # used by the info command # SITE_INFO => 'dein GITOLITE.RC: SITE_INFO. Please see http://blahblah/gitolite for more help', # add more roles (like MANAGER, TESTER, ...) here. # WARNING: if you make changes to this hash, you MUST run 'gitolite # compile' afterward, and possibly also 'gitolite trigger POST_COMPILE' ROLES => { READERS => 1, WRITERS => 1, MANAGER => 1, }, # uncomment (and change) this if you wish # DEFAULT_ROLE_PERMS => 'READERS @all', # comment out or uncomment as needed # these are available to remote users COMMANDS => { 'help' => 1, 'desc' => 1, # 'fork' => 1, 'info' => 1, # 'mirror' => 1, 'perms' => 1, # 'sskm' => 1, 'writable' => 1, 'D' => 1, }, # comment out or uncomment as needed # these will run in sequence during the conf file parse SYNTACTIC_SUGAR => [ # 'continuation-lines', # 'keysubdirs-as-groups', ], # comment out or uncomment as needed # these will run in sequence to modify the input (arguments and environment) INPUT => [ 'CpuTime::input', # 'Shell::input', # 'Alias::input', # 'Mirroring::input', ], # comment out or uncomment as needed # these will run in sequence just after the first access check is done ACCESS_1 => [ ], # comment out or uncomment as needed # these will run in sequence just before the actual git command is invoked PRE_GIT => [ 'renice 5', 'pre-git-log-access', # 'Mirroring::pre_git', # 'partial-copy', ], # comment out or uncomment as needed # these will run in sequence just after the second access check is done ACCESS_2 => [ ], # comment out or uncomment as needed # these will run in sequence after the git command returns POST_GIT => [ # 'Mirroring::post_git', 'post-push', 'CpuTime::post_git', ], # comment out or uncomment as needed # these will run in sequence before a new wild repo is created PRE_CREATE => [ 'pre-create-init-repo', ], # comment out or uncomment as needed # these will run in sequence after a new repo is created POST_CREATE => [ 'post-create-init-repo', 'post-compile/update-git-configs', 'post-compile/update-gitweb-access-list', 'post-compile/update-git-daemon-access-list', ], # comment out or uncomment as needed # these will run in sequence after post-update POST_COMPILE => [ 'post-compile/ssh-authkeys', 'post-compile/update-git-configs', 'post-compile/update-gitweb-access-list', 'post-compile/update-git-daemon-access-list', ], ); # ------------------------------------------------------------------------------ # per perl rules, this should be the last line in such a file: 1; # Local variables: # mode: perl # End: # vim: set syn=perl: