From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] services: Make dovecot and cups configuration abstractions available Date: Sat, 26 Nov 2016 19:43:20 +0100 Message-ID: <877f7qnktz.fsf@gnu.org> References: <20161120180747.2e7b4b09@lepiller.eu> <874m2z9ll8.fsf@gnu.org> <20161123220826.4ac6398b@lepiller.eu> <874m2xzx7f.fsf@lassieur.org> <8737ih6mdq.fsf@gnu.org> <20161124191531.641ec0f9@lepiller.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAhwc-0003SJ-RM for guix-devel@gnu.org; Sat, 26 Nov 2016 13:43:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cAhwY-0006ha-Ur for guix-devel@gnu.org; Sat, 26 Nov 2016 13:43:26 -0500 In-Reply-To: <20161124191531.641ec0f9@lepiller.eu> (Julien Lepiller's message of "Thu, 24 Nov 2016 19:17:42 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Julien Lepiller Cc: guix-devel@gnu.org Julien Lepiller skribis: > From 1b60fac10caa9ab05cf169206004f46b46f2db40 Mon Sep 17 00:00:00 2001 > From: Julien Lepiller > Date: Wed, 23 Nov 2016 21:43:42 +0100 > Subject: [PATCH] services: factorize configuration abstraction > > * gnu/services/mail.scm and gnu/services/cups.scm (&configuration-error) > (configuration-error, configuration-field-error) > (configuration-missing-field, configuration-field, serialize-configuratio= n) > (validate-configuration, define-configuration, uglify-field-name) > (serialize-field, serialize-package, serialize-string) > (serialize-space-separated-string-list, space-separated-string-list?) > (serialize-file-name, file-name?, serialize-field-name) > (generate-documentation): Move duplicate code... > * gnu/services/configuration.scm: ...to this new file. > * gnu/local.mk (GNU_SYSTEM_MODULES): Add configuration.scm. Applied. I changed the copyright line back to Andy, since he wrote this, and added #:autoload instead of #:use-module for the Texinfo modules. Thank you! Ludo=E2=80=99.