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 KN1oKN5dB2O1eQEAbAwnHQ (envelope-from ) for ; Thu, 25 Aug 2022 13:32:46 +0200 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 KGMpKN5dB2MK9AAAauVa8A (envelope-from ) for ; Thu, 25 Aug 2022 13:32:46 +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 793EA36352 for ; Thu, 25 Aug 2022 13:32:46 +0200 (CEST) Received: from localhost ([::1]:48966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRB6L-0005Bt-MP for larch@yhetil.org; Thu, 25 Aug 2022 07:32:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRB5r-00059Q-Vv for guix-devel@gnu.org; Thu, 25 Aug 2022 07:32:16 -0400 Received: from flashner.co.il ([178.62.234.194]:40672) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRB5q-00053S-4K for guix-devel@gnu.org; Thu, 25 Aug 2022 07:32:15 -0400 Received: from localhost (unknown [31.210.177.64]) by flashner.co.il (Postfix) with ESMTPSA id 8360F40233; Thu, 25 Aug 2022 11:31:40 +0000 (UTC) Date: Thu, 25 Aug 2022 14:31:08 +0300 From: Efraim Flashner To: zimoun Cc: Vagrant Cascadian , guix-devel@gnu.org Subject: Re: guix lint should support overrides Message-ID: Mail-Followup-To: zimoun , Vagrant Cascadian , guix-devel@gnu.org References: <87wnaya9de.fsf@contorta> <87h722xdvo.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6b++9i9s3nzBfXfL" Content-Disposition: inline In-Reply-To: <87h722xdvo.fsf@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il 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, SPF_HELO_PASS=-0.001, SPF_PASS=-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=1661427166; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=cXp+Sc3yEdKC3POURABqMmxU+YiCN4VX94hRELIvLHw=; b=PFwwoRmor9eIfVslgGCIxb8uL2rxgVTTD1kbUINxMvMveWErjwxcxmi5LQbACWfheo+lkp aHleZnuAHULv4C0wc0pBISaSsuvR4+XKi6RVO0gVC/IQ+/H5NYHUqu5a5acWQWy/BwruQl FbMq4CGaee+XbwUaNq3YJda8vl4S5fUU0y0mGca4LIqztw50bjFnK9xv9eruOuD98lqW92 qO6PyajNtK6nRiVvRhIDoHAnUzKwj9DdnDMOP6KEo++VyzQ+uQQZ0+woXV+cfmXtGiHUnb J0RB+waJbU/zMWLFjdLKPq0yduLd/KZ5itch80+8RC3afP6D/7RfWY0c20FpWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661427166; a=rsa-sha256; cv=none; b=Ol+UrQahDRRpas2NPQalV/KpzKlZPqeMYSA9s1UOztKs5a5e0qgQ49wUwopJ+E1t3FsYKb Ewk+bQrXe0JHWpkX+xisGJnVYuQ8pSU5QhpCsEypjT5BuvGYD0EXyWuwDGF+3gNIXCyhlx N5cpGz+yfXxBOl30iFKhO616KHg/p/c+njDy0HKfhIe5CAdaSZa6HVpyJBlD1o6NBuyobo vwIefPK4RFREEsqoj1vq+nUJ4FHZ430sYKW/FpjemGQlOZqjrsyag9H5E6pq9JtCcfX4u4 Qhcs93Ly1qkFJi3RtYRB05LzsHbrnpkoSFcCdeUt/S9XHBCsJVzYEd0tNNEdZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -5.01 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 793EA36352 X-Spam-Score: -5.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: oUodK9Lb2OCD --6b++9i9s3nzBfXfL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 24, 2022 at 10:08:27AM +0200, zimoun wrote: > Hi Vagrant, >=20 > On Tue, 23 Aug 2022 at 15:22, Vagrant Cascadian wrot= e: >=20 > > 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. >=20 > Do you have some packages as example? In order to be concrete about the > false-positive and how to programatically fix them. >=20 > For instance, do you mean exclude on specific checker for one specific > package? Or teach one specific checker for one specific package in > order to avoid an error specific to this package running this specific > checker? We have lint-hidden-cve. We also have a number of packages where there is a string that is just too long but can't reasonably be cut shorter. >=20 > > 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). The 'properties' field isn't mandatory, so if we just didn't add something it wouldn't be a big deal. >=20 > The cost for a poor maintenance is low compared to the benefit, IMHO. >=20 > For instance, it is boring to run massive lint: >=20 > 1. because =E2=80=9Cguix lint=E2=80=9D does not support the option --man= ifest > 2. because =E2=80=9Cguix lint=E2=80=9D reports some false-positive messa= ges >=20 >=20 > Cheers, > simon >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --6b++9i9s3nzBfXfL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmMHXXkACgkQQarn3Mo9 g1EJNg//REZS6IPWeIArwcoc4G3JGYV7Ps8kEzQbA3RhBflurOYWewcw+uyQuGFT d5p7Iifb677cRKNVQYsM7dAYSRWnXIK+wr5iIiRYBvB7DgYi/0tTl0SE9aZPIwnD jK98kMOnORyM0jQqhbCtbUsjCSLjBohveNK+UZLU3ljyQCT8bqOyfm6ibML5UEuL D2vuJtQgDYRKXsLvpKvAKOLpN/NIxcW2W26ZurSCyB+8s15DVLpn9gMjXeOyr/NX VFAEuHnSrEk+Ae479XAYPh32xnYZ/6D7qCurLhnPSJ1IYk756UieScqK7RFVFnHV aqGuVUfPooCTfOEypNDnwh0UM4ur8gULILy9NYXFB/fkcjiUDUlT+k9gvmHPmMZQ E550mSEeB/QvAVlzQp33CxuGTUjU0KvmK6rQoq5mN0SO55G4One+mO9mJy6o7n2w dRTE+zEWnc2uAOlKepTxMpMDSbj36agtMiJtdR+Bs1Z2KqlV2AC5T3hDZpzYXyQ6 bIo0ZgEY2a4zZFkHyfs4uB9Enowuz1EqhL1Phi9uNBk4y1eibtb1LoLL9DmZyxbB D4dVGbRwOqgeIKjVZ8PRz+0mur0MTr+yLG8sXOq6QUYXrZXoIO6AWFtviKO6rYFu OcVATv8O6r18UcPCo9DfaQMcsA+FBIqWlFbYIrkaqpkbiPBm3v4= =F3p3 -----END PGP SIGNATURE----- --6b++9i9s3nzBfXfL--