From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id ED4uEKvqimV/ogAAkFu2QA (envelope-from ) for ; Tue, 26 Dec 2023 16:00:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id EECrCavqimX1kQAAe85BDQ (envelope-from ) for ; Tue, 26 Dec 2023 16:00:59 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=O2su01rz; 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"; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703602859; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=eDfHxQD6IFUYPKZmaatj6QHtTeT871erAoNF1I/Ux/o=; b=RnWxGbGjdMEGp0Kk3gFGqGnxoX5o37rc+CXr9FtEz+0y8Sr2xU3Cr51GJ3IhKmXlH8Nm0v M7PShSx4Qlkjrebem7Nm7zb65FUl9q3H++gTd6MtsiYwh6UltYgtTjucyMyT3yFuHztxs5 9cNirON2nFF2JiNGng4RDGS7FhrJkNEI6vk8DxDJXxYM6JKVmnsGSbSMvF65JOrQP9q80H EfBDzkTqUpE0BE31HlPLbUdRAa1TISr7tx8O8/LrxFz04J4Pc9fGJ9AZjh6shj9uZ2A4fB BhXxf9RMNcp27J3vRU//OvNRlg6ILEphRn/cpig8MjcJgD6QYOeTo63rF7GBlA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=O2su01rz; 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"; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1703602859; a=rsa-sha256; cv=pass; b=OxnmqPbE3wE2AQVal6scP6Hu+86aUGQ9dUwSTUTH++sL7ttB3B4k4uvs/W0rqi4KXr7iHK EJJqU2PtB6BdoWQCc+pFOry3geJBaDSj8jNH+SKYBvje2kSV5pVck09kAXtyybAnZJSn/w yz6JtlhIzinb+3Ku/8lOdvLtxMDGW2bpkgyK0V06S/K4+gd8vvepr9YHkYQ1se8ypiGEos DWvnaflRcS/6qBoHt4vU+322y9yj1DoyKnnk7OE/Jn+RMmEbJA5zij4O+9Jkg3szik/cH2 Wgq/YSZqfkGBx7QG8cu5k8nCvYX7ea+3YH4cTbiAvDfm3pUxhDrnDzWfDN+O2A== 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 7BA68544BB for ; Tue, 26 Dec 2023 16:00:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rI8us-0001kQ-B8; Tue, 26 Dec 2023 10:00:22 -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 1rI8un-0001k1-P1 for guix-devel@gnu.org; Tue, 26 Dec 2023 10:00:18 -0500 Received: from sender3-of-o58.zoho.com ([136.143.184.58]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rI8uh-0002lX-9z for guix-devel@gnu.org; Tue, 26 Dec 2023 10:00:14 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1703602805; cv=none; d=zohomail.com; s=zohoarc; b=O4uoEe4+PglDVYqPthzf6cIDczwNP6B+E41poJuDRnzawmNggQkC/DGuqUMKeSU5I68wG7XnzNXKbDiVSPLqdomwZSsX0P7YuBUu2UUCUAke1JlHCGLQUdXEa+1iY66UGrr7+MYn4GGesB//35MhoNzxhW8K87QMzSzXkxAwcm8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1703602805; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=eDfHxQD6IFUYPKZmaatj6QHtTeT871erAoNF1I/Ux/o=; b=RF3Ezj4+8LPmHlG6xrTYH0ZZdzh8AKm/bz5eMhkKY73EIXvD7udMxOL+EZJzOEK0kYwMiwhmp/sI4J3zmfizFkkpz18YxvnHF88L0B4e4q5guFSnxIjW8LixN7fj4AcHQi2y8v5tZcAXYAzhQpBsektYosDXjsUEET8ez87PTOo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1703602805; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=eDfHxQD6IFUYPKZmaatj6QHtTeT871erAoNF1I/Ux/o=; b=O2su01rzfOLy6Vz002am3LKPbgDQEF3njeco7W14vNY7WXKoVJ6P8/OktiqTNNwK rIceq9v4kGklfBo3DbrIxHO1B+7RsSjwzAlnBhjuZrSgwd+eVXGaxBIwr2U5avesIsW lADj7onR2kupIc1AENprfvAnMt1gePzsW4OB3kPw= Received: from localhost (i5E862CBE.versanet.de [94.134.44.190]) by mx.zohomail.com with SMTPS id 170360280385993.60485425578975; Tue, 26 Dec 2023 07:00:03 -0800 (PST) References: <874jg5hvz7.fsf@sarg.org.ru> User-agent: mu4e 1.10.8; emacs 29.1 From: Ricardo Wurmus To: Sergey Trofimov Cc: guix-devel@gnu.org Subject: Re: Are declarative app configs worth it? Date: Tue, 26 Dec 2023 15:56:24 +0100 In-reply-to: <874jg5hvz7.fsf@sarg.org.ru> Message-ID: <87h6k5ko0g.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.184.58; envelope-from=rekado@elephly.net; helo=sender3-of-o58.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.93 X-Spam-Score: -3.93 X-Migadu-Queue-Id: 7BA68544BB X-TUID: J8ZzjCH52+YB Sergey Trofimov writes: > - adding it to guix increases maintenance burden: new versions could > add or remove config options This is why there should be automated tests. There are too few of them. > - it requires documentation/translation, another hidden cost We should only accept configuration procedures that have proper documentation, yes. > - it bloats guix: imagine if we add configs for every > user-configurable app That would be nice. If we started to accept the term bloat we could easily apply it to anything in Guix: all that R stuff? Bloat! All that bioinfo stuff? Bloat! > - such configs are not easily transferrable: if I were to use the > same app in non-guix env, I'd have to maintain 2 configs We are generating configuration files from our config languages. So you would only need to generate them and copy them for your non-guix environment. > Another recent example is `oci-container-configuration` which defines > a subset of docker-cli startup arguments. The problem is that `docker > run` command has 96 options and the configuration only uses a handful, > lacking a way to provide the remaining ones. All config bindings need to have an escape hatch. -- Ricardo