From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MPENK2RxIl8rEQAA0tVLHw (envelope-from ) for ; Thu, 30 Jul 2020 07:06:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id XdWpJmRxIl/uLgAAbx9fmQ (envelope-from ) for ; Thu, 30 Jul 2020 07:06:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ABD6A9403AA for ; Thu, 30 Jul 2020 07:06:11 +0000 (UTC) Received: from localhost ([::1]:37850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k12dl-0002Td-6T for larch@yhetil.org; Thu, 30 Jul 2020 03:06:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k12de-0002TP-Kd for guix-patches@gnu.org; Thu, 30 Jul 2020 03:06:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51030) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k12de-0003VD-A5 for guix-patches@gnu.org; Thu, 30 Jul 2020 03:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k12de-00082g-4s for guix-patches@gnu.org; Thu, 30 Jul 2020 03:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42615] [PATCH] guix: lint: Ignore unsupported source =?UTF-8?Q?URL=E2=80=99s.?= Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Jul 2020 07:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42615 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42615@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159609272630847 (code B ref -1); Thu, 30 Jul 2020 07:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jul 2020 07:05:26 +0000 Received: from localhost ([127.0.0.1]:34342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k12d3-00081T-OZ for submit@debbugs.gnu.org; Thu, 30 Jul 2020 03:05:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:40314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k12d2-00081M-G7 for submit@debbugs.gnu.org; Thu, 30 Jul 2020 03:05:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k12d2-0002MN-8I for guix-patches@gnu.org; Thu, 30 Jul 2020 03:05:24 -0400 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]:35263) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k12d0-0003HI-Dm for guix-patches@gnu.org; Thu, 30 Jul 2020 03:05:23 -0400 Received: by mail-ed1-x544.google.com with SMTP id m20so9670555eds.2 for ; Thu, 30 Jul 2020 00:05:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leibniz-psychology-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=GfQ/MzrnSuCvI+958fsII96mnC8td/5w9pmwf6cQQsI=; b=LDWhGs95iBKeJW8S26N7FoMzyTzERxtO7Oi06nh08siJJdh7wm27p2sbg2vgIopxM6 eWcUwnEA4oRwFjlFUeQMCriicJeBfjPhkYSbp3FdkPaMSkZP/V+oJPJgkDO/Gf2TEf+7 IK4JZ0XxRJjopiHzg96OGhsLy8/m/dhEsW6tDKnD7UcTCAzEMQAZ6FiTVlP3Ao9NiAKD 9//AtpZOnCk3zp8n+7UqizoKXiE8kqPLuOt+GKKpgkA3L0bBjIBBX4S4IHJ+ZLpUDIbB 8q4Ket9eBUv2idZaeFa4vz/w+1jRrZbznQcB9OyfHWYLHk2rBq5e82/OrcqmNNaTGgNr 0L4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=GfQ/MzrnSuCvI+958fsII96mnC8td/5w9pmwf6cQQsI=; b=hKZDnhjhbB2FSvSHqszFaVxZ2z9TlgJz5cfl9wC4N3KL3s7T/wT2TZw9cFSU0575ey FSw1C7nTa8Iw3jISGy1RG/dg492z75RkRccOaYnUP5dNqr6Wia+yR72i5NVNbQbryDVD JFLAnamuTSBLft3Nl+guYSAbEVAB6FvqCaZYny0wxuygh92oeslQHaKW1NIxCQRD3a3+ k6qmcInJiVncO/0GX1xNaLyrefTErJJt5KgC4oOKP9GUUOkmh+GMtdg8IB228YcIHxSM tXxyEgHn1YvefRkbYgaSsKZpmB8Y1f8ZwdqEE13VKWl9Ledb3VATXmZPAdr0qV2mObjF 2S8Q== X-Gm-Message-State: AOAM5308up93tFMCUE9VBEvFRHPpYl961BH/KjVvb8bODsjCnsOy7w31 InyrQBzFU3WlLPmvicEokMal9AUI8Mp6H16lgzN7wfEYviZfyj32jB/I6IkzLE+Cc5mlU0obXIT CMQV8LTZnuTlv/casusy7AfTFydYb27TIbWyzvcgQDX0vNoBGAs9R8JCsOUkBHRpPZWpLWbtMye PEcNcykKw= X-Google-Smtp-Source: ABdhPJw8duYL7/c++mRR/hqt50IlCAf//YsRVh9YOb19Wb3yZCVWKjuaZMQkezf3lSOgTaRrkZcz1A== X-Received: by 2002:a05:6402:1643:: with SMTP id s3mr1333681edx.185.1596092719922; Thu, 30 Jul 2020 00:05:19 -0700 (PDT) Received: from localhost (dynamic-2a01-0c23-788f-9900-8822-3a8e-adb1-8bcf.c23.pool.telefonica.de. [2a01:c23:788f:9900:8822:3a8e:adb1:8bcf]) by smtp.gmail.com with ESMTPSA id a18sm5049201ejt.69.2020.07.30.00.05.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jul 2020 00:05:19 -0700 (PDT) Date: Thu, 30 Jul 2020 09:05:18 +0200 From: Lars-Dominik Braun Message-ID: <20200730070518.GA3210@zpidnp36> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XOIedfhf+7KOe/yw" Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Received-SPF: none client-ip=2a00:1450:4864:20::544; envelope-from=ldb@leibniz-psychology.org; helo=mail-ed1-x544.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=leibniz-psychology-org.20150623.gappssmtp.com header.s=20150623 header.b=LDWhGs95; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.61 X-TUID: CKX2+7YAVwJB --XOIedfhf+7KOe/yw Content-Type: multipart/mixed; boundary="huq684BweRXVnRxX" Content-Disposition: inline --huq684BweRXVnRxX Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, in https://issues.guix.gnu.org/issue/42306 I noticed git:// URI=E2=80=99s i= n source urls (see package nfs4-acl-tools) cause `guix lint` to fail currently. Atta= ched is a patch that fixes the issue, but I=E2=80=99m not sure that=E2=80=99s th= e =E2=80=9Ccorrect=E2=80=9D way to do it. Cheers, Lars --huq684BweRXVnRxX Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-guix-lint-Ignore-unsupported-source-URL-s.patch" Content-Transfer-Encoding: quoted-printable =46rom 23ff102a3883a8dedf911892c57a040f6a9e36b2 Mon Sep 17 00:00:00 2001 =46rom: Lars-Dominik Braun Date: Thu, 30 Jul 2020 09:01:39 +0200 Subject: [PATCH] =3D?UTF-8?q?guix:=3D20lint:=3D20Ignore=3D20unsupported=3D2= 0source?=3D =3D?UTF-8?q?=3D20URL=3DE2=3D80=3D99s.?=3D MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-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)))))))) =20 --=20 2.20.1 --huq684BweRXVnRxX-- --XOIedfhf+7KOe/yw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl8icSsACgkQQhN3ARo3 hEZpjAwAi++1jOh+tkhF3h19FCp+Sy5PG0C5/MQQcqPGTVWTT8yK1/gl9tu2uspr M+q2qb2fawKgqzWcmTiY7ebYGTG9zb4CZM34nxGI+PF3F7uYezUi9hpEKPPvYZLE l+ZhezPOvlYIHPR/DtSxXr2YBWHS2J5CEXklO32wm4L2AC1LhiEfRPa3GLkoqdBC RTIJNj6PnEQSgjUN28ScE0G8cL8YvT7iSnQrTSaVitAbAc/xPEk4gor+BZSuk01/ H6VBz1rQYO5WardVcDBK3qf9diFQ51Z2edcuOoRd3wFjlwjHwrnwF8RMdlkeuTLB BbBL/KgDdJxTjCZ6nsyQ6WJh1KAtS+r4pY2Gy7t0KhUccfzLStyAVJnLit1z0EaU xAbfkiO1b2g0IJcTavz81NZVOfMS1FfYAqXL4fX8XxC3jFc4qL9ErSd5ssLfhsda M3Me7+NWbZ1pc3op6sIUxknj7rIoF9D7zrtXMqZT1QVQK3pKkBL1YXVdWgIdJJYq Uv0S5tl6 =btL6 -----END PGP SIGNATURE----- --XOIedfhf+7KOe/yw--