diff options
author | Clément Lassieur <clement@lassieur.org> | 2018-03-20 20:33:38 +0100 |
---|---|---|
committer | Clément Lassieur <clement@lassieur.org> | 2018-04-11 21:23:59 +0200 |
commit | ad05e96e14ff61c5739a9f8fc79aba8ed6545d16 (patch) | |
tree | 7d9d543705a393f437a0b2eb4e34fdf222540ec6 /m4/guix.m4 | |
parent | 36027f05e901c4d70374ca8d7e8ab87e58fe5300 (diff) | |
download | patches-ad05e96e14ff61c5739a9f8fc79aba8ed6545d16.tar patches-ad05e96e14ff61c5739a9f8fc79aba8ed6545d16.tar.gz |
services: cgit: Add support for file-like objects.
* doc/guix.texi (Version Control Services): Update accordingly.
* gnu/services/cgit.scm (serialize-field, serialize-string, serialize-boolean,
serialize-integer, serialize-repository-cgit-configuration-list,
serialize-nginx-server-configuration-list, serialize-repo-field,
serialize-repo-boolean, serialize-repo-integer, serialize-module-link-path,
serialize-repository-directory, serialize-mimetype-alist): Return strings or
string-valued gexps and stop printing.
(repository-cgit-configuration)[source-filter, about-filter, commit-filter,
logo, owner-filter], (cgit-configuration)[auth-filter, commit-filter, css,
email-filter, favicon, include, logo, owner-filter, mimetype-file, readme,
source-filter]: Replace STRING with FILE-OBJECT.
(file-object?, serialize-file-object, repo-file-object?,
serialize-repo-file-object): New procedures.
(cgit-activation): Use SERIALIZE-CONFIGURATION's return value with
MIXED-TEXT-FILE instead of using its output with PLAIN-FILE.
Diffstat (limited to 'm4/guix.m4')
0 files changed, 0 insertions, 0 deletions