From patchwork Thu Jul 30 07:05:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lars-Dominik Braun X-Patchwork-Id: 23457 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CC7CB27BBE1; Thu, 30 Jul 2020 08:06:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id ADA8127BBE3 for ; Thu, 30 Jul 2020 08:06:08 +0100 (BST) Received: from localhost ([::1]:37850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k12dk-0002Td-8r for patchwork@mira.cbaines.net; Thu, 30 Jul 2020 03:06:08 -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?b?VVJM4oCZcy4=?= 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-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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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 From 23ff102a3883a8dedf911892c57a040f6a9e36b2 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun 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