guix/doc
Maxim Cournoyer a2b89a3319
services: configuration: Step back from *unspecified*.
Fixes <https://issues.guix.gnu.org/56799>.

This partially reverts 8cb1a49a39.

Rationale: *unspecified* cannot be serialized thus used as a G-Expression
input, which is problematic/inconvenient when using deeply nested records.  As
an example, jami-service-type was broken when using partially defined
<jami-account> records.

* gnu/services/configuration.scm (define-maybe-helper): Check against the
'unset symbol.
(normalize-field-type+def): Adjust value to 'unset.
(define-configuration-helper): Use 'unset as the default value thunk.
* gnu/services/file-sharing.scm (serialize-maybe-string): Check against the
'unset symbol.
(serialize-maybe-file-object): Likewise.
* gnu/services/messaging.scm (define-all-configurations): Use 'unset as
value.
(raw-content?): Check against 'unset symbol.
(prosody-configuration)[http-max-content-size]: Default to 'unset.
[http-external-url]: Likewise.
[mod-muc]: Likewise.
[raw-content]: Likewise.
* gnu/services/networking.scm (opendht-configuration): Adjust documentation.
* gnu/services/telephony.scm (jami-shepherd-services): Replace *undefined*
with the 'unset symbol.
* tests/services/configuration.scm ("maybe type, no default"): Check against
the 'unset symbol.
* doc/guix.texi: Regenerate the opendht-configuration,
openvpn-client-configuration and openvpn-server-configuration documentation.
2022-08-01 12:49:35 -04:00
..
images doc: Update 'Bootstrapping' for further binary seed reduction. 2020-05-22 16:11:52 +02:00
build.scm doc: Use a minimal texlive profile in build.scm. 2022-06-15 17:24:46 -04:00
contributing.texi doc: Fix the example of "Run make automatically" 2022-07-18 00:21:31 +02:00
environment-gdb.scm doc: Update "guix shell -D -f" example to new input style. 2022-01-14 22:39:24 +01:00
fdl-1.3.texi doc: Use HTTPS for external links. 2020-03-10 20:26:52 +01:00
guix-cookbook.texi doc: cookbook: Link to "A Scheme Primer". 2022-07-08 17:28:50 +02:00
guix.texi services: configuration: Step back from *unspecified*. 2022-08-01 12:49:35 -04:00
he-config-bare-bones.scm doc: Update example of a minimalistic home environment. 2022-06-10 22:42:49 +02:00
htmlxref.cnf doc: Remove obsolete comment from htmlxref.cnf. 2022-06-16 21:52:49 -04:00
local.mk nls: Enforce translation thresholds. 2022-04-02 18:14:43 +02:00
package-hello.json doc: Document building and installing from JSON files. 2020-04-16 23:41:52 +02:00
package-hello.scm