diff options
author | Christopher Baines <mail@cbaines.net> | 2018-04-25 08:18:38 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-05-18 10:42:58 +0100 |
commit | dc7ee57b6864a80fc21574b36a10f8b8a7e36bb5 (patch) | |
tree | 6cd47a1c22f351c516cc91bd2a0d3fc59cccd459 /doc | |
parent | 963b68f7f6e6e9aff13ad7cf52ed0578e6493b86 (diff) | |
download | guix-cgit-changes.tar guix-cgit-changes.tar.gz |
services: cgit: Make project-list permit a file-object.cgit-changes
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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 005c0597ad..81ad4f48f1 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -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. |