summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2018-03-20 21:15:05 +0100
committerClément Lassieur <clement@lassieur.org>2018-04-11 21:23:59 +0200
commite5fe544eaac4d478a09a9e22ffa460602f770910 (patch)
treed319f1d15e21f30bb2c017cc64012ca0070d8c5e /doc
parent80b76b93506cadc967164cb07093f86bafb5aa77 (diff)
downloadpatches-e5fe544eaac4d478a09a9e22ffa460602f770910.tar
patches-e5fe544eaac4d478a09a9e22ffa460602f770910.tar.gz
services: cgit: Add support for project-list.
* doc/guix.texi (Version Control Services): Update accordingly. * gnu/services/cgit.scm (cgit-configuration)[project-list]: New field. (serialize-project-list): New procedure that uses PLAIN-FILE to generate a file from the string list given by the user as input. (serialize-cgit-configuration): Make sure to serialize 'project-list' before 'repostory-directory'.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 1e9601ca11..1bf9685542 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -19017,6 +19017,15 @@ Defaults to @samp{#f}.
@end deftypevr
+@deftypevr {@code{cgit-configuration} parameter} 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.
+
+Defaults to @samp{()}.
+
+@end deftypevr
+
@deftypevr {@code{cgit-configuration} parameter} file-object readme
Text which will be used as default value for @code{cgit-repo-readme}.