[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: import: github: Fix incorrect no-release case.
From: |
guix-commits |
Subject: |
06/07: import: github: Fix incorrect no-release case. |
Date: |
Sun, 8 Sep 2019 08:44:01 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 982a94e97eff85b053558fac7c0442726a091f11
Author: Ludovic Courtès <address@hidden>
Date: Sun Sep 8 14:29:27 2019 +0200
import: github: Fix incorrect no-release case.
This is a followup to 81c3dc32244a17241d74eea9fa265edfcb326f6d.
Since that commit, when /releases returned an empty JSON array, we would
not fall back to /tags because of the incorrect match.
* guix/import/github.scm (fetch-releases-or-tags): Match the empty
vector instead of the empty list.
---
guix/import/github.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/import/github.scm b/guix/import/github.scm
index 55e1f72..55ea00a 100644
--- a/guix/import/github.scm
+++ b/guix/import/github.scm
@@ -161,7 +161,7 @@ empty list."
url))
(match (json-fetch (decorate release-url) #:headers headers)
- (()
+ (#()
;; We got the empty list, presumably because the user didn't use GitHub's
;; "release" mechanism, but hopefully they did use Git tags.
(json-fetch (decorate tag-url) #:headers headers))
- branch master updated (28ac733 -> 3426c0e), guix-commits, 2019/09/08
- 01/07: gnu: guix: Update to cc98b00., guix-commits, 2019/09/08
- 03/07: gnu: libraft: Fetch source from Git., guix-commits, 2019/09/08
- 05/07: gnu: tumbler: Remove unused gstreamer., guix-commits, 2019/09/08
- 04/07: gnu: tumbler: Fix pdf thumbnailer., guix-commits, 2019/09/08
- 07/07: gnu: thunar-volman: Update to 0.9.5., guix-commits, 2019/09/08
- 02/07: gnu: Add libraft, guix-commits, 2019/09/08
- 06/07: import: github: Fix incorrect no-release case.,
guix-commits <=