From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MCY5EeHHbGQNAQEASxT56A (envelope-from ) for ; Tue, 23 May 2023 16:04:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yDkBEeHHbGT6/wAAauVa8A (envelope-from ) for ; Tue, 23 May 2023 16:04:17 +0200 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 D22B83C925 for ; Tue, 23 May 2023 16:04:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1SUm-0001fc-NJ; Tue, 23 May 2023 09:56:12 -0400 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 1q1SUY-0000jo-Vt for guix-devel@gnu.org; Tue, 23 May 2023 09:55:59 -0400 Received: from hera.aquilenet.fr ([2a0c:e300::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1SUB-0003pE-Ov for guix-devel@gnu.org; Tue, 23 May 2023 09:55:37 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 244351A48; Tue, 23 May 2023 15:55:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XJAFvrnQCCDE; Tue, 23 May 2023 15:55:30 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 748B2421; Tue, 23 May 2023 15:55:30 +0200 (CEST) Date: Tue, 23 May 2023 15:55:28 +0200 From: Andreas Enge To: jgart Cc: Simon Tournier , guix-devel@gnu.org Subject: Re: Transformations Shell Syntax Message-ID: References: <86a5xvv12u.fsf@gmail.com> <95989e12b8be444d908a4401c1fb55d2@dismail.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <95989e12b8be444d908a4401c1fb55d2@dismail.de> Received-SPF: pass client-ip=2a0c:e300::1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684850657; a=rsa-sha256; cv=none; b=bJRH8VXWxVCAPq2eUqwkbFp9Jk0O7WkFQodiTxR+3kolK1tpL3b0KJNbT00xhWf93JGYAI o0UZfcg7bbjQbcnVJ908ToQnhC2TfunKU3kF5MrTkHhHme0AVPKkGcCiW3aUtq5LDVoV0k jrf3FJ0HaWzInVJ7z99aPL8GgrxIh7Ovs3m4gXwvL5SwrQGdWZUrHvDTr+J3Wn8vq6sSHM sGaZOOXilzNk54Py/ET7DbZ4hW3dJ2ahGy8vuQWjK8UVk6zDC1jWSBRbTUmV32raSmk5on G7wI5/1hPESIOAf4q6okjhMhLHspMKeH++xBZhVtSQJPP2z0ckBxDVV2KRb7fg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684850657; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=hSH95aeWUjsQoS4ADokHD+C5bm7QYRB6/HGyvUR+2Rk=; b=IMdrF5ayfJtPPd5L0J/y3jkKic3kTJNnwP+Ucg0mP2cxukQXj89w+graqHCMCLyAL1exVR UcITe6w2psW4robkv0dgUCKne1dAQQJlpw/aXVFPhRzOFlkjHOdRsU4HyY9Z0eQpxWvSMV ulB5Jnu0P3uWKMDJOicBqJuAytR6HYh4+pDyclOyVktrGaz846KErE7gm86vaxN87krM3+ zg8Un4GbMs0zTBjS7Mb8lscqwbsHeU3eWkxQoCdLUrcTxBRci8vf4REfXvv78HT+Pwt3zy KtrakVJaWLjlXCS/hzf3kUrYDHg7vzFNy949PGly8Lyf3PYRA0Rxbn2rdHhU5g== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Spam-Score: -0.97 X-Spam-Score: -0.97 X-Migadu-Queue-Id: D22B83C925 X-TUID: Ij4jZxiShlKB Hello, Am Tue, May 23, 2023 at 01:24:00PM +0000 schrieb jgart: > I was openly ideating on having shell syntax like we do currently for emacs-ement@0.9.3, for example, but for a subset of package transformation options as well. I am a bit wary of too much intelligence in interpreting commands, at the expense of clarity (also for the user - what do they really do?) Right now, "guix build emacs-ement@0.9.3" means "build the package emacs-ement at version 0.9.3, which is available somewhere in my channels". I think your semantics ends up meaning "try to make sense of the version field, and give me the package at this version". This is actually quite different - for instance, it means the package is not vetted by Guix developers. So there may even be security implications. In my opinion we should strive for simplicity in commands, it should always be clear what a specific command line does and not depend on context, and the guix tool should not second guess what we want to do when invoking a given command. Andreas