From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8K7oBElTBWOpkQAAbAwnHQ (envelope-from ) for ; Wed, 24 Aug 2022 00:23:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iPzQBElTBWPMWwAAauVa8A (envelope-from ) for ; Wed, 24 Aug 2022 00:23:05 +0200 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 B214F1F95 for ; Wed, 24 Aug 2022 00:23:04 +0200 (CEST) Received: from localhost ([::1]:40464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQcIZ-0001yJ-MJ for larch@yhetil.org; Tue, 23 Aug 2022 18:23:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQcHp-0001uE-3P for guix-devel@gnu.org; Tue, 23 Aug 2022 18:22:17 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:53976) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQcHn-0003gC-4S for guix-devel@gnu.org; Tue, 23 Aug 2022 18:22:16 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id B641B1AC2D for ; Tue, 23 Aug 2022 15:22:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1661293329; bh=cO54HMfYyzTIwC/8gAiCk51RWXAK/t0uNObwpskSyCA=; h=From:To:Subject:Date:From; b=FVC5L7TmFZShAjiOc2qJtiWEY/T9mWt8+Eb+RDXb+S4OYEfUf7aylB8GGREYd8PLc FCvA3iSBVPZJBwlsiOe+qwtmaSZA10jkcZ4nCb4bZqSlDgGtLW5ZbQz4jL7IwyYOdd /kh0pdaF3VOd/LabXjNDE6GP1g06VPqcgpUt8UKx/JvIX8f5pmtyvZ112jQEGyl6jv mw1eGBXTv3sFrSIHFKMsFOt5dCbNIIj26D1IkEEQU149NWCPGm+3h6J1aS51V3wb94 9GNz6fQL2IMcpNHO/+R6VQpgqFbTezDHxAwbCvG2IhkdTctSXwugnmoVCf38mUK+EQ 28/C8fMir9K+g== From: Vagrant Cascadian To: guix-devel@gnu.org Subject: guix lint should support overrides Date: Tue, 23 Aug 2022 15:22:05 -0700 Message-ID: <87wnaya9de.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661293384; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=je4FSja0Mepp66+BIiqWKSJQJyHh793IAI5XC+ct7Es=; b=eMxGoZHP4KTOce9Tq6GFlL6uf9G6QXEJ3jnksTJRoUBfgnEBcfzbUb4gf8spWIvQ7qFvFd x2HjW3gcCZ9/XEsRrwbPYNFWSIu211cvMfpN/95+n4jkJ48jvQGsbtzlqf052exx+LvquT QXy9W7pnfEoU018lq2eGYwi5MnaqiNVEj4NHbhiYNQGLChvEOU1bgQmLaZT2xTezFU0GCe tL7cistmTzSIsoKPpVL2QXugL3dW03PoV1LNeRjVoGTxHfdZwNr3sQTqJbSNDWN5+q4Hr7 fpeCXR8HhKWbQzc7bUeLQhhN4v54g6ZyhyZgetBQsNa4F+hTCWsmfpZPm/5cRQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661293384; a=rsa-sha256; cv=none; b=U+bRv2oU5FlPVGAocKwUnhnBu6xAvaUjCIhHFx2XROmquIJFD7BAHPOsYQ/vVPVQRKv4Uw 0p0zBeLFqTTFDqU3VAJnfl4ZkiwC/NjtBkWh+K36HUy1qz1ZlHiMYQWFI4sIcDXZqKTWcA u6LL514r3hLdF3879h6v9ebQey5ZkPQ4F0EgcjUZ4UmaInosM2bZKJUpuL7bHFLFQtESKk eovagrslX43U2MG/iiwgUc2KnXwTeTqhlZ1QRWSd+4Ai1Kr71gHlPMzHGKCbSfvBryxn8v 9IrnQHdRpm74+UWS8fxpNXuObjqIG84fHymOw5/b1Wlzb/4wEZGvY37td5sRdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=FVC5L7Tm; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=FVC5L7Tm; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B214F1F95 X-Spam-Score: -9.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: uF7VWIUMVTgn --=-=-= Content-Type: text/plain I love guix lint! The vast majority of the time I even use it! But... sometimes a guix lint suggestion isn't appropriate, at which point it becomes noise for future contributors of that package. tt might not be possible, or at least not worth the effort, to improve guix lint to catch that particular case. Sometimes human judgement is still valuable. But, because there is no way to silence a particular inappropriate suggestion from guix lint, it becomes noise, and each person evaluating the results of the package in the future then needs to take time to figure out if guix lint is wrong, or something should be changed. You could add comments to the package about which lint warnings are inappropriate, but would it be better if you could just override the suggestion programatically, hiding it from the eyes and minds of the valuable and limited humans with their great powers of judgement? Debian's correlary, lintian, has a mechanism to do exactly this, where you list the various things that aren't appropriate, and can even comment on why, in a way that lintian basically hides the issue from further attention. The downside is this becomes one more thing to maintain... in exchange for making the output having a higher degree of relevency in "guix lint" output, so you can be more confident that someone hasn't already looked at a given issue and decided it was best to just ignore it (not that that will not ever happen anymore, but still). Thoughts? live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYwVTDQAKCRDcUY/If5cW qs42AQDX9rTr0F3oHAKTscWAIrV4q3Q5Xr8x3/rMeLEZHrKWfQD9GAWOkeIVejO0 kyQWL/REygRUt3c0FOBraeynK8Sdng4= =4PlD -----END PGP SIGNATURE----- --=-=-=--