From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8KazFGHgOWSK5gAASxT56A (envelope-from ) for ; Sat, 15 Apr 2023 01:23:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oDbAE2HgOWSIoQAAG6o9tA (envelope-from ) for ; Sat, 15 Apr 2023 01:23:13 +0200 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 5B262DB8D for ; Sat, 15 Apr 2023 01:23:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pnSkz-0001ZF-TE; Fri, 14 Apr 2023 19:23:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pnSkx-0001Z0-8i for guix-patches@gnu.org; Fri, 14 Apr 2023 19:23:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pnSkx-0007BV-0n for guix-patches@gnu.org; Fri, 14 Apr 2023 19:23:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pnSkw-00079f-Ev for guix-patches@gnu.org; Fri, 14 Apr 2023 19:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#59217] [PATCH] guix: lint: Improve message in linter warning. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Apr 2023 23:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59217 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 59217@debbugs.gnu.org, jgart , zimoun Received: via spool by 59217-submit@debbugs.gnu.org id=B59217.168151452527400 (code B ref 59217); Fri, 14 Apr 2023 23:23:02 +0000 Received: (at 59217) by debbugs.gnu.org; 14 Apr 2023 23:22:05 +0000 Received: from localhost ([127.0.0.1]:47897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnSk1-00077s-FK for submit@debbugs.gnu.org; Fri, 14 Apr 2023 19:22:05 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnSjw-00077F-Ar for 59217@debbugs.gnu.org; Fri, 14 Apr 2023 19:22:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=NmeMkuCH0t3I9+kxm6uwzpQJ9TPjXDU91jzb6uDFhI4=; b=IbjNKL/8p+WM9Kpk6mOxtJc/3t jNMIc8XYzEaDY+ebIDK8v85xBpd8fiqpXFDrJpi3KtUtlbwHUP9VhHXs/1bk1rH/pmxDGyC39Q88u PRGB7UfQB83pPKO41hyo2FCYwxtRM4TtChE8VnyoSAL2yaD8BbmcHLcy2Sgpje0rQnB3GhWnpse5N vE4MC7oxpYsVdolI1n2FrHRah6LhrywvOFfXFj1eYOqt+cvQbL7/pt6ron2VJATapgZHTubgtONAE klSB0iegCRbPjkWFRcwQ/StgKoktrIJqXyZCRj13SFxsxWNY6bnA9QBs39ZlfXnwLI46/8M3eH1OW sxUDO/8Q==; Received: from [192.168.2.1] (port=37982 helo=localhost) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pf5up-0000xT-36; Thu, 23 Mar 2023 02:52:40 +0530 From: Arun Isaac In-Reply-To: <87edphnat3.fsf_-_@gmail.com> References: <20221112150907.29793-1-jgart@dismail.de> <20221112091515.GB30032@dismail.de> <87wn7mk8pp.fsf@systemreboot.net> <86mt8iashd.fsf@gmail.com> <87bkoxbzoc.fsf@systemreboot.net> <87edphnat3.fsf_-_@gmail.com> Date: Wed, 22 Mar 2023 21:22:21 +0000 Message-ID: <871qlga3ci.fsf@systemreboot.net> 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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681514593; a=rsa-sha256; cv=none; b=dtmZS5EWmTg5DmdjeAYsIsUQEa/Z/Txa948LOUk5emwwVVIGqcj/MFTIFRy4znDmKODYLt kx8z6lr95C2u9rlb5thCEYkE09AITrtGUuaJ9EAtjzL9ITtQIizcol+EqJS0L7Sz6iqrCP BeapQqy0CEmg0CAosz9P8WRekzu5R3PflS68nUOqlEaH9cb4BtRVM7ewGWMwqkNNdYLmI3 Va2Hh0fBSv4hnTu/K2mlrJGw0G0Vym8uN/ccb0Oq1TgFNAJ+V2bl2JuFQQaN8s+ROMfmn0 EFEOCxsgBxVzoknsExHs2pY/bYbnKt6kykmJ33oKSosUEMAI6qSwmKPJBoCpwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b="IbjNKL/8"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681514593; 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=NmeMkuCH0t3I9+kxm6uwzpQJ9TPjXDU91jzb6uDFhI4=; b=WMCN3erb7QUNCk4RYk2ksWKpVWOrtWaYJbOfOMDxqHruZUjDodv58gbdDduRGvl1RjCROZ wkJ+95LsPbGiC3XOeB/0bJdlubjhS2a34ooUpm8IXYOwpPzvERg0YsrBOvuKiM2yo3LZXw hBtxmEkFooSrorbP+3DLor1mZTZYNu4LhWGKZJRoWITLtVJDfYG51PTLOORKHPo9gwpUFg ALZC4wmjiOpIx1UyRFHcg4fVyZxBQdvGDOYHg+ezBWZABFpc+gBxGlRLN1rRUF9L9uL4d/ oVctUqkmKmOrdo8nER/gQ39FdMFUtrdT1kziKboJoeZpODRAMJHLwnadKE6wdg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 0.38 X-Spam-Score: 0.38 X-Migadu-Queue-Id: 5B262DB8D Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b="IbjNKL/8"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none) X-TUID: Dv9a0wrDYnkF Hi Maxim, > Personally, I'd prefer not having explanations directly in the output of > Guix lint; it should be terse, as it's involved often and repeatedly. I see your point. But, perhaps there should at least be a link. Something like /home/arun/guix/gnu/packages/web.scm:8030:17: tissue@0.1.0: sentences in description should be followed by two spaces; possible infraction at 313 (see https://guix.gnu.org/manual/en/html_node/guix-lint-errors.html#two-spaces for details) Or a lint error code that can be explained in detail in the manual: /home/arun/guix/gnu/packages/web.scm:8030:17: tissue@0.1.0: sentences in description should be followed by two spaces; possible infraction at 313 (#12345) Or a --verbose flag that can enable longer explanations. New users should not be baffled by error messages and should have some way of learning more without having to ask on the mailing list or do extensive research. Cheers!