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 eElWOIM1FmNJrwAAbAwnHQ (envelope-from ) for ; Mon, 05 Sep 2022 19:44:35 +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 EKQnOIM1FmN7bAEAauVa8A (envelope-from ) for ; Mon, 05 Sep 2022 19:44:35 +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 6583C9AC6 for ; Mon, 5 Sep 2022 19:44:35 +0200 (CEST) Received: from localhost ([::1]:32978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVG9C-0008UY-CI for larch@yhetil.org; Mon, 05 Sep 2022 13:44:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVG88-0008UJ-Ss for guix-devel@gnu.org; Mon, 05 Sep 2022 13:43:28 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:38408) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVG86-0004lu-I9 for guix-devel@gnu.org; Mon, 05 Sep 2022 13:43:27 -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 1BEB41AAD0; Mon, 5 Sep 2022 10:43:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1662399798; bh=DQX78RXt7DBssIAFD4mSUbxAUGhfUlQQ6kE2NR+FOHU=; h=From:To:Subject:In-Reply-To:References:Date:From; b=nQ6T08vJ1RNxaZGDr3k5f49SN8v5Hf3HCcerG4KB0FAZ8SVMgw/LzAGphgA2MqT9f Qp2XX3dWax88UmxlTfBQYMdLMRJip1N88HRkT736faUy0uOnM5ksWNOg+Gi21rYj20 6gh7PcjajhnSGMAw6cNEs23dnZda91ran2/EWu672mqQ/MZVcOqWmNGQxLTz6ZVD7t MyGAePHHiukuaAT5qUY/9lgI1opQR8Nz05HH0ELNQpSwh/jP8t0p32C8qtuUeVVtgN twme9MvVYX9CZFxGLUay9x+bqYqjV2h1fecVs/e9dxqudh6INRrC5AgmtWS8pvdkMR LTrDZ9NvMoZCg== From: Vagrant Cascadian To: zimoun , guix-devel@gnu.org Subject: Re: guix lint should support overrides In-Reply-To: <87k06hrcev.fsf@gmail.com> References: <87wnaya9de.fsf@contorta> <87h722xdvo.fsf@gmail.com> <87ilmhic5q.fsf@contorta> <87k06hrcev.fsf@gmail.com> Date: Mon, 05 Sep 2022 10:43:11 -0700 Message-ID: <87k06hg1jk.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; 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=1662399875; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=cKxvMQn9u2QZHqfjJrxJSUQejEeMefB0d8b67Txp8QE=; b=ja77lN8DlRnpG0SEtbAO2eU23EfWP7alh61FewYAnvtEzFgScs53xWpP5uG7DH38/z5E1N AMutXajFvwn26IXHdTnbe2wJwTOhzF4Ndz9Yaj2GNDmdy2YLcAaFgCyEoROCFO64VAs0EJ 7CKzLFfrebYQK3stJI3EDb6wn1HjzY5JZXiAllkiEMdH65OtncbREFT+FBjnj3whu2F98E bUVd39ou/UUyyWtUMExifAbuBbhSYkeCFuRbuMuBTWFGVW3muPDeRuC04676V3mimWt8di zS4C/lbhzzVDz+fqonuaUAyIwGGwgH7RbSy9GXvpWMgjo6vJ4AKn1deX6lOKDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662399875; a=rsa-sha256; cv=none; b=VWv0emQmAqO/PXrw4tuHkKbrZUR6MT4aN2p2IagpTQX6qO5Hd8QCoSrbbpbSt9FdGI80bq zDVxMZTNcLF5uqTjrXBtZADt5K5Ctag+FH5X9LM8028hauBmXuWLexRBVKiuY17n1DCbgG hyACtgsB7HZXZ7O4l/ydCHyCboHiks919Yw2g9c6u0DdF51SPkGQ2kqONCctW8ubAftaYm XjZE1/iCTVkq704pIhjSLnuG7R5HOJwBHLTD1Vy7p3xG+975dTZxdMO0qt153oRAhURHsl 47keEaMADOE1lp3NvT/lTLsFqyeqlHTzQXzewUVmku2g890hehWwz7puIRfqtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=nQ6T08vJ; 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: -7.18 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=nQ6T08vJ; 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: 6583C9AC6 X-Spam-Score: -7.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9gcZFrVIxjmr --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2022-09-05, zimoun wrote: > On mer., 24 ao=C3=BBt 2022 at 14:06, Vagrant Cascadian wrote: > >> Maybe something like: >> >> (define-public thispackages >> (package >> (name "thispackages" >> ... >> (lint-overides >> (list >> ;; The upstream name is actually "This Packages", not a typo. >> "typo in description: 'This Packages' should be 'This Package'")= )=20 >> >> And then guix lint would hide or ignore things that would otherwise emit >> the strings listed in lint-overrides ... or something like that. Maybe >> exact match, maybe get into a little pattern matching, not >> sure. Implementation is not my strong point here. :) > > Well, it is possible to turn off one specific checker for one package; > using the =E2=80=99properties=E2=80=99 field. However, this =E2=80=9Cove= rides=E2=80=9D requires more > work. :-) Though a single checker may check multiple things, and only get some of them "wrong"; seems it would be worth having granularity for individual checks. > Basically, the wish is for description and synopsis and mainly for typo, > right? No, it seems odd to me to restrict this to particular categories of checks. I would say any specific lint check might have cases where it is not practical to fix the lint check, yet is not appropriate for a particular package. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYxY1MQAKCRDcUY/If5cW qoasAQCpRO3GDzenqC18fVTEdEPOPXPIZiRFwXQNejEc/gRD8AEAgPKh23wTkhXk kPJX2SjjVJwGqfaiiIce1p/7eIVMYA8= =PTal -----END PGP SIGNATURE----- --=-=-=--