From e5fe544eaac4d478a09a9e22ffa460602f770910 Mon Sep 17 00:00:00 2001 From: Clément Lassieur Date: Tue, 20 Mar 2018 21:15:05 +0100 Subject: 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'. --- doc/guix.texi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') 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}. -- cgit 1.4.1