gitolite3.rc 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. # configuration variables for gitolite
  2. # This file is in perl syntax. But you do NOT need to know perl to edit it --
  3. # just mind the commas, use single quotes unless you know what you're doing,
  4. # and make sure the brackets and braces stay matched up!
  5. # (Tip: perl allows a comma after the last item in a list also!)
  6. # HELP for commands can be had by running the command with "-h".
  7. # HELP for all the other FEATURES can be found in the documentation (look for
  8. # "list of non-core programs shipped with gitolite" in the master index) or
  9. # directly in the corresponding source file.
  10. %RC = (
  11. # ------------------------------------------------------------------
  12. GL_REPO_BASE => '/home/vagrant/pagure_data/repos',
  13. # default umask gives you perms of '0700'; see the rc file docs for
  14. # how/why you might change this
  15. UMASK => 0077,
  16. # look for "git-config" in the documentation
  17. GIT_CONFIG_KEYS => '',
  18. # comment out if you don't need all the extra detail in the logfile
  19. LOG_EXTRA => 1,
  20. # syslog options
  21. # 1. leave this section as is for normal gitolite logging
  22. # 2. uncomment this line to log only to syslog:
  23. # LOG_DEST => 'syslog',
  24. # 3. uncomment this line to log to syslog and the normal gitolite log:
  25. # LOG_DEST => 'syslog,normal',
  26. # roles. add more roles (like MANAGER, TESTER, ...) here.
  27. # WARNING: if you make changes to this hash, you MUST run 'gitolite
  28. # compile' afterward, and possibly also 'gitolite trigger POST_COMPILE'
  29. ROLES => {
  30. READERS => 1,
  31. WRITERS => 1,
  32. },
  33. # enable caching (currently only Redis). PLEASE RTFM BEFORE USING!!!
  34. # CACHE => 'Redis',
  35. # ------------------------------------------------------------------
  36. # rc variables used by various features
  37. # the 'info' command prints this as additional info, if it is set
  38. # SITE_INFO => 'Please see http://blahblah/gitolite for more help',
  39. # the CpuTime feature uses these
  40. # display user, system, and elapsed times to user after each git operation
  41. # DISPLAY_CPU_TIME => 1,
  42. # display a warning if total CPU times (u, s, cu, cs) crosses this limit
  43. # CPU_TIME_WARN_LIMIT => 0.1,
  44. # the Mirroring feature needs this
  45. # HOSTNAME => "foo",
  46. # TTL for redis cache; PLEASE SEE DOCUMENTATION BEFORE UNCOMMENTING!
  47. # CACHE_TTL => 600,
  48. # ------------------------------------------------------------------
  49. # suggested locations for site-local gitolite code (see cust.html)
  50. # this one is managed directly on the server
  51. # LOCAL_CODE => "$ENV{HOME}/local",
  52. # or you can use this, which lets you put everything in a subdirectory
  53. # called "local" in your gitolite-admin repo. For a SECURITY WARNING
  54. # on this, see http://gitolite.com/gitolite/non-core.html#pushcode
  55. # LOCAL_CODE => "$rc{GL_ADMIN_BASE}/local",
  56. # ------------------------------------------------------------------
  57. # List of commands and features to enable
  58. ENABLE => [
  59. # COMMANDS
  60. # These are the commands enabled by default
  61. 'help',
  62. 'desc',
  63. 'info',
  64. 'perms',
  65. 'writable',
  66. # Uncomment or add new commands here.
  67. # 'create',
  68. # 'fork',
  69. # 'mirror',
  70. # 'readme',
  71. # 'sskm',
  72. # 'D',
  73. # These FEATURES are enabled by default.
  74. # essential (unless you're using smart-http mode)
  75. 'ssh-authkeys',
  76. # creates git-config enties from gitolite.conf file entries like 'config foo.bar = baz'
  77. 'git-config',
  78. # creates git-daemon-export-ok files; if you don't use git-daemon, comment this out
  79. 'daemon',
  80. # creates projects.list file; if you don't use gitweb, comment this out
  81. #'gitweb',
  82. # These FEATURES are disabled by default; uncomment to enable. If you
  83. # need to add new ones, ask on the mailing list :-)
  84. # user-visible behaviour
  85. # prevent wild repos auto-create on fetch/clone
  86. # 'no-create-on-read',
  87. # no auto-create at all (don't forget to enable the 'create' command!)
  88. # 'no-auto-create',
  89. # access a repo by another (possibly legacy) name
  90. # 'Alias',
  91. # give some users direct shell access. See documentation in
  92. # sts.html for details on the following two choices.
  93. # "Shell $ENV{HOME}/.gitolite.shell-users",
  94. # 'Shell alice bob',
  95. # set default roles from lines like 'option default.roles-1 = ...', etc.
  96. # 'set-default-roles',
  97. # show more detailed messages on deny
  98. # 'expand-deny-messages',
  99. # show a message of the day
  100. # 'Motd',
  101. # system admin stuff
  102. # enable mirroring (don't forget to set the HOSTNAME too!)
  103. # 'Mirroring',
  104. # allow people to submit pub files with more than one key in them
  105. # 'ssh-authkeys-split',
  106. # selective read control hack
  107. # 'partial-copy',
  108. # manage local, gitolite-controlled, copies of read-only upstream repos
  109. # 'upstream',
  110. # updates 'description' file instead of 'gitweb.description' config item
  111. # 'cgit',
  112. # allow repo-specific hooks to be added
  113. # 'repo-specific-hooks',
  114. # performance, logging, monitoring...
  115. # be nice
  116. # 'renice 10',
  117. # log CPU times (user, system, cumulative user, cumulative system)
  118. # 'CpuTime',
  119. # syntactic_sugar for gitolite.conf and included files
  120. # allow backslash-escaped continuation lines in gitolite.conf
  121. # 'continuation-lines',
  122. # create implicit user groups from directory names in keydir/
  123. # 'keysubdirs-as-groups',
  124. # allow simple line-oriented macros
  125. # 'macros',
  126. # Kindergarten mode
  127. # disallow various things that sensible people shouldn't be doing anyway
  128. # 'Kindergarten',
  129. ],
  130. );
  131. # ------------------------------------------------------------------------------
  132. # per perl rules, this should be the last line in such a file:
  133. 1;
  134. # Local variables:
  135. # mode: perl
  136. # End:
  137. # vim: set syn=perl: