1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-04 08:15:54 +02:00

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
+4 -3
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