From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UI/pJzh932SIKgEASxT56A (envelope-from ) for ; Fri, 18 Aug 2023 16:16:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wBSuJzh932RDHwEA9RJhRA (envelope-from ) for ; Fri, 18 Aug 2023 16:16:24 +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 4742156D18 for ; Fri, 18 Aug 2023 16:16:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=LsQd4Qsv; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692368184; a=rsa-sha256; cv=none; b=SmwpA/5JBiONLqxonFoX9AKIgAFlfSihTN/owbeRGDpfMe4eJnwTtINElBma32PZYgDRVQ tAawV4Nk4JMApjUeqGDeYvMJjOaqSrcUWXPcNXGM5cG1MSsZvAX7y1a7N6raZlHKloYLrS olxMH/tO1udGBZfOLGnFPG2eHfdTWmdEYabnMNn/cnz9VkFTqnxyjmEdloatfiJNNX4alF qocrrUmuK94cvyzAqTjP0sdJX+6JyP31mTyu3S0mP3v1+vUQwqv9Zi1w3YJS+1JM1WDxwh WBMGYa2TM57LHoHAVCGn22qhMDC1PTpWIxY/MBXqYX4kRT+2aa64Gyhvw9nmPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=LsQd4Qsv; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692368184; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=soLDLY927qWxftQ8NnXG4LjnUiBhDZY+9uiEA+oMKTs=; b=qLYiAPw4O4IwV32/ndIqZ9y0HEOhQxG00Akk9nmQ/58delreGlffeKPpdt9keL9UIw5Dtb R+6l1upe8iEgmw8re0IKRVs2rq7YYe435DVpMjWM0bvTv0myNlLaQ1iejlXZZJegFWiN5K zI5jKCSngO5Ke6E4oDuImb5x1WlcbmBBGp5yGbwdZZq04LJVOVI0eTFw/4dPA7pvgPGExA dQlY5lc7gDW2FMVqErB2vGQIrWmfNjIyprleo6YHES2/WtwsgPONBsSDzo0UXrLzutrIQl NT6GBYTeAPHUWJwLmcUX/pcfHFTE8DuPVrtnzMczX8oGatJBJ3KjidvPLG+W0w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qX0Gi-0006DA-A9; Fri, 18 Aug 2023 10:16:04 -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 1qX0Gg-0006CN-6g for guix-patches@gnu.org; Fri, 18 Aug 2023 10:16:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qX0Gf-00085W-Uc for guix-patches@gnu.org; Fri, 18 Aug 2023 10:16:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qX0Gg-0004lJ-CA for guix-patches@gnu.org; Fri, 18 Aug 2023 10:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64173] [PATCH 0/1] guix: pack: add --entry-point-argument option Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Aug 2023 14:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64173 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Graham James Addis , Josselin Poiret , Christopher Baines , 64173@debbugs.gnu.org, Mathieu Othacehe , Graham James Addis , Tobias Geerinckx-Rice , 64171@debbugs.gnu.org, Ricardo Wurmus Received: via spool by 64173-submit@debbugs.gnu.org id=B64173.169236813314591 (code B ref 64173); Fri, 18 Aug 2023 14:16:02 +0000 Received: (at 64173) by debbugs.gnu.org; 18 Aug 2023 14:15:33 +0000 Received: from localhost ([127.0.0.1]:48491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX0GD-0003mU-03 for submit@debbugs.gnu.org; Fri, 18 Aug 2023 10:15:33 -0400 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:38940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX0GB-0003RZ-7e; Fri, 18 Aug 2023 10:15:32 -0400 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2b9eaa7c83dso2911911fa.0; Fri, 18 Aug 2023 07:15:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692368125; x=1692972925; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=soLDLY927qWxftQ8NnXG4LjnUiBhDZY+9uiEA+oMKTs=; b=LsQd4Qsv8diIunKJjHq5KfNjm5SkRpK2vLx9+SCDYe+gtL7lQSwGB9pu0JVrKFUPnn kPNW0OG+e5amSUPelqy1F55BOsd38i69RCoHPnWk0AEecUrhdIPUYkdqKYI5PhLZettq /xLH+ugP9V7VjxKIDAy34hA0qPURlwbcAr77eaLywcQibp51B6y1GdNpuAwGLpp775oj AYdwVfmnilnGp55fqihkU+wDVSDN4mtMbiXDETUdAYKWeJqlBetZeKgaFjGqp2xsIKO7 5qwHrvMn7RQHLbfD1ii1IxcP9BfHR3yITnUNz9wurBlUvCKdQRIAVRwaG7DYZEVMebOy V83Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692368125; x=1692972925; h=content-transfer-encoding:cc: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=soLDLY927qWxftQ8NnXG4LjnUiBhDZY+9uiEA+oMKTs=; b=CpeDAagdjyCGgZDSnuKrsmtmB0iYvvIc4JrDy1A1WF4TDYje8vxdPuFs74ULoQLHIp q/+tQPaeHhaQZOYYwSTJCPmUm1IkUKSoTXX2UHemWHjPGhuBqafK/MBFHqhvhmbRqPII HAYDk6tdvq5XkYwrn6utb5jgg4YNB+ysUeo77vZKvjKSP8RMhryuVpu7v9oLgNafAEDT cIXaaNIVia/F5p0zfs1ITkh2qCqDfPopMTUSjIbrERcM6KZ5tuG4U2BB4z+yh+0KvSmS 9g0Ji5euIeYVPKyorxUsbjLe2EQIB3zhh9YyOEy/MN8sHQC0Lc07Pf9A6WuKFNaNRgxf 0m8A== X-Gm-Message-State: AOJu0YwCF5zNRd3VHm9MjI/oJ9wANkLgPUiEybw8wyEMWvsRABFwnviT LDmtAhT2d+PMrWe9sBHzQZzETH57CVUyuQ7QDdw= X-Google-Smtp-Source: AGHT+IFeaM8+4BMxkpKaLLv6tnVIM0k8axAvJWbbMCejuImJHIMoqLL2Gnclw/GbgD71QyH4JsJxhlMDnENveL6wKW4= X-Received: by 2002:a2e:aa13:0:b0:2b9:54bd:caed with SMTP id bf19-20020a2eaa13000000b002b954bdcaedmr1850651ljb.1.1692368124438; Fri, 18 Aug 2023 07:15:24 -0700 (PDT) MIME-Version: 1.0 References: <53f0c51cabbd317469721fb7f47b47af50d42177.1689149161.git.graham@addis.org.uk> <87wmxuxax2.fsf_-_@gnu.org> <87sf8h51pq.fsf@gmail.com> <87zg2oqwkv.fsf@gnu.org> In-Reply-To: <87zg2oqwkv.fsf@gnu.org> From: Simon Tournier Date: Fri, 18 Aug 2023 16:15:08 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -5.07 X-Migadu-Queue-Id: 4742156D18 X-Migadu-Spam-Score: -5.07 X-TUID: LLVzLqgujLGr Hi, On Fri, 18 Aug 2023 at 16:00, Ludovic Court=C3=A8s wrote: > > Well, since the order of the various command-line arguments might > > matter, and since a =E2=80=99reverse=E2=80=99 is suggested, and since a= ll the Guix > > command-lines do not behave the same way =E2=80=93 for instance =E2=80= =9Cguix package=E2=80=9D > > processes command-line argument from right to left; see #43585 or #5047= 3 > > [1,2]; anyway :-) =E2=80=93 I would suggest to add a sentence in the > > documentation (manual) that the command-line arguments are parsed from > > left to right. > > No: the =E2=80=98reverse=E2=80=99 puts them back in the right order (beca= use > =E2=80=98args-fold*=E2=80=99 traverses the option list from left to right= and thus > conses the result in reverse order.) Is "no" for not adding a sentence in the documentation? :-) BTW, what means the "right order"? :-) I point that "guix package" and "guix show" process the command-line option in different order -- from right to left vs from left to right respectively. Thus, this "right order" you are assuming can be confusing, IMHO. Therefore, applying POLA, it appears to me worth to add under the option description of this new "--entry-point-argument" in the manual: "The @code{--entry-point-arguement} option is applied from left to right." Or something along this line. My 2 cents. Cheers, simon