Geen omschrijving
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

home_git_.gitolite.rc 5.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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. # default umask gives you perms of '0700'; see the rc file docs for
  13. # how/why you might change this
  14. UMASK => 0027,
  15. # look for "git-config" in the documentation
  16. GIT_CONFIG_KEYS => 'gitweb\.(owner|description|category)',
  17. # comment out if you don't need all the extra detail in the logfile
  18. LOG_EXTRA => 1,
  19. # roles. add more roles (like MANAGER, TESTER, ...) here.
  20. # WARNING: if you make changes to this hash, you MUST run 'gitolite
  21. # compile' afterward, and possibly also 'gitolite trigger POST_COMPILE'
  22. ROLES => {
  23. READERS => 1,
  24. WRITERS => 1,
  25. },
  26. # ------------------------------------------------------------------
  27. # rc variables used by various features
  28. # the 'info' command prints this as additional info, if it is set
  29. # SITE_INFO => 'Please see http://blahblah/gitolite for more help',
  30. # the 'desc' command uses this
  31. # WRITER_CAN_UPDATE_DESC => 1,
  32. # the CpuTime feature uses these
  33. # display user, system, and elapsed times to user after each git operation
  34. # DISPLAY_CPU_TIME => 1,
  35. # display a warning if total CPU times (u, s, cu, cs) crosses this limit
  36. # CPU_TIME_WARN_LIMIT => 0.1,
  37. # the Mirroring feature needs this
  38. # HOSTNAME => "foo",
  39. # if you enabled 'Shell', you need this
  40. # SHELL_USERS_LIST => "$ENV{HOME}/.gitolite.shell-users",
  41. # ------------------------------------------------------------------
  42. # suggested locations for site-local gitolite code (see cust.html)
  43. # this one is managed directly on the server
  44. # LOCAL_CODE => "$ENV{HOME}/local",
  45. # or you can use this, which lets you put everything in a subdirectory
  46. # called "local" in your gitolite-admin repo. For a SECURITY WARNING
  47. # on this, see http://gitolite.com/gitolite/cust.html#pushcode
  48. # LOCAL_CODE => "$rc{GL_ADMIN_BASE}/local",
  49. # ------------------------------------------------------------------
  50. # List of commands and features to enable
  51. ENABLE => [
  52. # COMMANDS
  53. # These are the commands enabled by default
  54. 'help',
  55. 'desc',
  56. 'info',
  57. 'perms',
  58. 'writable',
  59. # Uncomment or add new commands here.
  60. # 'create',
  61. # 'fork',
  62. # 'mirror',
  63. # 'sskm',
  64. # 'D',
  65. # These FEATURES are enabled by default.
  66. # essential (unless you're using smart-http mode)
  67. 'ssh-authkeys',
  68. # creates git-config enties from gitolite.conf file entries like 'config foo.bar = baz'
  69. 'git-config',
  70. # creates git-daemon-export-ok files; if you don't use git-daemon, comment this out
  71. 'daemon',
  72. # creates projects.list file; if you don't use gitweb, comment this out
  73. 'gitweb',
  74. # These FEATURES are disabled by default; uncomment to enable. If you
  75. # need to add new ones, ask on the mailing list :-)
  76. # user-visible behaviour
  77. # prevent wild repos auto-create on fetch/clone
  78. # 'no-create-on-read',
  79. # no auto-create at all (don't forget to enable the 'create' command!)
  80. # 'no-auto-create',
  81. # access a repo by another (possibly legacy) name
  82. # 'Alias',
  83. # give some users direct shell access
  84. # 'Shell',
  85. # set default roles from lines like 'option default.roles-1 = ...', etc.
  86. # 'set-default-roles',
  87. # system admin stuff
  88. # enable mirroring (don't forget to set the HOSTNAME too!)
  89. # 'Mirroring',
  90. # allow people to submit pub files with more than one key in them
  91. # 'ssh-authkeys-split',
  92. # selective read control hack
  93. # 'partial-copy',
  94. # manage local, gitolite-controlled, copies of read-only upstream repos
  95. # 'upstream',
  96. # updates 'description' file instead of 'gitweb.description' config item
  97. # 'cgit',
  98. # allow repo-specific hooks to be added
  99. # 'repo-specific-hooks',
  100. # performance, logging, monitoring...
  101. # be nice
  102. # 'renice 10',
  103. # log CPU times (user, system, cumulative user, cumulative system)
  104. # 'CpuTime',
  105. # syntactic_sugar for gitolite.conf and included files
  106. # allow backslash-escaped continuation lines in gitolite.conf
  107. # 'continuation-lines',
  108. # create implicit user groups from directory names in keydir/
  109. # 'keysubdirs-as-groups',
  110. # allow simple line-oriented macros
  111. # 'macros',
  112. ],
  113. );
  114. # ------------------------------------------------------------------------------
  115. # per perl rules, this should be the last line in such a file:
  116. 1;
  117. # Local variables:
  118. # mode: perl
  119. # End:
  120. # vim: set syn=perl: