mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
services: cgit: Make project-list permit a file-object.
Instead of having the service manage the list, it's useful to be able to point this at an existing file, for example, when using cgit together with gitolite. * gnu/services/cgit.scm (project-list?): New procedure. (serialize-project-list): Handle file-object values. (<cgit-configuration>): Change the predicate for project-list to allow lists and file-objects.
This commit is contained in:
parent
c3343d62f6
commit
6ee3f3dec7
2 changed files with 9 additions and 3 deletions
|
@ -19241,7 +19241,7 @@ Defaults to @samp{#f}.
|
|||
|
||||
@end deftypevr
|
||||
|
||||
@deftypevr {@code{cgit-configuration} parameter} list project-list
|
||||
@deftypevr {@code{cgit-configuration} parameter} project-list project-list
|
||||
A list of subdirectories inside of @code{repository-directory}, relative
|
||||
to it, that should loaded as Git repositories. An empty list means that
|
||||
all subdirectories will be loaded.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue