From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AOaWLU5LdWHzTAAAgWs5BA (envelope-from ) for ; Sun, 24 Oct 2021 14:02:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iF1LKU5LdWHJPAAA1q6Kng (envelope-from ) for ; Sun, 24 Oct 2021 12:02:22 +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 32B3B325AE for ; Sun, 24 Oct 2021 14:02:22 +0200 (CEST) Received: from localhost ([::1]:43194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mecCi-0001k1-So for larch@yhetil.org; Sun, 24 Oct 2021 08:02:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mecCR-0001jo-4e for bug-guix@gnu.org; Sun, 24 Oct 2021 08:02:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mecCQ-0007we-Fx for bug-guix@gnu.org; Sun, 24 Oct 2021 08:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mecCQ-0006Yl-Co for bug-guix@gnu.org; Sun, 24 Oct 2021 08:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#44675: guix lint: support for spellchecker or basic grammar Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 24 Oct 2021 12:02: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.163507686725154 (code B ref 44675); Sun, 24 Oct 2021 12:02:02 +0000 Received: (at 44675) by debbugs.gnu.org; 24 Oct 2021 12:01:07 +0000 Received: from localhost ([127.0.0.1]:38030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mecBW-0006Xd-Uj for submit@debbugs.gnu.org; Sun, 24 Oct 2021 08:01:07 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:47000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mecBW-0006X3-1y for 44675@debbugs.gnu.org; Sun, 24 Oct 2021 08:01:06 -0400 Received: by mail-wr1-f53.google.com with SMTP id k7so2614116wrd.13 for <44675@debbugs.gnu.org>; Sun, 24 Oct 2021 05:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=PqPGKGFA4Rp0FnMQA55rChOZc5xO+lKEAUwtm1Ai9Ug=; b=FzjegTU0+KQQpyRyjR5/5/HJIDqmKtb2Bx+NIeDHsNGluvLGa5yPhzGWC4HhTg98Wa lbFIOt0G3TJJeRa5SNHGRUGKdmMfkD1oslIRHOOXv+CYbGn2bbndnWe8zNy7mgQr4lqi U4YdUYdtMMbE/u4anjpbnm/O41vNPccooZUTee86iXAfC5bZ0kjk7lhIjYu6ii7ywH88 Wd09pgfMSEvc1hQODFJlIxUs1HhXpMw3YiS5N0eH7WUckQwCp9aHHOVRYN3znAEaOdXM 9oUvRhhZCNkHFWFKzJVAGU1bkD1cPfHCtCU8zQ1YFXKFUmOrMM5j0IBSo494QofNnKsd 3lrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=PqPGKGFA4Rp0FnMQA55rChOZc5xO+lKEAUwtm1Ai9Ug=; b=XO+8Q68+RsFRI6nJ/8DdnnxSCp5zB2K/AIz/FldUiWrmroLf7BQdFFyMgT7GClIJKA GhrkIvwldZYekrJn9A3eJ1WZ+uM7/yMNcDGRqPgF8ks4eW5KujZl9H6rEuMeBoakgZZW F9j2ysyFoxUeLc0jQJMd+HCv3hgdioESaYsCS17D8yDLidC+UuAEx7a8ZiktB6eP0GBp iOuVfYBRHxC4VkqansGNlCjeTuJ9axPNFGP5YIrZ12/uD8tYTnWteABN/JN/JNKReA1z HkUWHWOuIMnW8/pm0MTxbgY6ObVXIAWpeX5DO7lXSMwx5Iw5sZkC06jxkqFjx31TALeA YBIQ== X-Gm-Message-State: AOAM530ZPcPHL8h+JqfGAKZe25Cn9KIBhgd61hABktd3jWofRExAXOzg xQHX2Cm8J+hLF/y9alzicIGhwBAzzPg= X-Google-Smtp-Source: ABdhPJw6b1mmwXxvDr7z6sclBJcC19tP/xm2OognexvPsoE29aT9qUlt+EI8gOkdV/S27ip3Ockbfw== X-Received: by 2002:adf:ba87:: with SMTP id p7mr15082874wrg.282.1635076859944; Sun, 24 Oct 2021 05:00:59 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id n11sm3891484wrs.14.2021.10.24.05.00.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Oct 2021 05:00:59 -0700 (PDT) From: zimoun In-Reply-To: <87mtmyr7kp.fsf@yucca> References: <87ima6rrri.fsf@yucca> <87tunznsi7.fsf@yucca> <2f3077c0d040e4b40db19d98195845e124b064d3.camel@telenet.be> <87o8e6nqvv.fsf@yucca> <87o8dqmozo.fsf@gnu.org> <87zgvz129e.fsf@yucca> <8735ouotkl.fsf@yucca> <865ytpzcfc.fsf@gmail.com> <87mtmyr7kp.fsf@yucca> Date: Sun, 24 Oct 2021 13:56:14 +0200 Message-ID: <86ilxmab6p.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain 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=1635076942; 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: dkim-signature; bh=PqPGKGFA4Rp0FnMQA55rChOZc5xO+lKEAUwtm1Ai9Ug=; b=W4stFKydXzu5G/4ldvCNfaFNLziZAyeKV/kXDlPxRrSJvQK/ioabIIX5E1RSHmfxs7hldq PpLM5BxsVlih49LdG7SMkMXa1vI1i1qmIiv/qJeWF8b4Z2u1ybeS5YZGM2+GRTZRgz631o rrEOO64EPrlFasMSofP8aQxE34s7K/tL5+mE/OlsqATjAjUt4Ba97NIJYCStuaWKEGmUjC hH627a2qfzF3FPzSUafYmK0wxCvVtzTzU73JCQgGAsradvSpvN6X3W21ZWVcmRd63mLdG3 54ACWLkx16oG3QBU4AccSJwWw8gtFVSH+Xj9sXvYLYFv4nof7RGlV71JwikUJA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635076942; a=rsa-sha256; cv=none; b=MHz7nEJyYc1hSFXPzduxwR0GjVEtf2ZhZmhTBV1NzGqKRVatP9xdUXEX/0VZw+4IaI5fTF gz4Vwuf/JvkJOHwH4EFOVNw37jt+dIpmmgPNed0LtvCJD79/CsOzBsEorNaiHWNktd3KQV HU4sTvXpRY3XoW9Zam579NW+l522NB9lZz625umaIiYTZ+jkz1TYDQcDrFixlsmdXU9vGt FMs6Fm8lkr0B0kpz8QqJHpapoaYqvFEV/e/kNtQQM8E/TIDIeZmZMNjqKtmpG1bPQV/iut vhpuGr6px+KmNeRK3bS37BOV6uC5d/eS2xcqeC792PGqgEq8C7eXr298QJaTnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FzjegTU0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FzjegTU0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 32B3B325AE X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: WYABaL8dtLri 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 not-specified. ;-) > Here's to hoping for a guix with fewer glaring typos with which to craft > guix poetry. :) Guix poetry, oh well. :-) > 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. > > Fixes: https://issues.guix.gnu.org/44675 > > * guix/lint.scm (check-description-typo): Add check for occurances of ----^^ Occurrence, no? Well, maybe a US vs UK vs French-glish. :-) > "This packages", "This modules", "allows to" and "permits to" in package > descriptions. > * tests/lint.scm: Add tests for "This packages" and "allows to". > --- > guix/lint.scm | 19 +++++++++++++++++++ > tests/lint.scm | 14 ++++++++++++++ > 2 files changed, 33 insertions(+) Otherwise, LGTM. Cheers, simon