From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id Wbn4FXTRpWQP8wAASxT56A (envelope-from ) for ; Wed, 05 Jul 2023 22:24:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 5ywJFHTRpWTebwAAG6o9tA (envelope-from ) for ; Wed, 05 Jul 2023 22:24:20 +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 230891EACC for ; Wed, 5 Jul 2023 22:24:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=ecYtGaOV; dmarc=pass (policy=quarantine) header.from=protonmail.com; 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-Seal: i=1; s=key1; d=yhetil.org; t=1688588660; a=rsa-sha256; cv=none; b=ZvLV+Ka8DuHp7LGsXMERb/3oO/nErN7Bj8YuhR7AMV74/a7ShHvma7+NRIO0snMzwJRZYv QIGDiF0LziGI8ZFR6jDaPFfRY5sORbRkD62hH/gT/BbQWGVF+as0IujkhbS0ajime8/4TW DK8cEVidvbuhsGo9+DYAXDjYuwZjUnZPcco025uudhfvr6mgD2efuf+BAJyVf/foNv/UTQ pphDmqNoukwgJY3pwj43hxZTKGJuJ+nR0McmLvY6HfRZU4KZKTUtlYV2Hc2iB7KZ/btr6e obpYs0ORwhhfDcLjcKqcutglNRuj7YqamnKv/AEUw8njtm3HIXmUK/l6isIf3Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=ecYtGaOV; dmarc=pass (policy=quarantine) header.from=protonmail.com; 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=1688588660; 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=fwhu20e+Mt7zkn5+ayr2c0JnvxZVCk8BgaNfStBvYBA=; b=tdZevQbyQg4DOz610xsZ698GpNy92ZYY72PhI+CB9hNXPMbMyBEbVhs9+8QZjvD9CYKWpP +QTqNE2uPLrYS+694dpgWLmWPiCAODTntavalSb1oJfRWpqFnqQniprP5sg3fVUuwDW++k z1AUD8COXzW9y3mZ4n+7iD2/ZPgjNlnTj13hHRyUS2fwzqOpA/U9muIJlmshM//3iT9CyP KBJxCRvIFD9JOuWdzNJTQ/o/h6S8TI6kD0TnmKLUZ6CsxVJSScxuClhdlz28n9+jCwHy/6 J2Jjl/F8j/KuPNH7sZ2gGy7lBI2Ty7nkphodHNK8hqaG8klcnWysICIyZQ6kyQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qH92U-0008M3-SQ; Wed, 05 Jul 2023 16:23:50 -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 1qH92Q-0008Lu-3N for guix-devel@gnu.org; Wed, 05 Jul 2023 16:23:46 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qH92O-0001eB-5Z; Wed, 05 Jul 2023 16:23:45 -0400 Date: Wed, 05 Jul 2023 20:23:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1688588620; x=1688847820; bh=fwhu20e+Mt7zkn5+ayr2c0JnvxZVCk8BgaNfStBvYBA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=ecYtGaOVSl4Aho5eoY1SrOeKPW8ZBASSkc+nL3ZQaQLtSVcLrVs4LqRCPXAadr22E cytd1v/S2YjNIH96Qvn8TmJEPHUxzN+PLjk9YFWASZ61JjW1CWnFjJ4TrUyj0qXyE3 pWkJHGXAV5mk/fTJ/gK4xecj3RTkYgncSI9HPAo+JaRJFmxwecm9WE5mCcjDC0wVm3 Kp9zCQlQWtEtXu0br6zvCfzaawHViHmuBRuoVAhbFzESereegYntP/daee2MzJ4Qjt b90bE/ffXTUUsAryD37qfYGgS5ZlfIQFDl67Jz2Y8ZS9Yf3ZSInrzqBKvs8MwdhjSF 5uosiTJCQI69w== To: =?utf-8?Q?Ludovic_Court=C3=A8s?= From: John Kehayias Cc: jgart@dismail.de, guix-devel@gnu.org Subject: Re: Transformations Shell Syntax Message-ID: <87edlmkszl.fsf@protonmail.com> In-Reply-To: <878rbyum14.fsf@gnu.org> References: <87edn3jdn4.fsf@gnu.org> <878rbyum14.fsf@gnu.org> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.133; envelope-from=john.kehayias@protonmail.com; helo=mail-40133.protonmail.ch 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_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.48 X-Migadu-Queue-Id: 230891EACC X-Spam-Score: -6.48 X-TUID: JyfJppHDCbET Hello, On Sun, Jul 02, 2023 at 09:54 PM, Ludovic Court=C3=A8s wrote: > HI, > > John Kehayias skribis: > >> As one who also would like a shorter syntax option, here's a quick >> thought: what about a short version of what we have for when there >> is only one package given or it can be applied to all packages/be a >> positional argument? An example is perhaps best, so what if we could >> write: >> >> guix shell --with-latest >> >> or guix shell - >> >> which is short for >> >> guix shell --with-latest=3D >> >> or even >> >> guix shell --with-latest >> >> to apply to all packages. > > This should be possible. We should check the option parsers and > transformation procedures in (guix transformations). > Sounds good, seems like a nice little project for someone. I'll pass for the time being as I catch up on my patches and trying to review more. (And I want to add some basic multi-arch support to the FHS container, too.) >> Or something like >> >> guix shell --with-git-url=3D >> >> and so on. > > This I=E2=80=99m unsure; one might argue that it=E2=80=99s also ambiguous= , I=E2=80=99d always > wonder what =E2=80=98--with-git-url=E2=80=99 applies to. > I generally agree; I'm not a fan of too much positional-ness in arguments as it can get confusing. Though we do have --development for guix shell already, of course.