diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-09-09 10:33:42 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-09-10 00:34:40 +0200 |
commit | 7c101c4c175b7abcb43279d1c66b41a91b9c64bc (patch) | |
tree | c56a10016cec1a9010fd1e7e420c76c96648b3ce /nix | |
parent | 36eef80d45ae754ba42a761ffc97e38cc7253bd0 (diff) | |
download | guix-patches-7c101c4c175b7abcb43279d1c66b41a91b9c64bc.tar guix-patches-7c101c4c175b7abcb43279d1c66b41a91b9c64bc.tar.gz |
refresh: Distinguish between "no updater" and "failing updater".
Previously, something like "guix refresh texmacs" would report "no
updater". Now, it reports that the 'gnu-ftp' updater failed to list
releases.
* guix/upstream.scm (lookup-updater): Use 'find' instead of 'any' to
return the <upstream-updater>.
(package-latest-release): Adjust accordingly.
* guix/scripts/refresh.scm (check-for-package-update): When
'package-latest-release' returns #f, distinguish between "no updater"
and "failing updater".
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions