From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +Ek9MEgahWCuMAAAgWs5BA (envelope-from ) for ; Sun, 25 Apr 2021 09:29:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OKn3K0gahWDxWwAA1q6Kng (envelope-from ) for ; Sun, 25 Apr 2021 07:29:12 +0000 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 D80EB1A840 for ; Sun, 25 Apr 2021 09:29:11 +0200 (CEST) Received: from localhost ([::1]:38414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laZCY-0005tR-IM for larch@yhetil.org; Sun, 25 Apr 2021 03:29:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laZCQ-0005r0-RG for bug-guix@gnu.org; Sun, 25 Apr 2021 03:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58588) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laZCQ-0006JA-JV for bug-guix@gnu.org; Sun, 25 Apr 2021 03:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1laZCQ-0008Fd-Ek for bug-guix@gnu.org; Sun, 25 Apr 2021 03:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#44675: guix lint: support for spellchecker or basic grammar Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 25 Apr 2021 07:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44675 X-GNU-PR-Package: guix X-GNU-PR-Keywords: easy To: Vagrant Cascadian Received: via spool by 44675-submit@debbugs.gnu.org id=B44675.161933570631675 (code B ref 44675); Sun, 25 Apr 2021 07:29:02 +0000 Received: (at 44675) by debbugs.gnu.org; 25 Apr 2021 07:28:26 +0000 Received: from localhost ([127.0.0.1]:41901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laZBp-0008Eo-Un for submit@debbugs.gnu.org; Sun, 25 Apr 2021 03:28:26 -0400 Received: from flashner.co.il ([178.62.234.194]:59630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laZBl-0008EZ-Kk for 44675@debbugs.gnu.org; Sun, 25 Apr 2021 03:28:25 -0400 Received: from localhost (unknown [31.210.177.125]) by flashner.co.il (Postfix) with ESMTPSA id 5B60240363; Sun, 25 Apr 2021 07:28:15 +0000 (UTC) Date: Sun, 25 Apr 2021 10:27:28 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Vagrant Cascadian , 44675@debbugs.gnu.org References: <87ima6rrri.fsf@yucca> <87tunznsi7.fsf@yucca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aq6JK6J/d3NQoyHM" Content-Disposition: inline In-Reply-To: <87tunznsi7.fsf@yucca> 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44675@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619335752; 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: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; bh=rWM+h0ZYF8xBs5lakUS2iDdBq2+KI0lmykRhHmalelw=; b=IY7L8Gg9wH+awqzYPKpyITbXJOI54lR8kaCW3JXmO/N7oxA6uR5EXLCQcHAa/NMShRyZIi ZMUKRo6+5NuwuNkS3HdpMtQn11DERaacbP1ImJBtVNt4ZgHzBas1UmYnbNIkozKkIi/iWm breyxxE7EALYPgsLCJOnoHnjhdp1sNcu1hF7CwrqO4hya2chjVY5sLASy+9xSwBfchpNsK aQEzLsaL8mZz4wJ3Kx3J9ouaX8E8JYOuWhpMWRW74vqwoZJadlC7LFAmdCBUGNb9G8qXjq TXffduoASS2GCnXyfU6emb8R32bStNySHafkYmu9UnO8QP/7O8bdMeWqVdLuww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619335752; a=rsa-sha256; cv=none; b=OSo/Vv5ed1TANh3iY2Mn5/vgM7TL0s2XhxRYQVfb26GYqviDkAv7B2ECTzhR/h75zUZPmG eS+Yn5ULdvOEdgethPY3u3h20T0NHnLtE40N4a1C22eu4ARgFeOIUIb6RmXiKZNUGcLyeS OLfnY2zEh9iq5HLFj5DMDke54g2HSuF9c0YbPTS9vZ9w9R4QeU2271AYgz3ANFsmZu+db2 UyncFrbNT1QXnE39LW4GOl5Q7UEYt5EF98y0fOkkCNRxrv0I6LE5IhgJMHqPxHcwAWyDQ+ gCG2JhblRWbEkbSI7C29mm65rOT+QzlzFnXK+B0TCkQncELh0l+nyhR8ZGwqdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.04 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: D80EB1A840 X-Spam-Score: -4.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: tpBqJaRipI4b --aq6JK6J/d3NQoyHM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 21, 2021 at 04:10:40PM -0700, Vagrant Cascadian wrote: > Control: tags 44675 +patch >=20 > On 2020-11-15, Vagrant Cascadian wrote: > > Please consider a guix lint description/synopsis check for basic > > spelling, typo and rudimentary grammar issues. > ... > > Many of these are likely to be caught by most spell checking routines; > > I'm not sure if there is anything that would be implementable in pure > > guile, or it if would make sense to call out to an external > > spellchecker. > > > > Some of them might be harder, and obviously we do not want too many > > false positives, but no need to get perfectionist on solving this; even > > just checking for "This packages" would haved detected many of these > > issues! >=20 > In the attached patch, I've implemented a simple lint check for "This > packages", which has been fixed in ... 42 packages so far in the git > repository, so maybe this could help catch future ones! >=20 > I haven't implemented a more complicated spellchecker or grammar checker > or anything, but at least this is a start. >=20 > I think it is also within my skills to address "allows to" and "permits > to", if I'm not heading down the wrong path here... >=20 >=20 > live well, > vagrant It might make more sense to name it something more like 'catch-common-typos' and to search for 'This packages', 'allows to', 'permits to', 'file-name' and then print out the different mistakes in the description. Then we can add more as we find them, rather than one check per mistake. --=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 --aq6JK6J/d3NQoyHM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmCFGd0ACgkQQarn3Mo9 g1Gbyg//UlUXH/f0eliEyVtjqJQt+8hNoW0RMgHITqW11z9JZ/n/2Ahff+Jb//83 O4o/9CELlgKZKb9sLCXJFGFAHBQlZVY1zVxTd2QbzFebdN/l5Fya2stJarynHFUJ HWORKHkoq0pC7kSKKxOmIklfxV8sC9EjmiiTKnYlTSWUiex7hlHpTW39PBoXoDn8 xUeHk8SstbO00oYyLN89mmcgjWuUSOFFO0K7fHJxgWeL8F/m298KaJTCbteRS0D7 3o69Hi2+aNpj/742DiWhNCv1CuwNY+aI0Q0V5whJFiZONMJHqQbTqctNn1n5ujjh Zkl5CK5DnYoMKLIg91Oujp+s2BvP9MSiIHXw6EqkaTryG3LQmUZAXcaTTBtBttHb fbbacjiam2JRfaUCL2h/31dZJ71zi095Taeqlah+OjUxNi9+BYacxM+w02iHUxlc j34PJSs30waldU+84+LH+lbN/hZ23qFbvKZ5Meq9NdRsAjGaeceZIO605K7WqLbr A9eP5iRHagsS1OsVc9crkU8h2Q9lLIWMmxq8ZZSuxZJh7fee+BEcyMaK+aa8fwZg 7no5wlSJaoIybvflO15GrMbaWyBoGD3Q6Po8QAp7Hif5uEMIEy0Xj8wEIVd0VcB3 7KDKhWnvJ3iwv3vZlS8VlZXNKiB7jMq1SYqhUmdULwNnc7fogFc= =DYJF -----END PGP SIGNATURE----- --aq6JK6J/d3NQoyHM--