bug#44675: guix lint: support for spellchecker or basic grammar

2021-10-24 Thread Vagrant Cascadian
On 2021-10-24, Vagrant Cascadian wrote: > On 2021-10-24, zimoun wrote: >> On Sun, 24 Oct 2021 at 04:22, Vagrant Cascadian wrote: >>> "This packages", "This modules", "allows to" and "permits to" in package >>> descriptions. >>> * tests/lint.scm: Add tests for "This packages" and "allows to".

bug#44675: guix lint: support for spellchecker or basic grammar

2021-10-24 Thread Vagrant Cascadian
On 2021-10-24, zimoun wrote: > On Sun, 24 Oct 2021 at 04:22, Vagrant Cascadian wrote: >> From a171769da0f737468e06866164eadf1e720764ba Mon Sep 17 00:00:00 2001 >> From: Vagrant Cascadian >> Date: Sun, 24 Oct 2021 04:00:15 -0700 >> Subject: [PATCH] lint: Add description check for common typos. >>

bug#44675: guix lint: support for spellchecker or basic grammar

2021-10-24 Thread zimoun
Hi, On Sun, 24 Oct 2021 at 04:22, Vagrant Cascadian wrote: > So close! Ludo spotted that the for-each needed to be replaced with > append-map, and that basically did it! Indeed, I have not checked the type of full chain. :-) And the return value probably needs to be strongly a list, instead of

bug#44675: guix lint: support for spellchecker or basic grammar

2021-10-24 Thread Vagrant Cascadian
On 2021-10-22, zimoun wrote: > On Thu, 21 Oct 2021 at 16:18, Vagrant Cascadian wrote: > >> It has been rewritten to easily add new typo checks, but this one so far >> only addresses pluralized "This packages". Would be easy enough to add >> "allows to" but hard to add a suggested fix... > > If I

bug#44675: guix lint: support for spellchecker or basic grammar

2021-10-22 Thread zimoun
Hi Vagrant, On Thu, 21 Oct 2021 at 16:18, Vagrant Cascadian wrote: > It has been rewritten to easily add new typo checks, but this one so far > only addresses pluralized "This packages". Would be easy enough to add > "allows to" but hard to add a suggested fix... If I remember correctly the

bug#44675: guix lint: support for spellchecker or basic grammar

2021-10-21 Thread Vagrant Cascadian
On 2021-06-09, Vagrant Cascadian wrote: > There have been at least three newly added "This packages" since I > submitted this patch, so wondering if we can at least get the simple > case merged before getting too caught up in all the potential > improvements? And up until today, that list grew to

bug#44675: guix lint: support for spellchecker or basic grammar

2021-06-09 Thread Vagrant Cascadian
On 2021-05-04, Ludovic Courtès wrote: > Vagrant Cascadian skribis: > >> From 4e724fbe9815e1c27967b835f08d2259164538ba Mon Sep 17 00:00:00 2001 >> From: Vagrant Cascadian >> Date: Wed, 21 Apr 2021 09:26:45 -0700 >> Subject: [PATCH] lint: Add description check for pluralized "This package" >> >>

bug#44675: guix lint: support for spellchecker or basic grammar

2021-05-04 Thread Ludovic Courtès
Hi Vagrant, Vagrant Cascadian skribis: > From 4e724fbe9815e1c27967b835f08d2259164538ba Mon Sep 17 00:00:00 2001 > From: Vagrant Cascadian > Date: Wed, 21 Apr 2021 09:26:45 -0700 > Subject: [PATCH] lint: Add description check for pluralized "This package" > > Partial fix for:

bug#44675: guix lint: support for spellchecker or basic grammar

2021-04-25 Thread Vagrant Cascadian
On 2021-04-25, Efraim Flashner wrote: > On Wed, Apr 21, 2021 at 04:10:40PM -0700, Vagrant Cascadian wrote: >> Control: tags 44675 +patch >> >> On 2020-11-15, Vagrant Cascadian wrote: >> > Please consider a guix lint description/synopsis check for basic >> > spelling, typo and rudimentary grammar

bug#44675: guix lint: support for spellchecker or basic grammar

2021-04-25 Thread Efraim Flashner
On Wed, Apr 21, 2021 at 04:10:40PM -0700, Vagrant Cascadian wrote: > Control: tags 44675 +patch > > 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

bug#44675: guix lint: support for spellchecker or basic grammar

2021-04-22 Thread Maxime Devos
Vagrant Cascadian schreef op do 22-04-2021 om 10:57 [-0700]: > On 2021-04-22, Maxime Devos wrote: > > + (define (check-pluralized-this-package description) > > +"Check that DESCRIPTION does not contain This packages" > > > > The sentence structure would be clearer if you used quotes here, >

bug#44675: guix lint: support for spellchecker or basic grammar

2021-04-22 Thread Vagrant Cascadian
On 2021-04-22, Maxime Devos wrote: > + (define (check-pluralized-this-package description) > +"Check that DESCRIPTION does not contain This packages" > > The sentence structure would be clearer if you used quotes here, > something like "Check that DESCRIPTION does not contain ‘This

bug#44675: guix lint: support for spellchecker or basic grammar

2021-04-22 Thread Maxime Devos
+ (define (check-pluralized-this-package description) +"Check that DESCRIPTION does not contain This packages" The sentence structure would be clearer if you used quotes here, something like "Check that DESCRIPTION does not contain ‘This packages’". +(if (string-match "This packages"

bug#44675: guix lint: support for spellchecker or basic grammar

2021-04-21 Thread Vagrant Cascadian
Control: tags 44675 +patch 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

bug#44675: guix lint: support for spellchecker or basic grammar

2020-11-15 Thread zimoun
Hi Vagrant, On Sun, 15 Nov 2020 at 17:53, Vagrant Cascadian 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

bug#44675: guix lint: support for spellchecker or basic grammar

2020-11-15 Thread Vagrant Cascadian
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