Bruno Victal
a7994ed58d
services: configuration: Use transducers within serialize-configuration.
...
Introduces 'base-transducer', a SRFI-171 based transducer that can be used as a
starting point for writing custom configuration record serializing procedures.
This also fixes the symbol maybe-value serialization test case.
* gnu/services/configuration.scm (empty-serializer?): New predicate.
(base-transducer, tfilter-maybe-value): New procedure.
(serialize-configuration): Adapt to use base-transducer.
* gnu/services/telephony.scm (jami-account->alist): Use transducers to skip
fields that are unserializable or whose field maybe-value is unset.
* tests/services/configuration.scm: Remove test-expect-fail.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 12:41:05 -04:00
..
2022-05-18 23:20:21 +02:00
2023-10-07 12:41:05 -04:00
2022-08-28 23:37:28 +02:00
2022-07-13 10:49:40 -04:00
2023-09-26 17:36:58 +02:00
2022-06-04 12:04:23 +02:00
2023-09-26 17:36:59 +02:00
2023-01-30 22:24:27 +01:00
2023-06-09 14:19:14 +02:00
2022-12-20 16:56:03 +01:00
2022-05-30 16:34:39 +02:00
2023-09-26 17:36:59 +02:00
2022-05-22 01:07:52 +02:00
2023-06-09 14:19:14 +02:00
2023-05-31 23:50:06 +02:00
2022-11-11 23:17:42 +01:00
2023-09-26 17:36:59 +02:00
2023-09-26 17:36:59 +02:00
2023-09-27 23:38:21 +02:00
2022-11-11 23:17:42 +01:00
2023-08-21 16:16:47 +02:00
2023-04-21 16:16:38 +02:00
2023-04-21 16:16:38 +02:00
2023-08-17 17:33:53 +02:00
2023-04-21 16:16:38 +02:00
2022-09-04 23:10:10 +02:00
2023-04-21 16:16:38 +02:00
2023-04-21 16:16:38 +02:00
2023-04-21 16:16:38 +02:00
2023-04-21 16:16:38 +02:00
2023-04-21 16:16:38 +02:00
2023-09-26 17:36:57 +02:00
2023-04-21 16:16:38 +02:00
2023-08-25 17:45:47 +02:00
2023-06-18 23:44:29 +02:00
2023-04-21 16:16:38 +02:00
2023-04-21 16:16:38 +02:00
2023-04-21 17:09:46 +02:00
2023-04-21 16:16:38 +02:00
2023-04-21 16:16:38 +02:00
2023-08-15 09:38:29 -04:00
2022-06-16 23:57:40 +02:00
2023-08-25 14:23:43 +02:00
2023-04-21 16:16:38 +02:00
2023-04-21 16:16:38 +02:00
2023-08-16 21:34:13 -04:00
2023-02-26 10:19:36 +01:00
2023-05-31 23:50:06 +02:00
2022-09-20 19:24:31 +02:00
2022-06-04 12:04:24 +02:00
2023-09-26 17:36:59 +02:00
2022-12-26 17:15:06 +01:00
2023-08-28 19:08:38 +02:00
2022-07-08 13:51:34 +01:00
2023-09-08 19:12:15 +02:00
2023-06-09 14:19:14 +02:00
2022-10-22 01:46:55 +02:00
2023-04-07 17:56:07 +02:00
2023-05-31 23:50:06 +02:00
2023-07-18 16:56:06 -04:00
2023-09-15 22:05:23 +02:00
2022-12-12 15:03:05 +01:00
2022-09-29 22:59:48 +02:00
2022-10-22 01:46:55 +02:00
2022-04-29 18:07:17 +02:00
2023-05-31 23:50:06 +02:00
2023-09-24 02:00:00 +02:00
2023-06-04 10:59:28 +02:00
2023-02-19 21:13:23 -05:00
2023-08-31 23:31:50 -04:00
2022-06-26 23:19:14 +02:00
2022-12-10 10:56:48 +01:00
2023-08-18 16:10:08 +02:00
2023-05-18 20:01:32 +02:00
2023-06-08 22:54:58 +02:00
2022-10-22 01:46:55 +02:00
2023-08-13 02:00:00 +02:00
2023-05-04 17:06:44 +02:00
2022-12-13 17:46:39 +01:00
2023-05-31 23:25:25 +02:00