From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AP/uLxhD2WO0LAEAbAwnHQ (envelope-from ) for ; Tue, 31 Jan 2023 17:34:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UDvHLxhD2WPMPAAAauVa8A (envelope-from ) for ; Tue, 31 Jan 2023 17:34:32 +0100 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 3B7723AF89 for ; Tue, 31 Jan 2023 17:34:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMtaA-00034f-Cx; Tue, 31 Jan 2023 11:34:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMta6-00034H-V7 for guix-patches@gnu.org; Tue, 31 Jan 2023 11:34:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pMta6-00077S-JM for guix-patches@gnu.org; Tue, 31 Jan 2023 11:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMta6-0004b4-FK for guix-patches@gnu.org; Tue, 31 Jan 2023 11:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59078] [PATCH] lint: Split the derivation lint checker by system. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 31 Jan 2023 16:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59078 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon Tournier Cc: Christopher Baines , 59078@debbugs.gnu.org Received: via spool by 59078-submit@debbugs.gnu.org id=B59078.167518281317623 (code B ref 59078); Tue, 31 Jan 2023 16:34:02 +0000 Received: (at 59078) by debbugs.gnu.org; 31 Jan 2023 16:33:33 +0000 Received: from localhost ([127.0.0.1]:54832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMtZd-0004aA-DM for submit@debbugs.gnu.org; Tue, 31 Jan 2023 11:33:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMtZc-0004Zp-C2 for 59078@debbugs.gnu.org; Tue, 31 Jan 2023 11:33:32 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMtZW-00073s-Tu; Tue, 31 Jan 2023 11:33:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=amDMNArAXgCJ3gFrQQnzofdX3IkOOg+qYnSeCHog2n0=; b=Ys1sP4WWn6GQRsZHEOqA HiDgLYiK217jbrWht+/2HHYJ/b6gP5BSJAsLLcnHA5MFiuLgArMHDfq+hvRmoy11OeqYGcevDAnSH Ju3XQOjArsuvPfRAWZFuX4QcjgcsuRxV27VkparhVjteAsUyQ/eRXC32rV+o9a/pwz1Tc2cYrYQId A8khXqdjXt1h+reUpIfNJsvd05Jvaizr+ED7ctwjEy+0SSnkq4FKkL3TQxK5/7l5eORqp/p5Usb+b U1sZH9m8Y60Z0aXF78CisuQn1Av34H0JKjrHOVZcHymmKlAxHhNKU6AlXmplfdKeZpS+tTIt3Fzff Xha0NG+Hblcs3A==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMtZW-0006xV-29; Tue, 31 Jan 2023 11:33:26 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20221106135532.5724-1-mail@cbaines.net> <87k041dui7.fsf@gnu.org> <87bkpau4kl.fsf@cbaines.net> <87h6z1puli.fsf@gnu.org> <86r0y4io7q.fsf@gmail.com> <875ycroom4.fsf_-_@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Duodi 12 =?UTF-8?Q?Pluvi=C3=B4se?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Brocoli X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 31 Jan 2023 17:33:24 +0100 In-Reply-To: <875ycroom4.fsf_-_@gmail.com> (Simon Tournier's message of "Fri, 27 Jan 2023 18:48:19 +0100") Message-ID: <87tu06u0iz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675182872; a=rsa-sha256; cv=none; b=HrV1gFc/nWdKTi1fidW/pgoc4r5rOhJvEncwO3djqfWmh2U9GPG/LOmHpI/cjh7P1usIV8 Od0bayYhgmupDQi7Or+zs89mDqhisp0yKADkbUWgkV1vIM730/77J4xhY/siUFA8wheeXI tFXzRMmMY8n6Wu1tECugW+Zw3WW7A4Up5OKrbX4aBbvawGXHzjevkYbVd4N2N7mMX6cw8G U2R3ndiTlEJ7s5MMTGnNh+HQ9j10jAvVS8M8qyrogRJ+HNvo9XGak5inIrqvLpAj1jiVCZ wHewdNRZtTcj1zlOZa6x5Ct1WMGZi7NB5IUa3oQ1DqREy4wx0nCJbXBZhxdC4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Ys1sP4WW; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675182872; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=amDMNArAXgCJ3gFrQQnzofdX3IkOOg+qYnSeCHog2n0=; b=uBPZoi/Z4B5/ar2TsP5+F/qnL5qChTawjGGJlItulLryXDD3xobGoVhUe/zI3KGvzFC3W9 koqKTi9W0MSArqw1GM6hrumeS28M+lZpcueO7Il8oQAPbnBL4zw+yPu/vhrATip0CGIlpY 8J3IH8KcgWVWAdlcqXnCqqWuaYJOmajnYb38gV4kTkwZPVeFierAitnknSkv7ro4Cd2Y2W DEodNkk8Y3UlrVlX2yuHBsymfyzY8ZdVYBZjmvuoOGeOpEBlu9O5cPkDIiIKQkejKaHi3H BMJNFM8MqIrPbLHaF9UCwutDqyaPL0WrJieASvywR70ICLiX0DyhT5SlkneyIw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Ys1sP4WW; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.48 X-Spam-Score: -2.48 X-Migadu-Queue-Id: 3B7723AF89 X-TUID: QOTzm5zCCo7k Hi, Simon Tournier skribis: > On mar., 15 nov. 2022 at 10:03, zimoun wrote: >> On Mon, 14 Nov 2022 at 13:51, Ludovic Court=C3=A8s wrote: >> >>> I meant that it=E2=80=99s important to have a single =E2=80=98derivatio= n=E2=80=99 checker that >>> checks derivations for all the supported systems. Packagers should be >>> able to run =E2=80=98guix lint -c derivation PKG=E2=80=99 and be confid= ent that it=E2=80=99s >>> fine for all systems. >> >> The CLI invokation is unrelated to the invoked checkers, no? As Chris >> is proposing, it seems being worth to group some checkers. For >> instance, we already have the option =E2=80=99-n, --no-network=E2=80=99 = which does that >> but probably at the wrong level. >> >> Maybe we could have another command line option, >> >> guix lint --group=3Dno-network >> guix lint --group=3Dderivation >> guix lint --group=3Dno-network,derivation > > What about this? In general, being able to tell which category a checker belongs to, and then being able to select checkers by categories sounds like a useful improvement to me. I don=E2=80=99t think it solves the problem Christopher initially reported though (about memory consumption of the =E2=80=98derivation=E2=80=99 checke= r.) Ludo=E2=80=99.