From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IHk1MScsVmW5hAAAG6o9tA:P1 (envelope-from ) for ; Thu, 16 Nov 2023 15:50:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IHk1MScsVmW5hAAAG6o9tA (envelope-from ) for ; Thu, 16 Nov 2023 15:50:15 +0100 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 9EDB33468C for ; Thu, 16 Nov 2023 15:50:14 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=ZgwPEBXL; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700146215; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Fu7qHe6wDltxK0lF+4VE13gaCnpCu5H8mAvNdOc92Ww=; b=XhF6Me28Kyx0bZBvV7jbvm7wtCb95bHWuGPxDD9HWu0MhAkoIvcVSMDgtgP9fYaSZHNthU XShms/TlG8Z5T5QdHoMqvdlDKh79PFKT92SC2pzsjT/E1dTTy+REtZATiyfDguVCTYjMla OfPAGuIZrh66WpUhwjx6UjXPxLkixQDoXoIqLRbV6OtPZEFk4cdNjZgmeBD9M0zQBmvWrm mvI2U0uy8hKDotzALomUceRW+MXWwoHthN8ckT1Ktpsj4qqChaLwTNqLt6hGxb8ReHwqH8 1+AtHVLEFsEKSgbRDzHpm4bgWOo/nWCmDj99UYER1zcxHkjsUsTOdDezzuZKQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=ZgwPEBXL; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700146215; a=rsa-sha256; cv=none; b=sL/QFY/cUGYasbdFeUP/jc05io/3XtU9yVB4Zw2kPNWt6gyKbPUnFlSoJYf2aJdYUaJwTx cAoyvDgmK/UXNSoh0awekRczRSxHrH+APYGwGJGewRDrsOiwLAa5XplrG72sGZfckljn5i EXe0qOuOBazHtWvHEaCqTQxM56FVkg6xi2CFJ87los9Kk2dNS+t6++IAN5HoTuXoHyiGzV iloRsKr17+v+4rIrqIMNS/MdzHkv6nIjcOoqpcMckTZWj28t0Pji6WzCgdxHUeC+pg6mw/ TjbDxQ4oXdURovOVvgrgzpIrFMG+a0aU6lSWA2Wswd0XWleMO3AtQXmw9XcdMw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3dgf-0003JH-IX; Thu, 16 Nov 2023 09:49:45 -0500 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 1r3dge-0003J9-0i for guix-devel@gnu.org; Thu, 16 Nov 2023 09:49:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3dgb-0004YX-VF; Thu, 16 Nov 2023 09:49:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=Fu7qHe6wDltxK0lF+4VE13gaCnpCu5H8mAvNdOc92Ww=; b=ZgwPEBXLwjXiYWyBjsss EnkudlAtinYxeWjWXVVMKC+cauTOPnlFb5tEbXhyXE4tBFCIQIDTMx8XwRf/fdl/w0TPF6XczE3ue gJuhbytZEIMMPBXnHOQbPn6ihM4yquZm7/3/nkt64KgnPHggLywFXIb5+V2VktHBut6B6JCtwhdUs aJ9pG3ovdw0arv/7aDf/Wm4n2ePbatHQvqrq/qJ+A4MJk0cyXHCnyhd+y/TaHtkZl8dHyn+q/Ar/L elhmJC4Cvar/HvI8Mv2SYChb5G3iqQgLir38Qiga+in5AUlRsscO9vr3uHN7NSwW2wXa6sEctJdLK rHGdED20P4aWqQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Cc: Bruno Victal , guix-devel@gnu.org Subject: Re: Divvying up service definitions In-Reply-To: <87pm0lk15w.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 07 Nov 2023 10:56:11 -0500") References: <878r7skrpx.fsf@makinata.eu> <87pm0lk15w.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 26 Brumaire an 232 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour de la Pistache X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 16 Nov 2023 15:49:38 +0100 Message-ID: <87a5rdwy65.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.36 X-Spam-Score: -8.36 X-Migadu-Queue-Id: 9EDB33468C X-Migadu-Scanner: mx10.migadu.com X-TUID: JCTge1gim7rN Hello! Maxim Cournoyer skribis: >> * Splitting this as gnu/services/dovecot.scm. >> We keep it compatible with 'use-service-modules' at the cost of having >> a multitude of files under gnu/services, without any logical grouping >> (messy). > > That's a great initiative! I agree that multiple 'define-configuration' > services per file can be a bit messy, having to use prefixes everywhere, > making the definitions more verbose. > > I don't have a strong preference of the caterogization of services, but > would perhaps prefer the first one (gnu/services/mail/dovecot.scm), > which could then make it easy to offer some interface as > gnu/services/mail.scm that'd re-export all that is needed (would that > work, or reintroduce the same top-level clashes?). I=E2=80=99m all for =E2=80=9Ccleanups=E2=80=9D as proposed, and I don=E2=80= =99t have strong preferences on how to do that. I=E2=80=99d like us to make sure, though, that this is made in a backward-compatible way: these module names and exported bindings are part of the API that users refer to from the OS config file. Renaming things typically breaks user config, and updating it to use the new names can be tedious if there are no messages explaining what to do. =E2=80=98define-deprecated=E2=80=99 helps, but perhaps we need something a = little bit more fancy now. (It would be great if we could reach a level of backward-compatibility close to what Emacs does: nice deprecation messages, recording when a particular binding was introduced, and generally changing user-visible things rather slowly.) Ludo=E2=80=99.