guix/gnu/services
Ludovic Courtès fb7e6ccba7
services: configuration: Report the location of field type errors.
Previously field type errors would be reported in a non-standard way,
and without any source location information.  This fixes it.

* gnu/services/configuration.scm (configuration-field-error): Add a
'loc' parameter and honor it.  Use 'formatted-message' instead of plain
'format'.
(define-configuration-helper)[field-sanitizer]: New procedure.
Use it.  Use STEM as the identifier of the syntactic constructor of the
record type.  Add a 'sanitize' property to each field.  Remove now
useless STEM macro that would call 'validate-configuration'.
* gnu/services/mail.scm (serialize-listener-configuration): Adjust to
new 'configuration-field-error' prototype.
* tests/services/configuration.scm ("wrong type for a field"): New test.
* po/guix/POTFILES.in: Add gnu/services/configuration.scm.
2022-06-24 23:18:20 +02:00
..
admin.scm services: rottlog: Keep fewer "guix-daemon.log" files. 2022-04-09 00:30:40 +02:00
audio.scm services: mpd: Make /var/run/mpd/USER user-owned. 2020-12-06 23:18:08 +01:00
auditd.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
authentication.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
avahi.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
base.scm gnu: base: Add greetd-service-type. 2022-06-17 10:30:41 +02:00
certbot.scm services: certbot: Add option to use CSR file. 2021-06-24 18:19:39 -04:00
cgit.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
ci.scm services: laminar: Set LAMINAR_BIND_RPC environment variable. 2022-01-11 11:47:42 +05:30
configuration.scm services: configuration: Report the location of field type errors. 2022-06-24 23:18:20 +02:00
cuirass.scm services: cuirass: Also rotate the web log. 2022-02-17 13:39:02 -05:00
cups.scm Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-12-05 19:17:41 +01:00
databases.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
dbus.scm services: dbus: Add a VERBOSE? configuration option. 2022-06-14 14:23:21 -04:00
desktop.scm gnu: desktop: Add seatd-service-type. 2022-06-17 10:30:43 +02:00
dict.scm services: Make sure Shepherd destructors match constructors. 2022-05-02 17:57:30 +02:00
dns.scm services: ddclient: No need to import (ice-9 rdelim) from the host. 2022-06-04 00:11:44 +02:00
docker.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
file-sharing.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
games.scm services: wesnothd: Use 'least-authority-wrapper'. 2022-05-01 21:30:36 +02:00
ganeti.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
getmail.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
guix.scm services: guix-data-service: Increase timeout for service start. 2022-06-05 23:35:31 +02:00
herd.scm services: herd: Add 'wait-for-service'. 2022-05-28 23:23:36 +02:00
hurd.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
kerberos.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
linux.scm system: Align zram priority with swap-space spec to clarify. 2022-06-11 00:57:13 -04:00
lirc.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
mail.scm services: configuration: Report the location of field type errors. 2022-06-24 23:18:20 +02:00
mcron.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
messaging.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
monitoring.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
networking.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
nfs.scm services: pipefs: Correctly handle lack of extensions. 2022-05-03 18:02:27 +02:00
nix.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
pam-mount.scm gnu: base: Add greetd-service-type. 2022-06-17 10:30:41 +02:00
pm.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
rsync.scm services: rsync: Allow configuring several rsync "modules". 2021-12-21 15:47:03 +01:00
science.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
sddm.scm services: SDDM: Wait for elogind before starting. 2020-11-18 22:31:32 +01:00
security-token.scm services: pcscd: Fix daemon signal handling. 2021-07-03 20:13:42 +02:00
shepherd.scm services: shepherd: Do not unload transient services. 2022-04-10 00:17:40 +02:00
sound.scm services: pulseaudio: Deploy the configuration files to /etc/pulse. 2022-02-26 09:03:01 -05:00
spice.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
ssh.scm services: openssh: Remove authorized_keys.d before copying the new one. 2022-05-26 17:00:33 +02:00
syncthing.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
sysctl.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
telephony.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
version-control.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
virtualization.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
vpn.scm services: wireguard: Shepherd 'stop' method really stops. 2022-06-22 22:29:48 +02:00
web.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
xorg.scm services: xorg: Remove xf86-input-synaptics from %default-xorg-modules. 2022-03-25 18:42:14 +01:00