mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
services: gitolite-service-type: Allow setting the admin name.
* gnu/services/version-control.scm (<gitolite-configuration>): Add admin-name field. (gitolite-activation): Use it. * doc/guix.texi (Version Control Services): Document it. Remove the wrong default value of admin-pubkey. State the need for .pub extension. Change-Id: Idadf4b2697cee6d1da10e6ba03bdc2e1d729c417 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
committed by
Maxim Cournoyer
parent
24396e8327
commit
85e6371a3f
@@ -41010,7 +41010,7 @@ representing the configuration for Gitolite.
|
||||
A ``file-like'' object (@pxref{G-Expressions, file-like objects}),
|
||||
representing the git configuration for Gitolite.
|
||||
|
||||
@item @code{admin-pubkey} (default: @code{#f})
|
||||
@item @code{admin-pubkey}
|
||||
A ``file-like'' object (@pxref{G-Expressions, file-like objects}) used to
|
||||
setup Gitolite. This will be inserted in to the @file{keydir} directory
|
||||
within the gitolite-admin repository.
|
||||
@@ -41021,6 +41021,13 @@ To specify the SSH key as a string, use the @code{plain-file} function.
|
||||
(plain-file "yourname.pub" "ssh-rsa AAAA... guix@@example.com")
|
||||
@end lisp
|
||||
|
||||
The file has to have @file{.pub} extension.
|
||||
|
||||
@item @code{admin-name} (default: @code{#f})
|
||||
Usually the key name is derived by taking a base name of the
|
||||
@code{admin-pubkey}. The resulting file name is the name of the
|
||||
gitolite user. You can use this field to override the automatic name.
|
||||
|
||||
@end table
|
||||
@end deftp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user