From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cOO4L8EQOmGzXwAAgWs5BA (envelope-from ) for ; Thu, 09 Sep 2021 15:48:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uL9XK8EQOmGNAwAAbx9fmQ (envelope-from ) for ; Thu, 09 Sep 2021 13:48:49 +0000 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 25195133FD for ; Thu, 9 Sep 2021 15:48:49 +0200 (CEST) Received: from localhost ([::1]:59848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOKQ4-0008SF-5w for larch@yhetil.org; Thu, 09 Sep 2021 09:48:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOKPG-0008QH-Nm for guix-devel@gnu.org; Thu, 09 Sep 2021 09:47:59 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:51337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOKPA-0005c7-H1; Thu, 09 Sep 2021 09:47:58 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id F0DD0320082A; Thu, 9 Sep 2021 09:47:49 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 09 Sep 2021 09:47:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=jts59m5foXuaCCioIZ3j5hLe2EjAoW6V4Hzwtu8dApQ=; b=QWu1tj4cdF+T Ltr8ypV+45Hc18i84ZibKn1yW4erenCCeZBm4qq2xqFgcbV6ci7BegNIQNICZPDA O3KJ6E3dw/SeHAVFjPUhmR5vc+FM2XyLOsL9ysQP44Wx3TaQfCwtLm6q/pcwEm4x RBWaWWZy8ukiwFkM0s9H22/TxjwGOBQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=jts59m5foXuaCCioIZ3j5hLe2EjAoW6V4Hzwtu8dA pQ=; b=tGrxUTcij5lho25YK/iqvfOL3i9GxLt42FOY27pXe1btNC5H5ky8pHWGi pjyBpzo5Y6pYD995reJHrDSLDAFtGcCAiwPpchBD6Dpjddkm4lB6D0vaeF6Fshxk O5v0YbzfRAhmIw5kw5EE8j7lbp7hYNTYhGPo6B+R4iT+jjfZu8A+bV5WXiJME0cY s65gWZWgqkqnjBryw5yqALkzwz0ng9eF98JK5LUEzvL9ZYNVkno5BpbQw1GcsnS8 7tl6w9MwsFcMsOw2XMAIwYIE54YCPmZl/ACAbI9Q2+2VW+Ilg+usCWEexw4tx2MV v3gR7DTPPR3rMMOou2EERtZIv8nWA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudefledgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtugfgjgesthekredttddtjeenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepgeejgeeghedtudfgffdutddvffefffejkeffffevffehgedvvdeutdffkeej jeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplh gvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 9 Sep 2021 09:47:48 -0400 (EDT) Date: Thu, 9 Sep 2021 09:47:46 -0400 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: delete-generations or --delete-generations? Message-ID: References: <86v93rb5lh.fsf@gmail.com> <87wnnqzsui.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87wnnqzsui.fsf@gnu.org> Received-SPF: pass client-ip=64.147.123.25; envelope-from=leo@famulari.name; helo=wout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, Raghav Gururajan Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631195329; 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=jts59m5foXuaCCioIZ3j5hLe2EjAoW6V4Hzwtu8dApQ=; b=nsgBsxpeQnqichv76xVA8Ui/P1blbej99wXQGmDNaZ/IPTfwBho1MRpuJJELC3s6Uxo8/f EAwecP88povMOzjAEmL9onMwiL05Rc3sUrnLr8kcYruSUvfbrjyqRGrWXgTyiqre9qWer8 HruM0KF7b8ahs30/xGVHvxyEhxn/p7uaw4wmieDMQReVHAbm/XnRgXNlI7sbvIDwATQ3Pv sAJuKCe4+P0BwVj9OLkM+w6atgjB0j3anWgzWO3jGF8OmdXp7Ic5DOVTiIi+DERD82qdPw JCoXAZ7hscn3yRQjY8XEaktf/mF+Iu3eNddhcxC2Ac2KEidWLSdJsMism3ZdLw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631195329; a=rsa-sha256; cv=none; b=MwStj3stgnoT0tNyiX7WjgNQ96/mgiIsSvIOfYaLLBe+vDU3OSezKoEvUttkbvPuD3Rgzw K+ip1xzjOZebZoJ2R0ew5P8ZCd07JkaBGhpftOrrHG1TMq4cqaBzhflJitcn9AEQkShA18 OQhY28HEnVB3x6LMDRlkbGBk2f6rEFEpLNbnW5lA81LHaZYSkAzGyPVFp6gHdS3Ywj6BE3 oedHgmVuTbHdWZSQ85Jo0Wqvw1pBR4PQ4YZSRbedn4OoZHAhM5Jx2vPu8HDJ9cwwGIus4Y xTM+5qzwOXHNlSB5/lfFy3GKr/Snd1bRYhxgjZUrH/Mg4wWfqowfx3mA5pgV/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=QWu1tj4c; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=tGrxUTci; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -0.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=QWu1tj4c; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=tGrxUTci; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 25195133FD X-Spam-Score: -0.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1gY+vdLQ7aRM On Wed, Sep 08, 2021 at 10:59:33PM +0200, Ludovic Courtès wrote: > zimoun skribis: > > I speculate too. :-) I guess because the idea behind “guix system” is > > one action at a time however “guix package” can compose actions in one > > transaction (guix package --install=foo --remove=bar). Using the > > default CLI parser (SRFI-37), it seems easier for composing to use the > > options (--) than to extract actions. For instance, if it was > > “guix package ” as it is with “guix system”, then it is harder > > to parse the composition, i.e., Makes sense. > Yeah, long ago Alex Kost and others proposed turning some of the current > ‘guix package’ options into sub-sub-commands of a new ‘guix profile’ > sub-command: ‘guix profile install foo’, ‘guix profile > delete-generations’, etc. That's an interesting idea and might help to educate new users on 'profiles', which is a crucial concept for Guix but sometimes learned later than would be ideal. One of the good things about Guix compared to Nix (and most distros) is that the command-line interface is more discoverable and consistent (and composable!). So, we should try to keep improving it in that direction. Although in my opinion we should also be careful not to change it too radically. I think that adding `guix system --delete-generations` et al would not be confusing for anyone. > It may be consistent but maybe a bit far-fetched and annoying to type… `guix profile` is more correct and consistent, although it would represent a major change in the command-line interface, which I figure would hurt usability. Just think of all the "how to use Guix" guides that people have written; they'd all become stale.