Blame dev/ansible/roles/pagure-dev/files/gitolite3.rc

Jeremy Cline 4e3668
# configuration variables for gitolite
Jeremy Cline 4e3668
Jeremy Cline 4e3668
# This file is in perl syntax.  But you do NOT need to know perl to edit it --
Jeremy Cline 4e3668
# just mind the commas, use single quotes unless you know what you're doing,
Jeremy Cline 4e3668
# and make sure the brackets and braces stay matched up!
Jeremy Cline 4e3668
Jeremy Cline 4e3668
# (Tip: perl allows a comma after the last item in a list also!)
Jeremy Cline 4e3668
Jeremy Cline 4e3668
# HELP for commands can be had by running the command with "-h".
Jeremy Cline 4e3668
Jeremy Cline 4e3668
# HELP for all the other FEATURES can be found in the documentation (look for
Jeremy Cline 4e3668
# "list of non-core programs shipped with gitolite" in the master index) or
Jeremy Cline 4e3668
# directly in the corresponding source file.
Jeremy Cline 4e3668
Jeremy Cline 4e3668
%RC = (
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # ------------------------------------------------------------------
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # default umask gives you perms of '0700'; see the rc file docs for
Jeremy Cline 4e3668
    # how/why you might change this
Jeremy Cline 4e3668
    UMASK                           =>  0077,
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # look for "git-config" in the documentation
Jeremy Cline 4e3668
    GIT_CONFIG_KEYS                 =>  '',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # comment out if you don't need all the extra detail in the logfile
Jeremy Cline 4e3668
    LOG_EXTRA                       =>  1,
Jeremy Cline 4e3668
    # syslog options
Jeremy Cline 4e3668
    # 1. leave this section as is for normal gitolite logging
Jeremy Cline 4e3668
    # 2. uncomment this line to log only to syslog:
Jeremy Cline 4e3668
    # LOG_DEST                      => 'syslog',
Jeremy Cline 4e3668
    # 3. uncomment this line to log to syslog and the normal gitolite log:
Jeremy Cline 4e3668
    # LOG_DEST                      => 'syslog,normal',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # roles.  add more roles (like MANAGER, TESTER, ...) here.
Jeremy Cline 4e3668
    #   WARNING: if you make changes to this hash, you MUST run 'gitolite
Jeremy Cline 4e3668
    #   compile' afterward, and possibly also 'gitolite trigger POST_COMPILE'
Jeremy Cline 4e3668
    ROLES => {
Jeremy Cline 4e3668
        READERS                     =>  1,
Jeremy Cline 4e3668
        WRITERS                     =>  1,
Jeremy Cline 4e3668
    },
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # enable caching (currently only Redis).  PLEASE RTFM BEFORE USING!!!
Jeremy Cline 4e3668
    # CACHE                         =>  'Redis',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # ------------------------------------------------------------------
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # rc variables used by various features
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # the 'info' command prints this as additional info, if it is set
Jeremy Cline 4e3668
        # SITE_INFO                 =>  'Please see http://blahblah/gitolite for more help',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # the CpuTime feature uses these
Jeremy Cline 4e3668
        # display user, system, and elapsed times to user after each git operation
Jeremy Cline 4e3668
        # DISPLAY_CPU_TIME          =>  1,
Jeremy Cline 4e3668
        # display a warning if total CPU times (u, s, cu, cs) crosses this limit
Jeremy Cline 4e3668
        # CPU_TIME_WARN_LIMIT       =>  0.1,
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # the Mirroring feature needs this
Jeremy Cline 4e3668
        # HOSTNAME                  =>  "foo",
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # TTL for redis cache; PLEASE SEE DOCUMENTATION BEFORE UNCOMMENTING!
Jeremy Cline 4e3668
        # CACHE_TTL                 =>  600,
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # ------------------------------------------------------------------
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # suggested locations for site-local gitolite code (see cust.html)
Jeremy Cline 4e3668
Jeremy Cline 4e3668
        # this one is managed directly on the server
Jeremy Cline 4e3668
        # LOCAL_CODE                =>  "$ENV{HOME}/local",
Jeremy Cline 4e3668
Jeremy Cline 4e3668
        # or you can use this, which lets you put everything in a subdirectory
Jeremy Cline 4e3668
        # called "local" in your gitolite-admin repo.  For a SECURITY WARNING
Jeremy Cline 4e3668
        # on this, see http://gitolite.com/gitolite/non-core.html#pushcode
Jeremy Cline 4e3668
        # LOCAL_CODE                =>  "$rc{GL_ADMIN_BASE}/local",
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # ------------------------------------------------------------------
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    # List of commands and features to enable
Jeremy Cline 4e3668
Jeremy Cline 4e3668
    ENABLE => [
Jeremy Cline 4e3668
Jeremy Cline 4e3668
        # COMMANDS
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # These are the commands enabled by default
Jeremy Cline 4e3668
            'help',
Jeremy Cline 4e3668
            'desc',
Jeremy Cline 4e3668
            'info',
Jeremy Cline 4e3668
            'perms',
Jeremy Cline 4e3668
            'writable',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # Uncomment or add new commands here.
Jeremy Cline 4e3668
            # 'create',
Jeremy Cline 4e3668
            # 'fork',
Jeremy Cline 4e3668
            # 'mirror',
Jeremy Cline 4e3668
            # 'readme',
Jeremy Cline 4e3668
            # 'sskm',
Jeremy Cline 4e3668
            # 'D',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
        # These FEATURES are enabled by default.
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # essential (unless you're using smart-http mode)
Jeremy Cline 4e3668
            'ssh-authkeys',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # creates git-config enties from gitolite.conf file entries like 'config foo.bar = baz'
Jeremy Cline 4e3668
            'git-config',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # creates git-daemon-export-ok files; if you don't use git-daemon, comment this out
Jeremy Cline 4e3668
            'daemon',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # creates projects.list file; if you don't use gitweb, comment this out
Jeremy Cline 4e3668
            #'gitweb',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
        # These FEATURES are disabled by default; uncomment to enable.  If you
Jeremy Cline 4e3668
        # need to add new ones, ask on the mailing list :-)
Jeremy Cline 4e3668
Jeremy Cline 4e3668
        # user-visible behaviour
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # prevent wild repos auto-create on fetch/clone
Jeremy Cline 4e3668
            # 'no-create-on-read',
Jeremy Cline 4e3668
            # no auto-create at all (don't forget to enable the 'create' command!)
Jeremy Cline 4e3668
            # 'no-auto-create',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # access a repo by another (possibly legacy) name
Jeremy Cline 4e3668
            # 'Alias',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # give some users direct shell access.  See documentation in
Jeremy Cline 4e3668
            # sts.html for details on the following two choices.
Jeremy Cline 4e3668
            # "Shell $ENV{HOME}/.gitolite.shell-users",
Jeremy Cline 4e3668
            # 'Shell alice bob',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # set default roles from lines like 'option default.roles-1 = ...', etc.
Jeremy Cline 4e3668
            # 'set-default-roles',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # show more detailed messages on deny
Jeremy Cline 4e3668
            # 'expand-deny-messages',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # show a message of the day
Jeremy Cline 4e3668
            # 'Motd',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
        # system admin stuff
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # enable mirroring (don't forget to set the HOSTNAME too!)
Jeremy Cline 4e3668
            # 'Mirroring',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # allow people to submit pub files with more than one key in them
Jeremy Cline 4e3668
            # 'ssh-authkeys-split',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # selective read control hack
Jeremy Cline 4e3668
            # 'partial-copy',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # manage local, gitolite-controlled, copies of read-only upstream repos
Jeremy Cline 4e3668
            # 'upstream',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # updates 'description' file instead of 'gitweb.description' config item
Jeremy Cline 4e3668
            # 'cgit',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # allow repo-specific hooks to be added
Jeremy Cline 4e3668
            # 'repo-specific-hooks',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
        # performance, logging, monitoring...
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # be nice
Jeremy Cline 4e3668
            # 'renice 10',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # log CPU times (user, system, cumulative user, cumulative system)
Jeremy Cline 4e3668
            # 'CpuTime',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
        # syntactic_sugar for gitolite.conf and included files
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # allow backslash-escaped continuation lines in gitolite.conf
Jeremy Cline 4e3668
            # 'continuation-lines',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # create implicit user groups from directory names in keydir/
Jeremy Cline 4e3668
            # 'keysubdirs-as-groups',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # allow simple line-oriented macros
Jeremy Cline 4e3668
            # 'macros',
Jeremy Cline 4e3668
Jeremy Cline 4e3668
        # Kindergarten mode
Jeremy Cline 4e3668
Jeremy Cline 4e3668
            # disallow various things that sensible people shouldn't be doing anyway
Jeremy Cline 4e3668
            # 'Kindergarten',
Jeremy Cline 4e3668
    ],
Jeremy Cline 4e3668
Jeremy Cline 4e3668
);
Jeremy Cline 4e3668
Jeremy Cline 4e3668
# ------------------------------------------------------------------------------
Jeremy Cline 4e3668
# per perl rules, this should be the last line in such a file:
Jeremy Cline 4e3668
1;
Jeremy Cline 4e3668
Jeremy Cline 4e3668
# Local variables:
Jeremy Cline 4e3668
# mode: perl
Jeremy Cline 4e3668
# End:
Jeremy Cline 4e3668
# vim: set syn=perl: