From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mAuqID89v2PRUwEAbAwnHQ (envelope-from ) for ; Wed, 11 Jan 2023 23:50:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uIbhID89v2ORCwAAauVa8A (envelope-from ) for ; Wed, 11 Jan 2023 23:50:39 +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 258C626C74 for ; Wed, 11 Jan 2023 23:50:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFjvD-0006Te-5U; Wed, 11 Jan 2023 17:50:15 -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 1pFjvB-0006TI-BI for guix-devel@gnu.org; Wed, 11 Jan 2023 17:50:13 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFjv9-00040J-Mn for guix-devel@gnu.org; Wed, 11 Jan 2023 17:50:13 -0500 Received: by mail-wm1-x32e.google.com with SMTP id p1-20020a05600c1d8100b003d8c9b191e0so13780328wms.4 for ; Wed, 11 Jan 2023 14:50:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=+nZ/E3J0Xw41a4JN77YwMlTqrL3HxwVSLvuDtGxrxlo=; b=gCVQmMbOhdvaQbO5AQFcwAyo7mTZQxlhhwTUZFTvTsIK1QAcCR+Hx9fd/mdvzDKZG6 TO/YMFtiQufLv4AMUfenLaxLrxG3Nl0KehKFUc5cAzvMWjy0jtaGy+XdwBRTD+OOTvvc tmTMg6NcWX9TWMJFzVFudo9VnXrk4hpllYymEhTIWo3x3QEof1Ev3oXrQCmyQzoS0ccJ t/1GrQFLjht80jCzIhA5B9QRVGI/MSXj9DjnoKtANPBUoHYMciuDk7KzhpBpf/npyVT3 LwQWH/e78fr/V4mXNqPn27LAiVh1nQlFZw2j1qMEfCAv9+hJ/iG8HdAzS6PiUbRpHMQQ lpfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=+nZ/E3J0Xw41a4JN77YwMlTqrL3HxwVSLvuDtGxrxlo=; b=JZRtAVHod7N1x5C09fBuQppu2qoQlaJlsVEIPDaPb17UJbyGtkO8fm3Umpnzw4WYEh Wep6LIouV42zbHh46qmSAB8kjvchhFt6V4QfOm5ZW/gFBezjtfsf+dwa2aJUm1yOhz59 5/UXNWR5IU62XOaKek8Y6dILB4SZF4dBub589jylowziUsezG1CX9pd8SgBKzvIGI+4L MUorYBgecqxF/E//xxcfBNf7FZZqsRqCvTM6Vygke7u4Q1LfD1k5lYja3yLqbP726esJ y7ALdsmyGlrWKCiwpF2ghdJ9gtLOClccQdjfrSYRXFBDH/ycxUAjgIx5A+vBWZSRZmBm hg5w== X-Gm-Message-State: AFqh2kqM6++JNzdTOfM2XapQs26s3wsi2iuWJ631hD03+YE2u5dnjxFR Y8Ky+dBWfS5iBhSeHpnrnVfbL3wfCLo= X-Google-Smtp-Source: AMrXdXvaPlzPSniQN9UANDHMlxliZ3pEG+RlqaenCeKGhysFJ9lMr/nV6Ecdln6RcrkvNjxlXMjh+A== X-Received: by 2002:a05:600c:1c8a:b0:3d2:7ef:acc with SMTP id k10-20020a05600c1c8a00b003d207ef0accmr13478109wms.0.1673477410294; Wed, 11 Jan 2023 14:50:10 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id y6-20020a1c4b06000000b003da119d7251sm562605wma.21.2023.01.11.14.50.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 14:50:09 -0800 (PST) From: Simon Tournier To: Paul Jewell , "guix-devel@gnu.org" Subject: Re: Command consistency: suggestion In-Reply-To: References: Date: Wed, 11 Jan 2023 22:51:43 +0100 Message-ID: <868ri83fkg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32e.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 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 ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gCVQmMbO; 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=1673477439; a=rsa-sha256; cv=none; b=YWATn5t2UycO00IbK+o+G2ILMrI3lHIzVGAwKF/nYvrimDTQAds66SM9FqjnPAOx46Q0FK UcXPJGaMHk5o2y0R6OZn6rAefMNzKuz9WvwEWyNcZrxde7Vr9jibaFKHbR5B2xot3gcw41 fNb1Rns0L/URpM6BgPC9hOOuoyYgcV+zsp1T3Nh7HucfD3zV1c6bKhIjyD5c+sFjLAIhAs gR8mIIkIxJQRs443c7ziR/8iNxVI6Az/h0tpkSoaizwkH8ENDKe/YTuyIE7QTURTb6yEsl aP/5b+AWLaEX1ydo7OmQpzNxD6ENsT1If3m8aGrDALH9wZt2+n+hMcNhLHMA1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673477439; 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=+nZ/E3J0Xw41a4JN77YwMlTqrL3HxwVSLvuDtGxrxlo=; b=rmIm5T79N1Ar4dx2K/pwqqekhesBOtqZI/ZI3RZ08ZZSa1VnxsJcXHdu3uo2NdmMVk0t3j /+m3++LzoVMaffVo8GNwETaWdmPg5daqwGDv8LP61psu5/2DpLg5rJIRl4sxZNXIFu2MBQ GYyULqocedYcB94er8k25yEQKt8iWPa01Q2ybCI/PGROWHIh222adMEWpmW/6J1gTsdYDq PRmDsdZ8gXcz5pVq3BfF/MvzMoBAEjJT+jhBkqeo2d4uX1ZPRaK1OXGE8C4nudadJx7+hM Skio4W+u7d9MlpEKxWKu/gdtlm/uiHvYB9trLdp7gJfy+4DihMDZjYEPiNPS4Q== X-Migadu-Queue-Id: 258C626C74 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gCVQmMbO; 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 X-Migadu-Spam-Score: -11.04 X-Spam-Score: -11.04 X-TUID: 9iLvB8M4cEFm Hi, On Mon, 09 Jan 2023 at 12:22, Paul Jewell via "Development of GNU Guix and = the GNU System distribution." wrote: > guix package --list-generations > > and > > guix system list-generations > > guix package has everything as an flag, but guix system (and guix home)=20 > uses the concept of ACTION with options and arguments. Well, =E2=80=9Cguix package=E2=80=9C also uses action and it is possible to= combine them. For an example about the issue it leads, see bug#50473 [1]. 1: > Perhaps the latter is clearer, and guix package should also follow the=20 > same model? It is often discussed. :-) Well, =E2=80=98guix package=E2=80=99 uses SRFI-3= 7 [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 =E2=80=98guix package=E2=80=99 will not change, IMHO. The mitig= ation of what you are considering as an inconsistency is to have =E2=80=9Calias=E2=80=9C;= 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