summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-12-27 22:50:07 +0100
committerLudovic Courtès <ludo@gnu.org>2023-01-03 12:25:48 +0100
commit11235dd85a791ca7c88d964fb1f47ec876b43b4e (patch)
tree17dfea32938150bbbbd3b51a8cd730ddbc7107b7 /gnu/packages
parenta330bfdf5b2f27c34b5ece82bb355553af110cfe (diff)
downloadguix-11235dd85a791ca7c88d964fb1f47ec876b43b4e.tar.gz
refresh: Honor user-provided target version and report downgrades.
Previously, 'guix refresh guile=3.0.0' would print:

  3.0.8 is already the latest version of guile

With this change, it prints:

  guile would be downgraded from 3.0.8 to 3.0.0

This is a followup to 8aeccc6240ec45f0bc7bed655e0c8149ae4253eb.

* guix/scripts/refresh.scm (check-for-package-update): Take an
<update-spec> instead of a <package>.  Report downgrades as such when
UPDATE-SPEC specifies a target version.
(guix-refresh): Adjust caller.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions