From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +Oc0O6IStGOJLgEAbAwnHQ (envelope-from ) for ; Tue, 03 Jan 2023 12:33:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uLY3O6IStGO6tgAA9RJhRA (envelope-from ) for ; Tue, 03 Jan 2023 12:33:54 +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 99AC74740A for ; Tue, 3 Jan 2023 12:33:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pCfXr-0000TT-Hv; Tue, 03 Jan 2023 06:33:27 -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 1pCfXU-0000OZ-Vo for guix-patches@gnu.org; Tue, 03 Jan 2023 06:33:19 -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 1pCfXS-000145-HU for guix-patches@gnu.org; Tue, 03 Jan 2023 06:33:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pCfXS-0008Qt-E5 for guix-patches@gnu.org; Tue, 03 Jan 2023 06:33:02 -0500 Subject: bug#60368: [PATCH 0/2] Allow 'guix refresh' to downgrade packages when asked to Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Tue, 03 Jan 2023 11:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 60368 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60368-done@debbugs.gnu.org Cc: Hartmut Goebel Mail-Followup-To: 60368@debbugs.gnu.org, ludo@gnu.org, ludo@gnu.org Received: via spool by 60368-done@debbugs.gnu.org id=D60368.167274556232380 (code D ref 60368); Tue, 03 Jan 2023 11:33:02 +0000 Received: (at 60368-done) by debbugs.gnu.org; 3 Jan 2023 11:32:42 +0000 Received: from localhost ([127.0.0.1]:44834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCfX7-0008QC-LW for submit@debbugs.gnu.org; Tue, 03 Jan 2023 06:32:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCfX5-0008Pz-DV for 60368-done@debbugs.gnu.org; Tue, 03 Jan 2023 06:32:39 -0500 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 1pCfWy-00011g-V5; Tue, 03 Jan 2023 06:32:32 -0500 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=MG/Pag28qxjkm8y999ZolhjJtyTZfmmc0VK8JtFqxCs=; b=l1/BRCsUj4c/Ye9KlVi8 jWnsGkIcqCHf6sqr+0lbD1k/j9pdGAbiXMp+PHOpmXO3Us5IoxuVlH8nwNFV6hYK+eZB6SVsrJ5XA uC/yKL4QCsQvO0VjEE+s8Du2jMG+yb8rpBF5sRKqdSsKaFcIHVDjLa65qR4l6jj3uUUI0wqc0iUgx cad5ZjNPGkgWGO4zsWzyy6E2P7bsc2V8GoOOrlAz70Vq/T/yEQZ0CHM5MXE+Mo6o4m3nTeEWCqVFz Tc6gvFgoP0Ug8QgVIDjKiufpOAz21sRLvg6Oi/LabNXXOgaiIVixFNBNTkFIiyXpG5Zfhbk2cICJM R9H46qAG5Yl8hg==; Received: from [193.50.110.60] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCfWy-0002N5-9L; Tue, 03 Jan 2023 06:32:32 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20221227221156.25323-1-ludo@gnu.org> Date: Tue, 03 Jan 2023 12:32:30 +0100 In-Reply-To: <20221227221156.25323-1-ludo@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 27 Dec 2022 23:11:56 +0100") Message-ID: <87ilhn97ld.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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672745634; a=rsa-sha256; cv=none; b=FmM5XPXGZtYY4/bviEgK/NIhp/bOX1T37x3kl30W3zwEcOj3PutslwwQFiJBea181wSDkC KDao92bM29NGW6sdm3ruyIFcF8CIqdX6nm1B7Fl+se0Akx5m1nYZYulJdnIZVaZNZDxDJW uIbWm/xeInMbF6RdHbY//L5U7dvdnezd4MAB6ATapQtfkl7XhLW5jOZSNfTyexUaijcjtO UtiRRGQmJh+es9NaxiYg6f9EBU5ef4wC9pY25UB09MczCixkJuvoBbXEuy8Xy7BSj/Jn1B db9y00ocRDaSk3tTEyrf/rf2IHqKLqnig3TyX/aFEHnp72sdG3VOLBFPqAhl+g== 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="l1/BRCsU"; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672745634; 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-to: 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=MG/Pag28qxjkm8y999ZolhjJtyTZfmmc0VK8JtFqxCs=; b=VFHmXPEakHslq6yqYBU65a/6AmXW1/BX3bGg+HRRuRdOL9raegVfJh9e0JVFxLMMcsr58Z Fdljjm93ibXGdmIF9s4ljcGDKqxS2xBx9UsEnrO3Cs1UhjLM2Mq4WIqQkVhDFEAzsr+C/c 2to1kcYmOQ//gAFxLs8dMXlypqrPAYONbqiUzZYjdt3MhImdKZJ4ARHjjd/rixNcpK/oGb gnAhtJEM5yxOqXpWBmHrEieAFPDH9d80Wd00eb9gX02tZnPoFBVen4rwlvgKqlVB7fIopS clzFJyD+2wA3DsXyNBDZLM3I/k40xNdcmbmxhhvCVtihtf77ztKsvhHhNtIRTw== X-Spam-Score: -5.36 X-Migadu-Queue-Id: 99AC74740A Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="l1/BRCsU"; 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=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -5.36 X-TUID: cPPzJ7mKCkS1 Hi Hartmut and all, Ludovic Court=C3=A8s skribis: > Hi Hartmut, > > I figured changes from were not > applicable in some cases because of things that guard against > downgrade. > > The following patches fix the use case where the user is explicitly > asking for a downgrade, as in: > > guix refresh guile@3.0=3D2.2.7 > guix refresh -u guile=3D3.0.0 > > Previously these wouldn=E2=80=99t do anything. I went ahead and pushed these: 11235dd85a refresh: Honor user-provided target version and report downgra= des. a330bfdf5b upstream: Allow downgrades. Thanks, Ludo=E2=80=99.