From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id D0bbE42QxWN6aQEAbAwnHQ (envelope-from ) for ; Mon, 16 Jan 2023 18:59:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oKg2Eo2QxWPpHgAAG6o9tA (envelope-from ) for ; Mon, 16 Jan 2023 18:59:41 +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 11D702B983 for ; Mon, 16 Jan 2023 18:59:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHTlN-0004Jm-Ci; Mon, 16 Jan 2023 12:59:17 -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 1pHTlH-0004GL-Uc for guix-devel@gnu.org; Mon, 16 Jan 2023 12:59:14 -0500 Received: from crocodile.elm.relay.mailchannels.net ([23.83.212.45]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHTlF-0000jv-9m for guix-devel@gnu.org; Mon, 16 Jan 2023 12:59:11 -0500 X-Sender-Id: instrampxe0y3a|x-authuser|paul@teulu.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C658C761C16; Mon, 16 Jan 2023 17:58:25 +0000 (UTC) Received: from cpanel-008-lon.hostingww.com (unknown [127.0.0.6]) (Authenticated sender: instrampxe0y3a) by relay.mailchannels.net (Postfix) with ESMTPA id E7A407610E7; Mon, 16 Jan 2023 17:58:24 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1673891905; a=rsa-sha256; cv=none; b=EEnbI3+nF+1Gpw/fvMlsW9+WgDNw1O1ib5ciOHoqnVIL7bixvutgd9eCKPDAq+AYHAhkuf R8ntubgfnBIm4arSG3J9OyKS68lK/OICCcTayHOz+cNO4vVj+heV40I59HCcf6JW8oIl0a OunnJod2PJifyxOx+B5hxgvySwWKByti2wsjFtbbaGvUb91kbrLV7BddsfG7zc0+0i0bUY TN4lDZVexjy5qXnicP0cQ5y4wW7ZcGdgxxFKQzHe9kRSe0atq3CD6JYeyL6XOFTMUsnMrr mxBZlTeQL8ElAMumPNB8FWM/HywrWY/v+2dAiZuRgtM6Mz1RjOX1Y4wa80eJhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1673891905; h=from:from: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:dkim-signature; bh=xK/Cm2UpSiAgnOIiRp1tJAgCQnbsSbBzlGPiFOCf0EY=; b=rY1wrLZx4olp8PL13TNbVhXA5gE01jFCJUwzC1KxVaB21/f1ZzeCWOCF4UaNpn4C9kSlRy 7TOis7/qtsd3qg5d5CEAwQNoAu1sAbxJD4ZMT0129j5ZP7uuxyNEY1HgYXbCG8UsET/sJR ArOGpU5FYNvwwsxe5nqAsgtfBdnuM1Z0ulVny0X6duCp24Z6uD9dQrk7suhwARAKtqJMrK TfgmfT1uqvoDvPDNGg8VpB3xfYlbskvZ2QmYxPrrGgBE542ErOzRStnvmomPbrYCwxpeMe b1rXGi2BrZ/h1FKRZEg0gRHN8oJqYm8Ta5LM3k6f+H9ISmUpRZCQ27HlgngKDQ== ARC-Authentication-Results: i=1; rspamd-7cf955c847-hgtc9; auth=pass smtp.auth=instrampxe0y3a smtp.mailfrom=paul@teulu.org X-Sender-Id: instrampxe0y3a|x-authuser|paul@teulu.org X-MC-Relay: Neutral X-MailChannels-SenderId: instrampxe0y3a|x-authuser|paul@teulu.org X-MailChannels-Auth-Id: instrampxe0y3a X-Lonely-Share: 5200574173070a9f_1673891905555_2136878462 X-MC-Loop-Signature: 1673891905555:2683109270 X-MC-Ingress-Time: 1673891905554 Received: from cpanel-008-lon.hostingww.com (cpanel-008-lon.hostingww.com [35.177.91.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.103.24.68 (trex/6.7.1); Mon, 16 Jan 2023 17:58:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=teulu.org; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xK/Cm2UpSiAgnOIiRp1tJAgCQnbsSbBzlGPiFOCf0EY=; b=Z/pFODBdNQ9WaZgr/V2iimhkAn wj5Efp3jILVlHPCodeIauR4UfwEPq95k139vJJiKgx33l7Yp0VwAGQRo1nyKue9PRaYjJ9HOLcklM 8Pg74BAlpK1GHH4Bemxwt3X4njU6Ljc4/N/CM048gPeJMPEW68fLFcWWqW1hxx2OPSlupzWf8JRNz PtY/6hwP7J7MPk9BlBw0ENCydaC82iv96xFs1pwL8TcauAdq0jXn8Rs/6O04RH1HhekwymDKWS5QE dAt0w8cwSWN0+Q1i3ZOwGlwLeeX5KciErIc3J2TzkMarNQLd8ORpxkQY3fkToa7Ey7qSh2YfkqVzl 6+Hep5Xw==; Received: from [31.22.31.133] (port=49798 helo=[10.1.3.14]) by cpanel-008-lon.hostingww.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.95) (envelope-from ) id 1pHTkV-0036JN-9n; Tue, 17 Jan 2023 04:58:23 +1100 Message-ID: Date: Mon, 16 Jan 2023 18:59:00 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: Command consistency: suggestion Content-Language: en-GB To: Simon Tournier , "guix-devel@gnu.org" References: <868ri83fkg.fsf@gmail.com> In-Reply-To: <868ri83fkg.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-OutGoing-Spam-Status: No, score=2.0 X-AuthUser: paul@teulu.org Received-SPF: pass client-ip=23.83.212.45; envelope-from=paul@teulu.org; helo=crocodile.elm.relay.mailchannels.net X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 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, NICE_REPLY_A=-0.097, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Reply-to: Paul Jewell From: Paul Jewell via "Development of GNU Guix and the GNU System distribution." 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 ARC-Seal: i=2; s=key1; d=yhetil.org; t=1673891981; a=rsa-sha256; cv=fail; b=sbN7A8OqKy6+tD0aOOtH7CqFk88bVN3CrZ6q4HtY3cJy7HglrQ28bgQM9ojDlaUwFvFj3i 3ZQmSv3Vd/CdzVL83fwNQ3iGyt5rrnxJT5gEqcy+FsQRyQY8QYt3gtqelSIr6Q4L2B9DDb RZvpocjX4cuv6Hfmh65GwSVYZX4OLIJpo2tADVHYUtkULL5p18GV2hvUQjsIa3tDT/sTV8 /8n0ZY5HVmEjUMQfjURtn1W0k22e6d5lo67YnrtBWNkxABqMPv6A6ti6BlbVTtp6V+30Lw kgg+Xi/djRiq6GeGjtqy0DX3h9g8h2JfchzI8nsQAI+qXFQQrYtNj0y6QeSc+Q== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=teulu.org header.s=default header.b="Z/pFODBd"; 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=gnu.org; arc=reject ("signature check failed: fail, {[1] = sig:mailchannels.net:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673891981; h=from:from:sender:sender:reply-to: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=xK/Cm2UpSiAgnOIiRp1tJAgCQnbsSbBzlGPiFOCf0EY=; b=q+NGYJMfvTlCOeDNTDWuRyuFaIchZvQGpX+I2T/pvg9ne9xSP3KXCcT9r30wG4vhYI0lAe jK3IHwdfZJrOSxWbk4suyXu0b54h+iV08JwgsFKw/TcATUMv155CanbhJSQNKf/QzBxJPS Mt7MifYwiAnXiF01j7IcbcJ2IYvmCLq1xxIIw33v9QSjkqlUeeyJpC2EMkGJDE16oHAiBV MBiRBN8En+c+FU0fUuHa36GmoojZsUS3ED8LCGbb3muyGTqHMt4SWQxHoROweMexNd1KzB FpIAhZHAQ8aXRVVY7kJjylvqij3m9atSjsu30p306EQ/mKa57br+6niC7+PiCw== X-Migadu-Spam-Score: -0.93 X-Spam-Score: -0.93 X-Migadu-Queue-Id: 11D702B983 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=teulu.org header.s=default header.b="Z/pFODBd"; 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=gnu.org; arc=reject ("signature check failed: fail, {[1] = sig:mailchannels.net:reject}") X-TUID: gldgoxN7AU5s Hi Simon, Thanks for the input - comments at the bottom: On 11/01/2023 22:51, Simon Tournier wrote: > > It is often discussed. :-) Well, ‘guix package’ uses SRFI-37 [2] and it > is possible to combine some action; as --switch-generation and > --delete-generations for instance. Aside note that one transaction can > install and remove: > > guix package -i foo -r bar > > which would not be possible when using single action. > > The CLI of ‘guix package’ will not change, IMHO. The mitigation of what > you are considering as an inconsistency is to have “alias“; guix search, > guix, install, guix remove, etc. > > Last, we could imagine a Guix extension [3] and then (not checked :-)) > maybe the user could opt in and install this extension for replacement. > > 2: > 3: > > Cheers, > simon I hadn't considered (or even known about) the multiple commands possibility. Maybe for consistency then guix system should also work the same way as guix package - guix system --list-generations This is how I tripped over this problem initially, because of course this doesn't work! Doing it this way could also allow multiple actions in one line: guix system --switch-generation ... --delete-generation ... but I am reading into your comment that guix system does _not_ use SRFI-37, and therefore cannot combine actions. In other words, it would take more effort to implement this change? I suppose for those of you who have been in guix for several years, this is no issue, since you are familiar with all the different options. to me, as a relative newcomer, it didn't feel so smooth. If nothing changes I shall not be resorting to aliases, but simply making sure I know the correct syntax to achieve what I want! Best regards, Paul (who has finally got his Guix system laptop working as expected)