From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MMzzHle1rWWqBQEA62LTzQ:P1 (envelope-from ) for ; Mon, 22 Jan 2024 01:22:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MMzzHle1rWWqBQEA62LTzQ (envelope-from ) for ; Mon, 22 Jan 2024 01:22:47 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zancanaro.id.au header.s=k1 header.b="pzvlfxc/"; 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=pass (policy=none) header.from=zancanaro.id.au ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705882967; 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=nwVlQ4GmjQ/qiyThk3fl55YhHREQK/Mc+FcvT3easx4=; b=axOv07E27pE4TSE/fkE6fmphoayN8jDyx0GaNd677xb41yBPnT5Al1MQ968VDK0BRCKswq OwbNhN+nMShJ97WeFijgLO4xT5HxZbV3HUT+G9Q/uVFsdRcmdttQZX8l5dVT8VRlZqi0YF Ap2tCoBtJENU1j6NiuVjOxkjEr32YjC63iqjWFaMI3n1+q8AI2Wz9ysTNH3GXWxsntM4t0 pzOpN5jO3E9f8CEIOxLfRey9GjtUYVmIIcUaoHT37nT9pdqv9kMGx6NGqnqMt9hyEASkPi Q5HgkmdNIHoexhcMNL/h2NEddInx/ojANCPhBNmqmw+sUwY1O4FzS9gC8wH/HA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=zancanaro.id.au header.s=k1 header.b="pzvlfxc/"; 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=pass (policy=none) header.from=zancanaro.id.au ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705882967; a=rsa-sha256; cv=none; b=Xj6q+97TTmZpSx85jdQDn6UtAZumlr07hR3ZATz61UNTVSGdQthUs96UPTeGScJNDbZaSZ bDZXssu14WQXsRc8iUfNO0ehp5v8ck2l1kU0cAZKBBRUoUWANgjnor2fMLx3PCvEULZri8 BdbDma+LsHQqrygvYF0U97HacCPrUIUAg2aWfUP7KthAAn1IByfPJsJSqki7wcnKhFNxDS eBl9Rtr5K5StPvBqCkkZorUgWr140PI+UlYDMowidvfRTlPipgM5zLUXTOqKqTBc/tIOqk 3UOU+MfpIgwvQVspbpXB7qE+M9crk2fky2OV77Jq8H8yTr9qrrZtZ+43t1GKsQ== 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 4FF58389FD for ; Mon, 22 Jan 2024 01:22:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRi4k-0006ZD-Rl; Sun, 21 Jan 2024 19:22:06 -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 1rRi4j-0006Yc-CE for guix-devel@gnu.org; Sun, 21 Jan 2024 19:22:05 -0500 Received: from voltorb.zancanaro.id.au ([45.77.50.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rRi4f-00053h-IK for guix-devel@gnu.org; Sun, 21 Jan 2024 19:22:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=nwVlQ4GmjQ/qiyT hk3fl55YhHREQK/Mc+FcvT3easx4=; h=date:references:in-reply-to:subject: cc:to:from; d=zancanaro.id.au; b=pzvlfxc/FErs6wEByYBMeGK2C9YciVjoo3dhd rgDjwBsoNv8IHmoBmXBmalQnBOp9kZNMJZ5xRbP3NDikuzcgHyJnUy28KN3jXHi9WJxfjT YfsNjjEXYHBlDWE3q4T2pOo37Ydli2dzzLk4bYzg+w250REv8dqOunV86n+X366Q= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id b6967a58 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 22 Jan 2024 00:21:49 +0000 (UTC) From: Carlo Zancanaro To: Ian Eure Cc: guix-devel Subject: Re: Guix CLI, thoughts and suggestions In-Reply-To: <87ttn7txra.fsf@retrospec.tv> (Ian Eure's message of "Sat, 20 Jan 2024 14:50:56 -0800") References: <87il3upczg.fsf@retrospec.tv> <87o7dmgsgm.fsf@zancanaro.id.au> <87ttn7txra.fsf@retrospec.tv> Date: Mon, 22 Jan 2024 11:21:54 +1100 Message-ID: <87plxuz07x.fsf@zancanaro.id.au> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=45.77.50.64; envelope-from=carlo@zancanaro.id.au; helo=voltorb.zancanaro.id.au 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, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.28 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -8.28 X-Migadu-Queue-Id: 4FF58389FD X-TUID: WeAvJnFC/pF6 Hi Ian, On Sat, Jan 20 2024, Ian Eure wrote: > I agree that this would make sense, but my understanding is that `guix > package' doesn=E2=80=99t work like that -- it only performs the final > operation in the list. IMO, it should either do *everything* the > commands specify, or print an error and take no action. It can accumulate multiple commands. As an example, if you create a profile with a single package in it: $ guix package -i hello The following package will be installed: hello 2.12.1 ... more output... then you can remove that package and install another package in a single transaction: $ guix package -r hello -i coreutils The following package will be removed: hello 2.12.1 The following package will be installed: coreutils 9.1 ... more output... The inconsistency here is that some commands can be combined (specifically adding and removing), whereas others cannot (probably everything else). > I agree, I don=E2=80=99t think the situation can be improved without find= ing a > solution to preserve BC. But, I didn=E2=80=99t think it was worth making > detailed plans for any of this before gauging whether the problem was > one broadly considered to be worth solving. I think it would be great to have a consistent CLI, so I would love it if we were able to solve this problem. Carlo