From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2PZSKXcqP2dM6gAAe85BDQ:P1 (envelope-from ) for ; Thu, 21 Nov 2024 12:41:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 2PZSKXcqP2dM6gAAe85BDQ (envelope-from ) for ; Thu, 21 Nov 2024 13:41:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=YV9YHpyE; dmarc=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=1732192887; a=rsa-sha256; cv=none; b=ZxPm0U132JdVkGPDzBen0qTEXy/NNmFq6q4LVI7fcsSDOC0opb9kCtFa/i2ydWcku5UNuy 23pYh+y+2t/BxECsBuyAHXOvOsfQiFDhcvhTwlGEdPTikBK8+jRPZI/ePBGh2kCc1UjCFM 68Y4Zy+eRCF0Rnxk7FgB7Hl9B2KeBQAKCZo2qI/+ci+nJ0v+KgeKc2WOvBowJyxrrGzJrG u+r32CohIZmc5qEWCrlj+NazozVnXOYGv39pYuWiDaduZTiYLMgnMLCvuMb2fTgEf5BDjY SJ2gDOgx1GMXxDakSzm5aZaqdxFe4NxBhthyGpDEbvcsFlGlcOb3itt84iSpzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=YV9YHpyE; dmarc=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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732192887; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=ZlKpNxyVHgoD8V0XzgLxXieNry2CiWnnGd6urKJj+eg=; b=Y4+CkVpChLqXNK6wPQAWvLTpTvZwQMaVRuBvHf5axaGDinxmLBVbQwmVoMlslVTdqYng+5 FSwral+WSTEeYGavT0MAYh2VyiOc99KN9ldpBGF2pLkYxOEhdm6VGwtlg3GP/v1MwZyMRw tj/5Hm1KM8Q1CIvkLloS9x4yaBAie9v3hhVYdwfzd5n6ePxo6F6h6ybWjVUOylsx4UEnbG 7+dtLVJNk2SitHo68m30nWb45pjy6Y+OCKyXL5AEvN+M2mEn+A1K1Jlw+OCN8PBMxTo16w RG3YjrZWcr0o8/LTMZzez1G3cMMmp2hr9+Pzh6BG17fcL5K+ElcBTLVop1ePUA== 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 EF1B919DB2 for ; Thu, 21 Nov 2024 13:41:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tE6Uc-0003h0-QA; Thu, 21 Nov 2024 07:41:07 -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 1tE6UZ-0003gU-LL for guix-patches@gnu.org; Thu, 21 Nov 2024 07:41:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tE6UZ-0005ZF-C2 for guix-patches@gnu.org; Thu, 21 Nov 2024 07:41:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=ZlKpNxyVHgoD8V0XzgLxXieNry2CiWnnGd6urKJj+eg=; b=YV9YHpyESsw83yl9Wo4B4Zn7xw6aDwyGMoUBc9f4NAKn6lDAwO9IkyU9nBzPLzZ9ZVS6GIaqowmSvxsLU+2eUYs1lm/nvVBr/xnvbxMqOZm5dfoypFfrpemVOIv/j2DyyCjyWZiP3brftXnowq0SHy4FXrTo6CBpWJ0EBekIIE0ZfjWvnjsue2w9TVLY/AwLp1WaZPwqkRBN6k5ZoXHjb09ED1FgmJtXygJFy/iU5wEHfmzWvL7YjISXKpvW2/+yYoX0FjfPBfEPqWtqygKdAH0evV/zmHprpPpLc7icl072d0gNxdjOgMiHy/Lftw6CYPiKnVNuEtT8Yv+4SKXi1Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tE6UY-0000Ls-5q for guix-patches@gnu.org; Thu, 21 Nov 2024 07:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74459] [PATCH 0/8] Linter improvements (eliminate false positives)=?UTF-8?Q?=1B?= Resent-From: Gabriel Wicki Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Nov 2024 12:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74459 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74459@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17321928551330 (code B ref -1); Thu, 21 Nov 2024 12:41:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Nov 2024 12:40:55 +0000 Received: from localhost ([127.0.0.1]:49417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tE6UR-0000LD-9X for submit@debbugs.gnu.org; Thu, 21 Nov 2024 07:40:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:33970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tE6UO-0000L3-PE for submit@debbugs.gnu.org; Thu, 21 Nov 2024 07:40:53 -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 1tE6UO-0003dr-IA for guix-patches@gnu.org; Thu, 21 Nov 2024 07:40:52 -0500 Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tE6UJ-0005Xj-Q3 for guix-patches@gnu.org; Thu, 21 Nov 2024 07:40:52 -0500 Received: from localhost (antispam.ee.ethz.ch [129.132.2.16]) by cotopaxi.ee.ethz.ch (Postfix) with ESMTP id A358520026 for ; Thu, 21 Nov 2024 13:40:44 +0100 (CET) X-Virus-Scanned: by amavisd at antispam.ee.ethz.ch Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]) by localhost (antispam.ee.ethz.ch [129.132.2.16]) (amavisd-new, port 10028) with ESMTP id S1l3TIQN0v7o for ; Thu, 21 Nov 2024 13:40:43 +0100 (CET) Received: from blackbox (212-51-128-25.fiber7.init7.net [212.51.128.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gabriel) by cotopaxi.ee.ethz.ch (Postfix) with ESMTPSA for ; Thu, 21 Nov 2024 13:40:43 +0100 (CET) Date: Thu, 21 Nov 2024 13:40:40 +0100 From: Gabriel Wicki Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: permerror client-ip=129.132.148.196; envelope-from=gabriel@erlikon.ch; helo=cotopaxi.ee.ethz.ch 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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 X-Migadu-Spam-Score: -4.55 X-Spam-Score: -4.55 X-Migadu-Queue-Id: EF1B919DB2 X-Migadu-Scanner: mx10.migadu.com X-TUID: Gru+oNSLdvrF Hi there! In my recent venture where i linted each and every packages' description and synopsis, I found quite a bunch of false positives. These usually don't hurt when we lint single packages, but are quite annoying when linting all of them. Hence I summed my findings up in some code improvements. Have a nice week! gabber Gabriel Wicki (8): guix: lint: Fix indentation. guix: lint: Refine description start check logic. guix: lint: Allow texinfo markup at beginning of description. guix: lint: Allow texinfo markup at beginning of synopsis. guix: lint: Prevent false positives in description typo check. guix: lint: Ignore initials from double space check. guix: lint: More abbreviations. gnu: Move depending packages next to each other. gnu/packages/cpp.scm | 50 +++++++++++++++++------------------ guix/lint.scm | 56 +++++++++++++++++++++++++-------------- tests/lint.scm | 62 +++++++++++++++++++++++++++++++++++++------- 3 files changed, 114 insertions(+), 54 deletions(-) base-commit: 33665c52c4670bc3b4d337c89ac9cc6c4c69b26f -- 2.46.0