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 ms5.migadu.com with LMTPS id wAR7KUiYwWMpsgAAbAwnHQ (envelope-from ) for ; Fri, 13 Jan 2023 18:43:36 +0100 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 QAChKEiYwWPwPAAAG6o9tA (envelope-from ) for ; Fri, 13 Jan 2023 18:43:36 +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 6407D3AC29 for ; Fri, 13 Jan 2023 18:43:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGNgM-000157-Ft; Fri, 13 Jan 2023 12:17:34 -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 1pGNfy-0000Jt-HU for guix-patches@gnu.org; Fri, 13 Jan 2023 12:17:12 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGNfq-0000u6-Eo for guix-patches@gnu.org; Fri, 13 Jan 2023 12:17:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pGNfq-0002Bk-AN for guix-patches@gnu.org; Fri, 13 Jan 2023 12:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60629] [PATCH 0/3] Add '--with-version' package transformation Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 Jan 2023 17:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60629 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 60629@debbugs.gnu.org, h.goebel@crazy-compilers.com Received: via spool by 60629-submit@debbugs.gnu.org id=B60629.16736302178394 (code B ref 60629); Fri, 13 Jan 2023 17:17:02 +0000 Received: (at 60629) by debbugs.gnu.org; 13 Jan 2023 17:16:57 +0000 Received: from localhost ([127.0.0.1]:52284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGNfl-0002BK-CT for submit@debbugs.gnu.org; Fri, 13 Jan 2023 12:16:57 -0500 Received: from mail-wm1-f45.google.com ([209.85.128.45]:44790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGNfj-0002B3-Cj for 60629@debbugs.gnu.org; Fri, 13 Jan 2023 12:16:55 -0500 Received: by mail-wm1-f45.google.com with SMTP id g19-20020a05600c4ed300b003d9eb1dbc0aso14889565wmq.3 for <60629@debbugs.gnu.org>; Fri, 13 Jan 2023 09:16:55 -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:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=0laHvXt5Z1FKeAtoFmGdgUi58JhglTGsi6qLMM3EN0g=; b=cbCl3a4Q/HHle+FblMmf17Okr0BPFlXmWdHWj872pgvDMmoJiaAnvgL1cG+ELYrJnk DrQUq/7Gy/K78gNnGZXRA1t0STlIDewZbroJdAV3zkIZSB5U7OGW5ltziWWRNQbZnLhg zQEsPwsN8Ess4eNPCeiurSImzKZJnNBu0XGYt0p9gyjGrfD9LrU+9TQZXlaO8KFko0RX nowJXad065Vy/2wp9gVRQ1qoie1/subbm8+EiCCXkSxcMVnsLQ1WK8jdn0lgfhPb00Yb EGFJhYkd+O0wND0Ac+JWiVbEX2yQw/AZa64M7n4UqvEcUDaQ8/nJhTQs3G2ifoN9PxwZ kyQg== 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:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0laHvXt5Z1FKeAtoFmGdgUi58JhglTGsi6qLMM3EN0g=; b=ftd5sH81BAj/gVMzzOEjkvEHsixE4K6uBQ0qxdfTsUMJo6IRcMgod9jWn0FQWNruTb NrWsBzBA95sw62A4VF7kCcslnAa34EAzzrd6O80UgSmgNUi2y3cEFK0x9UW6vv3JhbSo qMIzp+l3gNPpcX69SPApnCrykIypsN3M+ObDCAKFhiZ+k5wlUknZjD1M7Lqx7dEWINc0 3j8rF813nGbGaZefijYiynyYBi+NfRDy1kZiQsCFwGvvPcZpt6Uw7fHgMX6EumXEaa9S dQsIG9ai+0HJ2q5dYd2b3EW5RJmbZzZ2r1fPzyhbzrVp9vamcvmdVh1z9tYjYtFnZM5M iiOg== X-Gm-Message-State: AFqh2koWorNN+wrc3u87zChsv1gOsZzHsRJhhSFE8+j+cwp9jle21JEc GjNrxyTiwiqJTBLU/RfEhrk= X-Google-Smtp-Source: AMrXdXs0atO4qkaGmxjuYUq82ycbCyw8YWIilEAvLLWRuACHLEIVnqAOxc2VcO/2a5s1wu96yg4alQ== X-Received: by 2002:a05:600c:4fc6:b0:3d3:446a:b493 with SMTP id o6-20020a05600c4fc600b003d3446ab493mr14843326wmq.4.1673630209167; Fri, 13 Jan 2023 09:16:49 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id w4-20020adfee44000000b0029100e8dedasm19344887wro.28.2023.01.13.09.16.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 09:16:48 -0800 (PST) From: Simon Tournier In-Reply-To: <87mt6melim.fsf@gnu.org> References: <20230107150457.4446-1-ludo@gnu.org> <87o7r3wy55.fsf@gmail.com> <87mt6melim.fsf@gnu.org> Date: Fri, 13 Jan 2023 18:00:41 +0100 Message-ID: <871qnywerq.fsf@gmail.com> MIME-Version: 1.0 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cbCl3a4Q; 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=1673631816; a=rsa-sha256; cv=none; b=riCUvxk7zbwRiraHopV8jnE32ov9mfZ8Zm8nRGlyMcJa4GvLszI+gHUGVXXMCRqXSoNPpp eWxf71jqoKUqfsnhFK8h427z5LiepCW1PvpUWUC/5lPqu55WKgQSKcpfIbD4jvCQ1fbcJn ZStBoRqbviUtIvuntHdvuDBBO3VGRuVf4Hj8hWdrVGOp8BAEcroUwom0rgmkMg194KSQM6 jAR/yYX208sdH2MIuMVLGT2A0O+n0fa1+hhvY2e/DDz2vSI/+CyuI0IioMnaMP4GNwWIZx GOvikrnM5dSFgzRfindpXsujt3mrmeX2D8DCzTfQ7mw2kepRGoYChsYjjFUyzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673631816; 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=0laHvXt5Z1FKeAtoFmGdgUi58JhglTGsi6qLMM3EN0g=; b=PafMQAw3JDCtz0mX+DsNcG1YCMx3fwbXtIjygxLmp83DdlyTsodv9iPMjolEBIDR7RzJDf 7T/ZpbmXA/Oz+32Sudr6L8cA50tXqNMmPFGI9Cp1omkWaQaRFgMJhKBjLr6zFcYIKP5wpf vsH6prIAa51+4vuRlaxTM2rKXugdy6k0/tfb9GSXuEQkgeM9TPPF1Fm753yeOVDp0fW6v0 p4gk3JyXxKfSkb1wdXvLw38VkN4F/XHy5Znqsww9sFOE8b65xa8jt9jebYyhzN9O02mzQh mE0FmHq/w/9VU6UQmiDOLFNHVMMnUdrNe/BTg2VdMkd+u79fLNN107Y/UdEjRw== X-Migadu-Queue-Id: 6407D3AC29 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cbCl3a4Q; 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) X-Migadu-Spam-Score: -1.60 X-Spam-Score: -1.60 X-TUID: NekPmJqf5wXT Hi Ludo, On ven., 13 janv. 2023 at 12:12, Ludovic Court=C3=A8s wrote: > I wonder about this one because it would be displayed unconditionally, > there=E2=80=99s no =E2=80=9CI understand the risks=E2=80=9D button one ca= n click to make it > disappear. I=E2=80=99d lean towards making a prominent warning in the ma= nual > and not have a warning message every time here, dunno. Yeah, I agree it will be visually polluting. :-) Well, this patch set exposes the concern about reproducibility and some package transformation. Therefore, it could be addressed and discussed separately since it is unique to this --with-version. A first idea. :-) Maybe, this warning could appears the first time the transformation is called; similarly as =E2=80=9Cguix shell --check=E2=80=9D. Or if we want to be really stringent, the first time of transformation calling, we simply raise ad message explaining it will not be reproducible, ask an Yes/No =E2=80=9CI understand the risk=E2=80=9D, store = the result in a cache. This makes sure the information is spread. However, it could be annoying when launching in some non-interactive mode. The trick would be to set this cache but that=E2=80=99s not super ha= ndy. Bah, it needs more thoughts. :-) Cheers, simon