[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: lint: source: Always return a list.
From: |
guix-commits |
Subject: |
03/07: lint: source: Always return a list. |
Date: |
Tue, 21 Jul 2020 12:43:13 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e5c00059560c6280aff3dac3c9c3a8b5477832ef
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Jul 21 17:30:23 2020 +0200
lint: source: Always return a list.
Fixes a regression introduced in
c10526672e515f07c92dc447bbc592808f67238e.
Previously we would return *unspecified* for a package whose source is
not an origin.
* guix/lint.scm (check-source): Add alternate 'if' branch.
---
guix/lint.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/lint.scm b/guix/lint.scm
index a550caa..e785567 100644
--- a/guix/lint.scm
+++ b/guix/lint.scm
@@ -818,7 +818,8 @@ descriptions maintained upstream."
(warnings-for-uris
(list (string->uri (git-reference-url (origin-uri origin))))))
(else
- '())))))
+ '()))
+ '())))
(define (check-source-file-name package)
"Emit a warning if PACKAGE's origin has no meaningful file name."
- branch master updated (2313be9 -> 0a93e8c), guix-commits, 2020/07/21
- 01/07: doc: Mention the 'savannah' updater., guix-commits, 2020/07/21
- 03/07: lint: source: Always return a list.,
guix-commits <=
- 02/07: upstream: 'download-tarball' gracefully handles missing signatures., guix-commits, 2020/07/21
- 04/07: git-authenticate: Show fingerprint in missing-key error message., guix-commits, 2020/07/21
- 05/07: gnu: g-golf: Update to git revision 804., guix-commits, 2020/07/21
- 06/07: gnu: Add python-mamba., guix-commits, 2020/07/21
- 07/07: gnu: Add python-isbnlib., guix-commits, 2020/07/21