From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MFcnJKvKgF+AWgAA0tVLHw (envelope-from ) for ; Fri, 09 Oct 2020 20:40:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6Bf0H6vKgF/VTwAA1q6Kng (envelope-from ) for ; Fri, 09 Oct 2020 20:40:11 +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 A98DC9400EF for ; Fri, 9 Oct 2020 20:40:10 +0000 (UTC) Received: from localhost ([::1]:50594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQzBR-0002e8-Jo for larch@yhetil.org; Fri, 09 Oct 2020 16:40:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQzBL-0002dk-0N for guix-patches@gnu.org; Fri, 09 Oct 2020 16:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53055) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQzBK-0002qR-M2 for guix-patches@gnu.org; Fri, 09 Oct 2020 16:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQzBK-0000QW-IL for guix-patches@gnu.org; Fri, 09 Oct 2020 16:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43261] [PATCH 0/2] lint: Fix 'no-network' and add 'no-checkers' options Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Oct 2020 20:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43261 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43261@debbugs.gnu.org Received: via spool by 43261-submit@debbugs.gnu.org id=B43261.16022759531581 (code B ref 43261); Fri, 09 Oct 2020 20:40:02 +0000 Received: (at 43261) by debbugs.gnu.org; 9 Oct 2020 20:39:13 +0000 Received: from localhost ([127.0.0.1]:36368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQzAW-0000PQ-T5 for submit@debbugs.gnu.org; Fri, 09 Oct 2020 16:39:13 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:40424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQzAT-0000PC-L0 for 43261@debbugs.gnu.org; Fri, 09 Oct 2020 16:39:10 -0400 Received: by mail-wm1-f67.google.com with SMTP id k18so11035407wmj.5 for <43261@debbugs.gnu.org>; Fri, 09 Oct 2020 13:39:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=7ZFB3c4LLuxraVK3YaT4WpC2ZGdHRK339dnZRMJNcQQ=; b=CcXWOOZVk4PGGHq7fjZjcuDEqOfcaH5cMx9eaQ0EwlYDUbA7KmUqwqxlgP5vwHRFda OHtGxu9tVma8v3Ye6v9MkkUJKCv8lZBt0hEgaeksMzUiOjOI1AaJJv0XcSTEPgJEj0Ei aRKAhS0EM2mvBftW6bycP0dnhDSRS5VgLTry1F0Dtjwor/ehG0cXiK2t/4EOz81KN3aI PfKG7T0LzEVTBmasn3RHFwmFvAfkrBOfpzInOg8IVFrKQT79KmHv4oqwf9mY05uP/yF8 FLCl76cFWbcnXsVDvfZwXVtsCCPusX0C1jAhopkdPlflvquAySOWdRHRi4I2m4v6X9oR Rdkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=7ZFB3c4LLuxraVK3YaT4WpC2ZGdHRK339dnZRMJNcQQ=; b=POGibUgqzb55vilZtRqcxAGRtEBSf08/e1G7D726VPyYMCMfcY/ERQD5/Dw3wPYDbF 9q9Vgy7Ok9LafpJexBQQTfv9ArTkUa1gk0D4Uy1XRJLbUeHfKhDwKuqA8BowwFfl/+3Q r/UUKSglCh66JXv/sfLzmbBBtgPQqxBdeYkq8bvhjhsSZoeUdzM4VWehG81EGZTYbi2X 5D8klQmfaaOTuw1HLDWA3lrH4fBsmF5Lrb8I9YaUC1xUmb/zv/He1FROJoQSSRABuuXr 0I+ZL+JER1pYB65jLb/4VchNgB59a5p7nVlzsHXQtfpkedUJP3GDyCpsKF8wQQs8Hj64 4zPA== X-Gm-Message-State: AOAM53358kbC1JZx3lGfcVj0Xa+yt2Lf3DdC3TzJqcJ4JrgIdkY5MfQF Vke7SqKjg/G+hvKz7PpwrLRjZ1j1gag= X-Google-Smtp-Source: ABdhPJytJLaxDOofMv03N1xj0Q0kjRGRj4nwjz/gRaJaYvrCCWCNiRNtBGiGkON0332l+KtII69W1A== X-Received: by 2002:a7b:c148:: with SMTP id z8mr15677102wmi.135.1602275943379; Fri, 09 Oct 2020 13:39:03 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id p4sm7957688wrf.67.2020.10.09.13.39.02 for <43261@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Oct 2020 13:39:03 -0700 (PDT) From: zimoun References: <20200907180229.29475-1-zimon.toutoune@gmail.com> Date: Fri, 09 Oct 2020 22:39:01 +0200 In-Reply-To: <20200907180229.29475-1-zimon.toutoune@gmail.com> (zimoun's message of "Mon, 7 Sep 2020 20:02:29 +0200") Message-ID: <86ft6nqgm2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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=gmail.com header.s=20161025 header.b=CcXWOOZV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 0.09 X-TUID: e/XqgxbXdJvr friendly ping On Mon, 07 Sep 2020 at 20:02, zimoun wrote: > Dear, > > The first patch fixes the unexpected behaviour of "guix lint": > > guix lint -c description -n > vs > guix lint -n -c description > > Now, if '--no-network' and any checkers are provided using '--checkers' then > the ones requiring Internet access are turned off. > > > The second patch adds the '--no-checkers' option discussed some time ago. I > am not convinced by the 'option-checker' helper function. What could be > better? > > Instead of '--no-checkers' maybe '--exclude-checkers' is a better name. > > > Last, note that '--list-checkers' operates as a dry-run: > > ./pre-inst-env guix lint -c description,formatting,synopsis -n -x description -l > Available checkers: > - formatting: Look for formatting issues in the source > > > All the best, > simon > > zimoun (2): > lint: Fix '--no-network' option. > lint: Add '--no-checkers' option. > > doc/guix.texi | 9 +++++++ > guix/scripts/lint.scm | 55 +++++++++++++++++++++++++++---------------- > 2 files changed, 44 insertions(+), 20 deletions(-) > > > base-commit: 89e1e4481382d18033a9773b90c09345fa33d6cb