GNU bug report logs - #44675
guix lint: support for spellchecker or basic grammar

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Vagrant Cascadian <vagrant@HIDDEN>; Keywords: easy; dated Mon, 16 Nov 2020 01:55:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Added tag(s) easy. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 44675 <at> debbugs.gnu.org:


Received: (at 44675) by debbugs.gnu.org; 16 Nov 2020 06:04:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 16 01:04:40 2020
Received: from localhost ([127.0.0.1]:54823 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1keXd2-0004gC-3j
	for submit <at> debbugs.gnu.org; Mon, 16 Nov 2020 01:04:40 -0500
Received: from mail-wr1-f45.google.com ([209.85.221.45]:38383)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1keXcy-0004fy-4B
 for 44675 <at> debbugs.gnu.org; Mon, 16 Nov 2020 01:04:39 -0500
Received: by mail-wr1-f45.google.com with SMTP id p8so17354885wrx.5
 for <44675 <at> debbugs.gnu.org>; Sun, 15 Nov 2020 22:04:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:in-reply-to:references:date:message-id:mime-version
 :content-transfer-encoding;
 bh=bxrKptiez7BxNpnnBdVB4EZHIFU7lLn9YJVb8npsoh0=;
 b=tfVfqnvTj94t+onBHzK4B6SqspigZ/6/2fvtq7MOF94IG9dDo3N4gluFh/qPcNnfig
 bK3kWcXDvPDHSAiWMQfthoz2wuyXZ3Ar9X+OORUIcu5lt0HxP1DZxXtvZSvv1SAjbQx8
 XJvfFXeoh3kk9GniZOYhZk8gR/oh6LX6xU2KXR7tCvDD7tUeo5VADqLw7QApISCYMTJm
 w/SM0TtBLpKYw9oO3pBIZF9WCpn2TKyoJbMiFqYvfXM6q/gFLEUI6Ip3mvTE9N4SCLXL
 OmYISO2r+nOAg9p0kqXTIO7OxlfDlUzJOuns8zidU2CB5dfnLroSTIBjvqNd3/bo2K22
 mcpg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:in-reply-to:references:date
 :message-id:mime-version:content-transfer-encoding;
 bh=bxrKptiez7BxNpnnBdVB4EZHIFU7lLn9YJVb8npsoh0=;
 b=O5YmD/vEylC96aSwy32hUGWbRsp1pncz5M2VvwBCOeZaKPPs8BtKmpYh69bVZuwkzw
 stPgKIAviSJoYK5ePwWhOCgtajHEIkePV22ll1LHrgoyY17DAluMbZUCn17+xTLrEBKi
 ojXez/YNup/myoImX0arcWcZcFiSxUfOtvTRqi/nsJ28B6PB6Esl8YdK61sXpMyrLT3X
 7pUvVv0tP00/MMjxev+wW+GN9VXFLL115ot/ome2Hp979373CiVrWAYCvxgdPzHPt/Rb
 Q5oBM4VsQ3Ky4WL+dIzN+meh4jajndMoiU6+qBrf10e0AdqwVp7zrAWvtTa3bC/gVUEw
 oMAA==
X-Gm-Message-State: AOAM533jR3ioXCHMsSAmSn7R5Dt8rczwJLUb6Ion6830DSZSzjfLF1Ft
 kXWmWGDgPj7bwugEsq/mKTf4hiljD31Kdg==
X-Google-Smtp-Source: ABdhPJw4HHSOninYh/1yaNbZSnPqRRURTBzkvNR98Ihg2ZeXF9yAsQUEpzrDmzuSLKzsewTNg9/N9w==
X-Received: by 2002:a5d:56c7:: with SMTP id m7mr18537916wrw.201.1605506668949; 
 Sun, 15 Nov 2020 22:04:28 -0800 (PST)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id i5sm22975035wrw.45.2020.11.15.22.04.27
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 15 Nov 2020 22:04:28 -0800 (PST)
From: zimoun <zimon.toutoune@HIDDEN>
To: Vagrant Cascadian <vagrant@HIDDEN>, 44675 <at> debbugs.gnu.org
Subject: Re: bug#44675: guix lint: support for spellchecker or basic grammar
In-Reply-To: <87ima6rrri.fsf@yucca>
References: <87ima6rrri.fsf@yucca>
Date: Mon, 16 Nov 2020 06:55:44 +0100
Message-ID: <868sb1u9pb.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 44675
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Vagrant,

On Sun, 15 Nov 2020 at 17:53, Vagrant Cascadian <vagrant@HIDDEN> wrote:
> 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

[...]

> 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.

The tool is =E2=80=99spellintian=E2=80=99 [1], right?  If yes, the work see=
ms done by
[2] but I am not sure to understand if it is only regexp and Perl or if
an external tool is called.  And the list in debian/control is not very
helpful.

1:
https://salsa.debian.org/lintian/lintian/-/blob/master/bin/spellintian
2:
https://salsa.debian.org/lintian/lintian/-/blob/master/lib/Lintian/Spelling=
.pm=20


> That is, of course, if "guix lint" is being used consistently... :)

It should be! :-)


All the best,
simon




Information forwarded to bug-guix@HIDDEN:
bug#44675; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Nov 2020 01:54:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 15 20:54:07 2020
Received: from localhost ([127.0.0.1]:54680 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1keTiZ-0006h1-0h
	for submit <at> 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 <vagrant@HIDDEN>) id 1keTiV-0006gp-Ma
 for submit <at> 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 <vagrant@HIDDEN>)
 id 1keTiT-00084g-SY
 for bug-guix@HIDDEN; 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 <vagrant@HIDDEN>) id 1keTiR-0005jG-Ng
 for bug-guix@HIDDEN; Sun, 15 Nov 2020 20:54:01 -0500
Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b])
 (Authenticated sender: vagrant@HIDDEN)
 by cascadia.aikidev.net (Postfix) with ESMTPSA id F08D61AA41
 for <bug-guix@HIDDEN>; Sun, 15 Nov 2020 17:53:56 -0800 (PST)
From: Vagrant Cascadian <vagrant@HIDDEN>
To: bug-guix@HIDDEN
Subject: guix lint: support for spellchecker or basic grammar
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@HIDDEN;
 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-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
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-----
--=-=-=--




Acknowledgement sent to Vagrant Cascadian <vagrant@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#44675; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 3 Dec 2020 17:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.