From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4HkIB3qBv2URgQAAe85BDQ:P1 (envelope-from ) for ; Sun, 04 Feb 2024 13:22:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4HkIB3qBv2URgQAAe85BDQ (envelope-from ) for ; Sun, 04 Feb 2024 13:22:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=cTEBb8Th; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707049338; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=tv3H/pShPdmpN2b8q/qzEKbObkRTJZJYDma/RWFn8ms=; b=RPaEcEAA0HbYTNTlAL4YpxqmNHOvR5y90ifLiknhghnlpzCMhRXzfqvvUpLYmcQFQhOdWI tKvIfuE1Y2piQzTrTAv3LMkROX6XWGxSRcenzNJpwRJhRPTamc8GGECBS5IA2VgunIAnS0 OxHl8CT0eiQMbP9q7bMEq3ByIeGNRxv98Oc3Odq7epumx/Rbc1H/4Xw9X1aTipUDUqCJbK wk0nitmmW1gPpdX6kfhqz3Nx6gi/uGLux2Aah9kampqP9Lxd9ocjnvCJQCfSkARI7FcJGj F3nB8hejQnSTFDnJRCmmvUhUUCrQShw5U14jZPn8BESUsB7OOqUxDFelrrpQTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=cTEBb8Th; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707049338; a=rsa-sha256; cv=none; b=C9pjfNSmYGLlPs4ywwCROrbKDGAWaZEMYcUUYvKelv+XhzHcry0kQUoFRydKJSa+EzFl7X E2BnbUgldISnbgs6fVOYAxHFDtiByKWRqhmEnlCm66BUO/w0tAN3+KIFLK/jvoWEZ7Kxpc H0P4kdruxvdl1gjT6LoHjUZzOszc1G4lO6daBD0i//qSnYMcm7XcY8NkmG4jojZba2rvPw 0MkdYqO96B/uKqzIDwarEVAqADHPiecKLxhVLtY30U7UEGh+AZUGX7xaptPzJaiAv3HZu3 pcQwDaci79kK+ukGz5kwHQYmheQjg7zXJj410A2FV7pxYZivMTY+14YbU7n2Bw== 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 D81B140E02 for ; Sun, 4 Feb 2024 13:22:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWbVI-0002r4-4L; Sun, 04 Feb 2024 07:21: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 1rWbVG-0002qv-4B for guix-devel@gnu.org; Sun, 04 Feb 2024 07:21:43 -0500 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rWbVE-0003X3-AJ for guix-devel@gnu.org; Sun, 04 Feb 2024 07:21:41 -0500 Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-42a4516ec46so22520551cf.0 for ; Sun, 04 Feb 2024 04:21:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707049298; x=1707654098; darn=gnu.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=tv3H/pShPdmpN2b8q/qzEKbObkRTJZJYDma/RWFn8ms=; b=cTEBb8Th5kV2I59vUK8ipv44UwHfgx3E54u1nyjEfQERli7ETlaLvQ7PCHW5DwILtY H4oSazKECTgj4vepPlzrVvWckmP/bmND1lFF4ges4G03qVzwPrTm/NhCFJCAoLHMlXpz l89ejfZBOAOOBZ6pC0vlIHHkyWXLOXni8zs6SbJ7gOTGilQCXaNfftpYVjpqwXeY5GI9 zaVWTdGEsyKv4vbrsOd7s00ToxsLBuyr48Ubyb5XBEbP9ECJY30JXybLwx+o0CwkHhuA NaUosTYThxAnPchvatNiodYU/S7C5F4jYb42ro/Af3i2jbhYI2zQnodko9sEZNILoKR0 7Jug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707049298; x=1707654098; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tv3H/pShPdmpN2b8q/qzEKbObkRTJZJYDma/RWFn8ms=; b=S/dtuH1fNr8rsNrim59a0+JHdZ+v9zfevKthT2mLdT4cEQy2PhJo38gDea9HP/vqHt 6ZzkZ8z8NTDdo2yOIBozJFLpT2km992Af0ZiVn+boD/1KXG9bkdkFXzcBzC9do0JLiXv gZwDDd6aE5pDtKJ4GmH7nm6H6oQtuVf9rnpkXaMVBPjdGtw92lU2yPN2mjVyIz49q7aA USPZiXDqNPhRknD5/BhDetGfhMO5Cc/ghjTcFTUf7/51YHjmOTeI8zCVCVqldhFMm9Z6 fYnr92RUVeMawsZzA3AuK53rV/wri+E11iLHuhUW33SV+WcvaNWyeauQLPo/sfmNwdXB ZdpQ== X-Gm-Message-State: AOJu0YwNk9RZQbYUbj1hJhSyYhcLRKagfWU/Q7EIqdJaweK4+WEY7gzk 1EabMsfa3ihudg+Car915EeZErrtT//ruE6VQs+gszcVFMa6N672pneyMnqpj8pMnE6s6FH4/bj EnSpwGeu9WmTmsOVt6cePTPgV4OJPxbbWaoM= X-Google-Smtp-Source: AGHT+IFcgpb0mG/N2ElyUw5JG/A6OAVNtrud9mxrK7PGtNmQf+cseFsfhccPpela/0Oj1uc7nrcKEjV+Cnk9WsFNES0= X-Received: by 2002:ac8:7dc8:0:b0:42c:1bc9:4e64 with SMTP id c8-20020ac87dc8000000b0042c1bc94e64mr2601687qte.23.1707049297860; Sun, 04 Feb 2024 04:21:37 -0800 (PST) MIME-Version: 1.0 References: <87il3upczg.fsf@retrospec.tv> <87o7dmgsgm.fsf@zancanaro.id.au> <87ttn7txra.fsf@retrospec.tv> <87plxuz07x.fsf@zancanaro.id.au> In-Reply-To: <87plxuz07x.fsf@zancanaro.id.au> From: Rostislav Svoboda Date: Sun, 4 Feb 2024 13:21:01 +0100 Message-ID: Subject: Re: Guix CLI, thoughts and suggestions To: guix-devel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::836; envelope-from=rostislav.svoboda@gmail.com; helo=mail-qt1-x836.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: -7.73 X-Migadu-Queue-Id: D81B140E02 X-Spam-Score: -7.73 X-Migadu-Scanner: mx11.migadu.com X-TUID: W3sKbbTS4SBI This is something we're capable of too, right? https://everything.curl.dev/libcurl/libcurl Bost Le lun. 22 janv. 2024 =C3=A0 01:22, Carlo Zancanaro = a =C3=A9crit : > > 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 fi= nding a > > solution to preserve BC. But, I didn=E2=80=99t think it was worth maki= ng > > 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 >