aboutsummaryrefslogtreecommitdiff
path: root/guix/upstream.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-07-01 16:24:03 +0200
committerLudovic Courtès <ludo@gnu.org>2022-07-01 23:29:15 +0200
commitb512dadfd603869ac009a432b56f55945841cce0 (patch)
tree5c27963dd17c4b7ab78954b2801b093bca10ce78 /guix/upstream.scm
parentaba1ee5553099d45eb22d9ca1f685502146a49d0 (diff)
downloadguix-b512dadfd603869ac009a432b56f55945841cce0.tar
guix-b512dadfd603869ac009a432b56f55945841cce0.tar.gz
upstream: 'guix refresh -u' no longer stops when upstream info is lacking.
Fixes <https://issues.guix.gnu.org/56338>. Starting from 53b9c27aa59bebf955f0aa24fef60a101480ef5c, '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.
Diffstat (limited to 'guix/upstream.scm')
-rw-r--r--guix/upstream.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/guix/upstream.scm b/guix/upstream.scm
index dac8153905..9b49d1641f 100644
--- a/guix/upstream.scm
+++ b/guix/upstream.scm
@@ -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