diff options
| author | Julien Lepiller <julien@lepiller.eu> | 2021-08-25 03:00:44 +0200 |
|---|---|---|
| committer | Julien Lepiller <julien@lepiller.eu> | 2021-09-02 22:56:44 +0200 |
| commit | cc16103861b26836908a7d16e0751739a0e20da2 (patch) | |
| tree | 16c560cb394d328a9b4c24943074f212528ef099 /doc | |
| parent | 5dac09e263d566ccf99776df97c47eed0d30c172 (diff) | |
gnu: gitolite: Add unsafe-pattern configuration option.
* gnu/services/version-control.scm (gitolite-rc-file): Add
unsafe-pattern field.
(gitolite-rc-file-compiler): Write it.
* doc/guix.texi (Version Control Services): Document it.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guix.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index d2819b259eb..ab178a6b068 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -31517,6 +31517,19 @@ A value like @code{#o0027} will give read access to the group used by Gitolite | |||
| 31517 | (by default: @code{git}). This is necessary when using Gitolite with software | 31517 | (by default: @code{git}). This is necessary when using Gitolite with software |
| 31518 | like cgit or gitweb. | 31518 | like cgit or gitweb. |
| 31519 | 31519 | ||
| 31520 | @item @code{unsafe-pattern} (default: @code{#f}) | ||
| 31521 | An optional Perl regular expression for catching unsafe configurations in | ||
| 31522 | the configuration file. See | ||
| 31523 | @uref{https://gitolite.com/gitolite/git-config.html#compensating-for-unsafe_patt, | ||
| 31524 | Gitolite's documentation} for more information. | ||
| 31525 | |||
| 31526 | When the value is not @code{#f}, it should be a string containing a Perl | ||
| 31527 | regular expression, such as @samp{"[`~#\$\&()|;<>]"}, which is the default | ||
| 31528 | value used by gitolite. It rejects any special character in configuration | ||
| 31529 | that might be interpreted by a shell, which is useful when sharing the | ||
| 31530 | administration burden with other people that do not otherwise have shell | ||
| 31531 | access on the server. | ||
| 31532 | |||
| 31520 | @item @code{git-config-keys} (default: @code{""}) | 31533 | @item @code{git-config-keys} (default: @code{""}) |
| 31521 | Gitolite allows you to set git config values using the @samp{config} | 31534 | Gitolite allows you to set git config values using the @samp{config} |
| 31522 | keyword. This setting allows control over the config keys to accept. | 31535 | keyword. This setting allows control over the config keys to accept. |
