* [bug#42615] [PATCH] guix: lint: Ignore unsupported source URL’s.
@ 2020-07-30 7:05 Lars-Dominik Braun
2020-08-01 6:44 ` bug#42615: " Mathieu Othacehe
0 siblings, 1 reply; 2+ messages in thread
From: Lars-Dominik Braun @ 2020-07-30 7:05 UTC (permalink / raw)
To: 42615
[-- Attachment #1.1: Type: text/plain, Size: 281 bytes --]
Hi,
in https://issues.guix.gnu.org/issue/42306 I noticed git:// URI’s in source
urls (see package nfs4-acl-tools) cause `guix lint` to fail currently. Attached
is a patch that fixes the issue, but I’m not sure that’s the “correct” way to
do it.
Cheers,
Lars
[-- Attachment #1.2: 0001-guix-lint-Ignore-unsupported-source-URL-s.patch --]
[-- Type: text/x-diff, Size: 988 bytes --]
From 23ff102a3883a8dedf911892c57a040f6a9e36b2 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <ldb@leibniz-psychology.org>
Date: Thu, 30 Jul 2020 09:01:39 +0200
Subject: [PATCH] =?UTF-8?q?guix:=20lint:=20Ignore=20unsupported=20source?=
=?UTF-8?q?=20URL=E2=80=99s.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* guix/lint.scm (check-source): Add match case for #f.
---
guix/lint.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/guix/lint.scm b/guix/lint.scm
index 8a55f3e744..71ce931964 100644
--- a/guix/lint.scm
+++ b/guix/lint.scm
@@ -794,6 +794,9 @@ descriptions maintained upstream."
(#t
;; We found a working URL, so stop right away.
'())
+ (#f
+ ;; Unsupported URL or other error, skip.
+ (loop rest warnings))
((? lint-warning? warning)
(loop rest (cons warning warnings))))))))
--
2.20.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-01 6:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-30 7:05 [bug#42615] [PATCH] guix: lint: Ignore unsupported source URL’s Lars-Dominik Braun
2020-08-01 6:44 ` bug#42615: " Mathieu Othacehe
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.