From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EC6bIR3csV/fbQAA0tVLHw (envelope-from ) for ; Mon, 16 Nov 2020 01:55:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gJBoHR3csV+9fgAA1q6Kng (envelope-from ) for ; Mon, 16 Nov 2020 01:55:41 +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 2725F9403A9 for ; Mon, 16 Nov 2020 01:55:41 +0000 (UTC) Received: from localhost ([::1]:57100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keTk4-0008M7-39 for larch@yhetil.org; Sun, 15 Nov 2020 20:55:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keTjS-0008Lu-B3 for bug-guix@gnu.org; Sun, 15 Nov 2020 20:55:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43134) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keTjS-0005mQ-1d for bug-guix@gnu.org; Sun, 15 Nov 2020 20:55:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1keTjR-0006iM-Vp for bug-guix@gnu.org; Sun, 15 Nov 2020 20:55:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44675: guix lint: support for spellchecker or basic grammar Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 16 Nov 2020 01:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44675 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 44675@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160549164725735 (code B ref -1); Mon, 16 Nov 2020 01:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Nov 2020 01:54:07 +0000 Received: from localhost ([127.0.0.1]:54680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keTiZ-0006h1-0h for submit@debbugs.gnu.org; Sun, 15 Nov 2020 20:54:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:45320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keTiV-0006gp-Ma for submit@debbugs.gnu.org; Sun, 15 Nov 2020 20:54:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keTiT-00084g-SY for bug-guix@gnu.org; Sun, 15 Nov 2020 20:54:03 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:60544) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keTiR-0005jG-Ng for bug-guix@gnu.org; Sun, 15 Nov 2020 20:54:01 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id F08D61AA41 for ; Sun, 15 Nov 2020 17:53:56 -0800 (PST) From: Vagrant Cascadian Date: Sun, 15 Nov 2020 17:53:53 -0800 Message-ID: <87ima6rrri.fsf@yucca> 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-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/15 20:53:57 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu 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-Spam-Score: -2.61 X-TUID: 5eDA4O6sVK1a --=-=-= Content-Type: text/plain Please consider a guix lint description/synopsis check for basic spelling, typo and rudimentary grammar issues. Most of the ones I've found were caught by debian's "lintian" tool: https://tracker.debian.org/lintian Common issues appear to be: "This packages" -> "This package" "allows to X" -> "Xs" or "Xing" I've fixed many of these in the past: git log --author=vagrant --extended-regexp --grep='spelling|typo|grammar' --patch But some of the very same patterns keep reappearing! 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! That is, of course, if "guix lint" is being used consistently... :) live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX7HbsQAKCRDcUY/If5cW qkGNAP9k5PHKWQUAar5lQzxIfjyZkqBArCd2xtcWvgAtrofqrgD+Prxswpjl9TST rnfFB5SnKII3Ytwftt5aM5WHpw5BJQY= =7RdI -----END PGP SIGNATURE----- --=-=-=--