From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iMljIjWJIWXZQAEAauVa8A:P1 (envelope-from ) for ; Sat, 07 Oct 2023 18:37:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iMljIjWJIWXZQAEAauVa8A (envelope-from ) for ; Sat, 07 Oct 2023 18:37:09 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D1DB657B64 for ; Sat, 7 Oct 2023 18:37:08 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696696629; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=u51AnwdVB/HBbCnDuB8yEfHRP6FcTHhseTP8yDd/64o=; b=o4AQu8gN9kgEmFNXIUCYz5qY2MBq7IA+7eH6R+NrqyY/69PwS0lbvu5ZwA2q0rCgKSHpTg a4Q6Hlt1NaTAstFGxEPal1t6/sZK9WgOBsdZi4xFW+q7VP4hz5EE5ANAz8n2eTSuyFcn83 V7aIx9kB7GEij56npdfmnN0lVcmKCMuYZ7cOcBCXXXSqdvfMefWmPsF9tg2nKRQ5Z25jpC 6t9SQywIvaqdEV5yGAMOoClKiYAv0nJGiCZuBE2eim1ji8c+RPIAVpY5f8w6+i/Nl4MPRU qovUm1CVQ7kvuRvcJBuye1Kat2nfkQIamBbnHQn4zS5TyZS+KvvhmdiJ/Ai91A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696696629; a=rsa-sha256; cv=none; b=PlPbHgnD0hNGLvVuiGrEAv83kigomjHJyXVIlGKfX4QebVZeDPnmU7jachKy0MRSYYxj9R nS3D7kyZyzUjL1DobHD8MHe3r/Zx9hrdXtVFBnBvkN3XQj99iBOgorwtgsT8ZPCfpItDu6 RspoBFUCuDQf0ZK5IETCKHUv7+RJbLuZsLX0W8r+QOx60GwwA2J+KwdPymoo9l3MvhyTCf eSAaGpP0XnmmbR2GFAxRRmf7/CiwyOXci0ljrJ9ac5lVORSRmtI0QWzzporlxy8pFl9iaJ hbUTeUe/pMWYv5RLijieVwL6BQExWv+aqmMaH6xKaYKm5sdPVy7QwaQm9R9TIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qpAIJ-00078B-Gp; Sat, 07 Oct 2023 12:36:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qpAIG-00077f-Ta for guix-patches@gnu.org; Sat, 07 Oct 2023 12:36:45 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qpAIE-0007tY-JC for guix-patches@gnu.org; Sat, 07 Oct 2023 12:36:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qpAIX-0006El-JQ; Sat, 07 Oct 2023 12:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63985] [PATCH v4 0/5] SRFI-171 based improvements for define-configuration Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Sat, 07 Oct 2023 16:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63985 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63985@debbugs.gnu.org Cc: Bruno Victal , Maxim Cournoyer X-Debbugs-Original-To: guix-patches@gnu.org, 63985@debbugs.gnu.org X-Debbugs-Original-Xcc: Maxim Cournoyer Received: via spool by submit@debbugs.gnu.org id=B.169669661923966 (code B ref -1); Sat, 07 Oct 2023 16:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Oct 2023 16:36:59 +0000 Received: from localhost ([127.0.0.1]:55806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpAIV-0006ET-HG for submit@debbugs.gnu.org; Sat, 07 Oct 2023 12:36:59 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpAIT-0006EB-HU for submit@debbugs.gnu.org; Sat, 07 Oct 2023 12:36:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qpAI1-00075P-To for guix-patches@gnu.org; Sat, 07 Oct 2023 12:36:29 -0400 Received: from smtpm2.myservices.hosting ([185.26.105.233]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qpAI0-0007ss-8b for guix-patches@gnu.org; Sat, 07 Oct 2023 12:36:29 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm2.myservices.hosting (Postfix) with ESMTP id CA9CB20F17; Sat, 7 Oct 2023 18:36:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 1476980097; Sat, 7 Oct 2023 17:57:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AF-K2Uh87NNz; Sat, 7 Oct 2023 17:57:47 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 789EF80060; Sat, 7 Oct 2023 17:57:47 +0200 (CEST) From: Bruno Victal Date: Sat, 7 Oct 2023 16:57:13 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.105.233; envelope-from=mirai@makinata.eu; helo=smtpm2.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.22 X-Spam-Score: -5.22 X-Migadu-Queue-Id: D1DB657B64 X-TUID: MQ8KV9AdOSPA Notable changes since v3: * Reduced series scope for SRFI-171 related changes and documentation improvements. * Added docstrings. Note: docstring for `serialize-configuration' lifted from guix.texi. * Addressed feedback from v3. Bruno Victal (5): services: configuration: Simplify normalize-extra-args. services: configuration: Use transducers within serialize-configuration. services: fstrim-service-type: Serialize with SRFI-171 transducers. doc: Rewrite define-configuration. services: configuration: Add some commonly used predicates. doc/guix.texi | 108 +++++++++++++------------------ gnu/services/audio.scm | 7 +- gnu/services/configuration.scm | 81 +++++++++++++++++------ gnu/services/linux.scm | 11 ++-- gnu/services/telephony.scm | 49 ++++++-------- tests/services/configuration.scm | 6 +- 6 files changed, 136 insertions(+), 126 deletions(-) base-commit: b566e1a98a74d84d3978cffefd05295602c9445d -- 2.41.0