services: gitolite-rc-file: Add log-extra field.

* gnu/services/version-control.scm (<gitolite-rc-file>): Add log-extra field.
(gitolite-rc-file-compiler): Handle it during configuration file generation.
* doc/guix.texi (Version Control Services): Document it.

Change-Id: Ice65dbdf4f42549e3c83914da7229db9d2cf856b
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Tomas Volf 2025-04-01 00:10:08 +02:00 committed by Maxim Cournoyer
parent a52a7d1653
commit 9306539f08
No known key found for this signature in database
GPG key ID: 1260E46482E63562
2 changed files with 15 additions and 1 deletions

View file

@ -41058,6 +41058,13 @@ access on the server.
Gitolite allows you to set git config values using the @samp{config}
keyword. This setting allows control over the config keys to accept.
@item @code{log-extra} (default: @code{#f})
Whether gitolite should log extra details.
For historical reasons, this field defaults to @code{#f}. The default
value from gitolite however is @code{1} (written as @code{#t} in this
configuration).
@item @code{roles} (default: @code{'(("READERS" . 1) ("WRITERS" . ))})
Set the role names allowed to be used by users running the perms command.