upstream: 'guix refresh -u' no longer stops when upstream info is lacking.

Fixes <https://issues.guix.gnu.org/56338>.

Starting from 53b9c27aa5, 'guix refresh -u'
would stop upon the first failure to determine upstream releases.  This
fixes that.

* guix/upstream.scm (package-update): Warn rather than update.
This commit is contained in:
Ludovic Courtès 2022-07-01 16:24:03 +02:00
parent aba1ee5553
commit b512dadfd6
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 3 deletions

View File

@ -515,9 +515,10 @@ this method: ~s")
#:key-download key-download))))
(values #f #f #f)))
(#f
(raise (formatted-message
(G_ "updater failed to determine available releases for ~a~%")
(package-name package))))))
;; Warn rather than abort so that other updates can still take place.
(warning (G_ "updater failed to determine available releases for ~a~%")
(package-name package))
(values #f #f #f))))
(define* (update-package-source package source hash)
"Modify the source file that defines PACKAGE to refer to SOURCE, an