From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wNcUHIce1GMd+wAAbAwnHQ (envelope-from ) for ; Fri, 27 Jan 2023 19:57:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yPXzG4ce1GPrzQAAauVa8A (envelope-from ) for ; Fri, 27 Jan 2023 19:57:11 +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 2E0002D0A1 for ; Fri, 27 Jan 2023 19:57:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLTuK-0003b3-Qc; Fri, 27 Jan 2023 13:57:05 -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 1pLTuI-0003W1-JU for guix-patches@gnu.org; Fri, 27 Jan 2023 13:57:02 -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 1pLTuI-0006s4-A5 for guix-patches@gnu.org; Fri, 27 Jan 2023 13:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pLTuI-0003i2-39 for guix-patches@gnu.org; Fri, 27 Jan 2023 13:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59078] [PATCH] lint: Split the derivation lint checker by system. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Jan 2023 18:57: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Christopher Baines , 59078@debbugs.gnu.org Received: via spool by 59078-submit@debbugs.gnu.org id=B59078.167484578914194 (code B ref 59078); Fri, 27 Jan 2023 18:57:02 +0000 Received: (at 59078) by debbugs.gnu.org; 27 Jan 2023 18:56:29 +0000 Received: from localhost ([127.0.0.1]:38461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLTtl-0003gm-F5 for submit@debbugs.gnu.org; Fri, 27 Jan 2023 13:56:29 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:52978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLTtf-0003fz-MC for 59078@debbugs.gnu.org; Fri, 27 Jan 2023 13:56:24 -0500 Received: by mail-wm1-f48.google.com with SMTP id k16so4104730wms.2 for <59078@debbugs.gnu.org>; Fri, 27 Jan 2023 10:56:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=xlY1wNKzo0n8fEKupj7+n5LYmMDRitrY70U3OuM7cBw=; b=cuYK6gdaLo2Ouj5GYdAOrT6nlIlayBDf5s8g6hHsA8T5fSuHKAKWSVWCGCQRtIuaGD uflN47gZIkFA+vnCFS6XpB3cbgFYWuMv6X193G8ksIzxahsRHJZDuZcxo4CGKXRT4yEj hBjdbrnO3ogi6Tthjs6osaeL2nl2M88tcrpAB1jT8I058ED1XaCE4yXgMjKa4HFFj2NX jZ95Bby5tfwmwOHAzvNOKRpRRrHCa6BtYfvIQbggofG+Ehh/rZ7boQa0yNuALIFOhGv6 VMJY2tq6BelnWgCqYMw5xyfyjpZhw9kYWDJZIl958TyanXXrfA1U5rvzM6cecZtMuo/G 8VQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xlY1wNKzo0n8fEKupj7+n5LYmMDRitrY70U3OuM7cBw=; b=EkY2W4r85PWV10NCr9V2FM51yPGO/UbZQK3OLXq5vLg4AjEiljDV4VIu4i8O+4onrv cnHNi21Kn4S8MMF0AJd5CeUDexgy9ev8+15Gv/Pjw3r7rrMtDYx6KCO0gyeX2mKX6kNB VWIlvPOrlwsZHZXsz4Dgxymd1jhZI0YmByW9fbaMVtD4SRUW2Y3eEzH0UEB5yyyY5K2o aNkusKmOqgTbaEtK1GIdBTN15ize6phgs1NevYSjM4SDKXe/mR7XJIQe+zUZ/hngndBR iGCU1ZCY1OrPjLRuCdlRArNlGags4wf+iBtcABRcb/XpCfs1dexyVY1ZwCGc4htpiNCa xM2w== X-Gm-Message-State: AFqh2kp8hml/vI5wesSu5wU1q0hotyTgJZ6bIXPv41Np1LTcFVhe1LiH DaZ/nzXqMlmYVYl9HuT42e/POARIHoY= X-Google-Smtp-Source: AMrXdXs3Xl7EtwEDVBllnQczhB+/Ri1wzpwgL367U5VXZg+SBSdod/GntEfdzqrFtxA10RabdJsa7w== X-Received: by 2002:a05:600c:1d22:b0:3da:29b8:8980 with SMTP id l34-20020a05600c1d2200b003da29b88980mr10974782wms.1.1674845778124; Fri, 27 Jan 2023 10:56:18 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id f12-20020adfdb4c000000b002bfb1de74absm4759870wrj.114.2023.01.27.10.56.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Jan 2023 10:56:17 -0800 (PST) From: Simon Tournier References: <20221106135532.5724-1-mail@cbaines.net> <87k041dui7.fsf@gnu.org> <87bkpau4kl.fsf@cbaines.net> <87h6z1puli.fsf@gnu.org> <86r0y4io7q.fsf@gmail.com> Date: Fri, 27 Jan 2023 18:48:19 +0100 In-Reply-To: <86r0y4io7q.fsf@gmail.com> (zimoun's message of "Tue, 15 Nov 2022 10:03:37 +0100") Message-ID: <875ycroom4.fsf_-_@gmail.com> 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674845831; 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=xlY1wNKzo0n8fEKupj7+n5LYmMDRitrY70U3OuM7cBw=; b=oq2kMbMD3Qd6I6ae/6WKHjveAg627ftvLk/Org5R67Pv0L/zXdE7UhJ2+uM5AtWxO+eBqE yeMpf0Bm8xiXyHdo7QIgqVU4LcHW2USu/sZWxs3Ps+JIF3jJHTC+X2EP+GzqLqi/aJ60io FasAHJJSeeV3jv/pUYKU3CY+xKyY2mtAA70yjG7kpxnzHkfvpre3KCOFgagAO6Af7fGORJ rB5ZU3YghEa8Gp0kXl+FN/rlvZCIt7sDujPBWyCPR2oUVTWm706NdbhT9PiUc4yDFLuPWj z+US7tKycVHrhOsTRCq4R2vENxQRYzQh/FxDO7WT1Nq5ussDpyrn3IZf7Xy9Jw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cuYK6gda; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674845831; a=rsa-sha256; cv=none; b=Ya8i3oLHWA/XI4AmPZizTU45H3B0xMAgYYJDpGS8czCJqAACpGtlNwx8FC9DMtTdHxgavV 6BCU/YhaK64KdOs1m63gYRIQ+ezgL85+ThRGo7PEaKZwdYsGqIM1i62ycML1OLaZTKC20F LyvpkE/8LMjsRecnhcvdQWghsSSzXqWpNteSVNc4N9tvJdofrEG9nCr2LEfE0QvN5ROs6J Fsw2mlvx6DiwwlBtc6PipB4BKpId4eUJNKgHx0eT3LZxdRTPDF76fEUDuUzJbT3VbMX0k7 NqFqwz9fZCbxSbXwzXtcGp9cUDV93nVJ1tjVy4agg9SHUMTRkYbTLkm/aNlxow== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cuYK6gda; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.47 X-Spam-Score: -1.47 X-Migadu-Queue-Id: 2E0002D0A1 X-TUID: Uv2oIRQS/3zB Hi, 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=98derivation= =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 confide= nt 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 w= hich 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? Cheers, simon