From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:55851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goVML-0003eJ-Fn for guix-patches@gnu.org; Tue, 29 Jan 2019 10:31:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goVM9-0008Ql-VT for guix-patches@gnu.org; Tue, 29 Jan 2019 10:31:31 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51417) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1goVLu-0008J8-Ks for guix-patches@gnu.org; Tue, 29 Jan 2019 10:31:21 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1goVLq-0002H7-7T for guix-patches@gnu.org; Tue, 29 Jan 2019 10:31:02 -0500 Subject: [bug#34246] [PATCH 0/3] Improve the upower-service style. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:55342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goVKB-0001oC-6c for guix-patches@gnu.org; Tue, 29 Jan 2019 10:29:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goVJy-0007fn-Nm for guix-patches@gnu.org; Tue, 29 Jan 2019 10:29:15 -0500 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:41886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goVJy-0007dk-Gv for guix-patches@gnu.org; Tue, 29 Jan 2019 10:29:06 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id B423916AF7 for ; Tue, 29 Jan 2019 15:28:54 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 86de82ae for ; Tue, 29 Jan 2019 15:28:54 +0000 (UTC) From: Christopher Baines Date: Tue, 29 Jan 2019 15:28:48 +0000 Message-ID: <877eenqy8f.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34246@debbugs.gnu.org --=-=-= Content-Type: text/plain These patches update the style of the upower-service. Improving and documenting the record, and deprecating the upower-service procedure. Directly using record types as default values for service types, along with default values for the fields in the record type is generally more flexible and configurable than using procedures for service configuration. It means that the configuration for the service can be changed programatically by generating new configuration based off of the original configuration, rather than having to rerun the procedure that created the configuration in the first place. Christopher Baines (3): services: Improve the upower-configuration record. services: Improve the upower-service-type. services: desktop: Deprecate the upower-service procedure. doc/guix.texi | 79 ++++++++++++++++++++++++++-------- gnu/services/desktop.scm | 92 +++++++++++++++++++++++++++------------- 2 files changed, 123 insertions(+), 48 deletions(-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxQcTBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XeXPA/9HHoavcLLnNw7bcKWzjoGI6AxMkNLj+284FgucROMW/V7+uMw+w5aALhi THzSnnAXl4DWvSnWmm0EIyQ2Gw83weZqLlPu0GTsUIvyHqQb9UMqzVUy/S6YqUtA mwVZXU3oRgcd+jhSe+EC6qVYjY9GNlFTNYQE7rxZUyUos7QZoxPabhPgc1RCcvTk jm20Zu6SB5ERHD7mZI1rK+HrayQ3iCIKyses8bAjNekgk91q6Q4HykbGrVWJ2YkQ 3LkE0o9Zc4vaiisIWqcUhoTBL169N9QKZWstou+JovcpTdNZldYn/WTsjxUA607y PJ+EMpEne5pFwOzxyrOKHTjL0WmQIbE0JeP8JbeICh8V5die5qqKg0sO94zeZKj5 RTVf+wVqqWys5cAzFtJO769Qq5LSWqH6G3Xqcpd3chtEIKbFTnFFZrVjYxfAXXH9 KvWq5y6obQABJNzWK7PlqctuFs1chD802vJRwG5lCgI1g39GmQqvS3FuNOF7dGhW MVWWREiAl57E4AHKhtwueL1fvVhbspccb7uvr/nbQWP2Sr6a1+4rgYW0uyaJb/8V KXwYe/0ig4i4eMf3l8vI8g2L8/ztWULewkhqnbwi/KWV1sIvvzED9SuBQlQDFoJZ jKcdboBWWJ+YywjSCmnEGPAoSTDLImRBylHnewKFJq5xBE4oSH4= =fOnl -----END PGP SIGNATURE----- --=-=-=--