From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 KN+YGYy6dGSUQAEASxT56A (envelope-from ) for ; Mon, 29 May 2023 16:45:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OxndGIy6dGTQHAAAG6o9tA (envelope-from ) for ; Mon, 29 May 2023 16:45:32 +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 19BCB30DA9 for ; Mon, 29 May 2023 16:45:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3e7N-00014G-1E; Mon, 29 May 2023 10:45:05 -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 1q3e7L-00013p-B3 for guix-patches@gnu.org; Mon, 29 May 2023 10:45:03 -0400 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 1q3e7L-0002IH-2t for guix-patches@gnu.org; Mon, 29 May 2023 10:45:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3e7K-0001Gh-VV for guix-patches@gnu.org; Mon, 29 May 2023 10:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63571] [PATCH 00/14] 'guix refresh -u' updates input fields Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 May 2023 14:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63571 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63571@debbugs.gnu.org Received: via spool by 63571-submit@debbugs.gnu.org id=B63571.16853714744785 (code B ref 63571); Mon, 29 May 2023 14:45:02 +0000 Received: (at 63571) by debbugs.gnu.org; 29 May 2023 14:44:34 +0000 Received: from localhost ([127.0.0.1]:58713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3e6s-0001F6-Dc for submit@debbugs.gnu.org; Mon, 29 May 2023 10:44:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3e6r-0001Er-6k for 63571@debbugs.gnu.org; Mon, 29 May 2023 10:44:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3e6l-0002A4-To for 63571@debbugs.gnu.org; Mon, 29 May 2023 10:44:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=YsdYcJGbXY4ZvAVp6rFFiE9uozg8ms5l7ksP4KmgEpA=; b=LPHTPlaOorUlDt6rnGxQ Yw1UTRs1wOVQGarPUDEPA6HFkPTB3lMq1k8vK3pOTCZ9nL2prt2AgCunmEmKGQtk694J430szuUbH D5JsjZ+fAAXTmCQwlXDW/o3V8JVlsNf39MmUgfLKF1pB4pvGuvq4WIT9XP6oRyy6sjqhjWcLoIMfm Na3sWypeTcfqZv+cVUKyAsgkfkfp4C7zLBFzgSNi1aCFHAJAEYvr7DBZ7DFMCgF+v033gYy6hUCnN 2LWoX4ah1qW/JfwYOArHJQTb/JEJCJTO8IVcaOEdD7VSLWumOGczTYnfI8sbLYr0U+JbyWbCg48xd HYzLSXvKBym6zg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3e6U-0003uF-JW for 63571@debbugs.gnu.org; Mon, 29 May 2023 10:44:27 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Mon, 29 May 2023 16:44:08 +0200 In-Reply-To: ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 18 May 2023 17:11:59 +0200") Message-ID: <87y1l7fb9j.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685371532; a=rsa-sha256; cv=none; b=Wm12DTEnFPi6wESluPYQpHqG4xk2q6JoV16V1o+IQD96l8POjG8mQ/CPvnhoDc5ZsSnKQS MsSvuEEyfICZWSiW3odhAg0wb+VL/OIpKzbw//REcGKNlUVSsse5fJY1cA6jH04810JBca g0MNZ2FdcWSbl65q6DlnlrUMnWqP+PcYlaHgzWtTIF7dRc5pPJ7GC4OGn6f2X83Skv4r2f yJhdeAEzMH/ppE+L8KwHyytirPmzKofFY70LcPHTx4ltf2Y6jGoyHjAKDW35ELBvFcbRKK N9RbOVBIkQOAu2FZSxmL12yNsI/cwFqn4Tu7VY4edkh/KLZNbqT+ghTdfur+Sw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=LPHTPlaO; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685371532; 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: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=YsdYcJGbXY4ZvAVp6rFFiE9uozg8ms5l7ksP4KmgEpA=; b=Sz0n7Gr7fHv7Pu61UU2j0j5/gCxXJGpPXGPEx/3FgUWKzlwq+EJTLzlCcrrfh9HYmgm2FG MbU+ybedPXbi+0O65qH2I3ts2CzSSADVshcGAxRa5evxLo74HOrFwJmFgHMgsEFgaNtIn+ x1lokpS3NOd58XjKhVpMJ5jAGbhpiMsBpLiXzGQ+Q4F0hNCrvcvmT0lVSnyaN3czLv2WpE scIfSsqm4gscwWh0xGUlgNtpJFaTjdD6VijawCsFpD/wlqL2wUX5jMrSoLrnM48uKwrHu9 uUKp8Ma49syh6gWHpK2/4SGkQoo+gcLJXY0TfwE/EFvBtvlbIpzzzqXTssr06A== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=LPHTPlaO; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -4.05 X-Spam-Score: -4.05 X-Migadu-Queue-Id: 19BCB30DA9 X-TUID: XQLZifkfhcgh Hi! Ludovic Court=C3=A8s skribis: > Until now, =E2=80=98guix refresh -u=E2=80=99 would tell you what inputs n= eed to > be changed in your packages, for the =E2=80=98cran=E2=80=99, =E2=80=98pyp= i=E2=80=99, and =E2=80=98stackage=E2=80=99 > updaters. With this change it changes them right away. > > Furthermore, =E2=80=98guix refresh -u=E2=80=99 will now also update input= s when the > =E2=80=98cpan=E2=80=99 and =E2=80=98elpa=E2=80=99 updaters are used. Doi= ng that for other updaters > is left as an exercise to the reader. :-) One thing discussed with Ricardo on #guix-hpc is the need for exceptions for cases where the importer gets inputs wrong. Examples: =E2=80=A2 The CRAN updater might suggest adding =E2=80=98r-knitr=E2=80=99= as an input to a dependency of =E2=80=98r-knitr=E2=80=99. =E2=80=A2 There are other more complicated cases such as =E2=80=98r-dt=E2= =80=99, which depends on JavaScript code. =E2=80=A2 The PyPI updater doesn=E2=80=99t know about the =E2=80=98openmp= i=E2=80=99 input of =E2=80=98python-mpi4py=E2=80=99 so it would remove it. This is addressed in v2 of this patch series, along with other improvements (changes since v1): =E2=80=A2 honors =E2=80=98updater-extra-inputs=E2=80=99 and =E2=80=98upda= ter-ignored-inputs=E2=80=99 package properties (and similarly for native and propagated inputs); =E2=80=A2 add those properties to a few packages; =E2=80=A2 =E2=80=98cran=E2=80=99 updater keeps inputs alphabetically sort= ed; =E2=80=A2 =E2=80=98gem=E2=80=99 updater now updates inputs as well. Surely this will reveal limitations of updaters/importers but I=E2=80=99d l= ike to see it as an opportunity to improve them; more importantly, we have to reduce the maintenance cost of all these imported packages, and this is a step in that direction. If there are no objections, I=E2=80=99d like to apply this series within a = few days. Feedback welcome! Ludo=E2=80=99.