unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#60368] [PATCH 0/2] Allow 'guix refresh' to downgrade packages when asked to
@ 2022-12-27 22:11 Ludovic Courtès
  2022-12-27 22:21 ` [bug#60368] [PATCH 1/2] refresh: Honor user-provided target version and report 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
  0 siblings, 2 replies; 4+ messages in thread
From: Ludovic Courtès @ 2022-12-27 22:11 UTC (permalink / raw)
  To: 60368; +Cc: Ludovic Courtès

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-03 11:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-27 22:11 [bug#60368] [PATCH 0/2] Allow 'guix refresh' to downgrade packages when asked to Ludovic Courtès
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

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).