From: "Ludovic Courtès" <ludo@gnu.org>
To: 60368@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>
Subject: [bug#60368] [PATCH 0/2] Allow 'guix refresh' to downgrade packages when asked to
Date: Tue, 27 Dec 2022 23:11:56 +0100 [thread overview]
Message-ID: <20221227221156.25323-1-ludo@gnu.org> (raw)
Hi Hartmut,
I figured changes from <https://issues.guix.gnu.org/57460> 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=2.2.7
guix refresh -u guile=3.0.0
Previously these wouldn’t do anything.
WDYT?
Ludo’.
Ludovic Courtès (2):
refresh: Honor user-provided target version and report downgrades.
upstream: Allow downgrades.
guix/scripts/refresh.scm | 46 +++++++++++++++++++++++++++-------------
guix/upstream.scm | 17 ++++++++++++---
2 files changed, 45 insertions(+), 18 deletions(-)
base-commit: fd0e69984f25bdf2405cf33b15a8bbb2010a7b85
--
2.38.1
next reply other threads:[~2022-12-27 22:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-27 22:11 Ludovic Courtès [this message]
2022-12-27 22:21 ` [bug#60368] [PATCH 1/2] refresh: Honor user-provided target version and report downgrades Ludovic Courtès
2022-12-27 22:21 ` [bug#60368] [PATCH 2/2] upstream: Allow downgrades Ludovic Courtès
2023-01-03 11:32 ` bug#60368: [PATCH 0/2] Allow 'guix refresh' to downgrade packages when asked to Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221227221156.25323-1-ludo@gnu.org \
--to=ludo@gnu.org \
--cc=60368@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).