From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 5qfFBPDYUGAMbwAA0tVLHw (envelope-from ) for ; Tue, 16 Mar 2021 16:12:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OKmXO+/YUGD9ZgAAbx9fmQ (envelope-from ) for ; Tue, 16 Mar 2021 16:12:31 +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 BD99F1D417 for ; Tue, 16 Mar 2021 17:12:31 +0100 (CET) Received: from localhost ([::1]:59136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMCJ4-0002iD-LZ for larch@yhetil.org; Tue, 16 Mar 2021 12:12:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMC80-0001QZ-Pw for guix-patches@gnu.org; Tue, 16 Mar 2021 12:01:16 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57507) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMC7y-0000ng-Dh for guix-patches@gnu.org; Tue, 16 Mar 2021 12:01:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMC7y-0002Wt-CN for guix-patches@gnu.org; Tue, 16 Mar 2021 12:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47193] Fancify guix lint -c cve output Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Mar 2021 16:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47193 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 47193@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16159104249667 (code B ref -1); Tue, 16 Mar 2021 16:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Mar 2021 16:00:24 +0000 Received: from localhost ([127.0.0.1]:40820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMC7L-0002Vr-Rk for submit@debbugs.gnu.org; Tue, 16 Mar 2021 12:00:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:39060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMC7K-0002Vk-EF for submit@debbugs.gnu.org; Tue, 16 Mar 2021 12:00:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMC7J-0000wW-US for guix-patches@gnu.org; Tue, 16 Mar 2021 12:00:22 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:50558) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMC7H-0000Lc-BO for guix-patches@gnu.org; Tue, 16 Mar 2021 12:00:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=YaGadJfusfpJ60RzUvJ0CRfSYjbhuarucFL15OvWwe0=; h=date:subject:to: from; b=k98WNv2yr8vV3L2HaBcuJNXf/zCkKLoMRwYPl7ZUxxMWjvpKkqbsQspTIK0a5z SVny/4oWYuxSmGM8HCmij9fCkK2P/ACCx4StrbzV7CNRRc6uX/n3iAuBEztNPHseK42oZ+ YyICmMEXHDnZm92W5zO7xZ+ARA0BucVs3Rs7eU2LcF4cOv+frK3gRsPUPF8U39+WIu5M4h AFNhJUqeFBtlP1ij5w+RWSCAGpTJy8ijlUmQl1kHoY3nsNZ7hPC02n1nYKqD72573Feix/ w4ucy+w/xT5pQI7c/VQcgzklMnBjwRddxhN1hs9VpjqOBVc41Q6GAz9CyASo9bO378BMaw == Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 6d798cea (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for ; Tue, 16 Mar 2021 16:01:14 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; Date: Tue, 16 Mar 2021 17:00:11 +0100 Message-ID: <87im5rm6lw.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: Tobias Geerinckx-Rice X-ACL-Warn: , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615911151; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=YaGadJfusfpJ60RzUvJ0CRfSYjbhuarucFL15OvWwe0=; b=fnWLeTHsfnzd/Lmx0EdknviPwu5Wg66ReGbCThPm6PKYeRCO8HQ/UfORdP5CE2TEG73DeZ hzhZTS2UpMI6BuD56R1AiSJpZihpP1VPsBx6uuCiDgvDfdKNyvT1OQE+lNMw83MfgpkJYn vnpn8Hvv86Nw/ieROkmp5AzEaNSau0M70HInSTcVO5JkrHP21CRxpv69ddWxSGtHWafIsQ DFOkYdpJGqLp/NNy0eeBH+SrUKaZCFiOQTblYGAZiqMpXPyrKCzpovmQRFJp1Za579RtxO dydoHNZ8csrMdkCpRAu+b1UKlC/HXXaZRY8+B0tEbL2F3xcujfwPX2XPoKnhtg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615911151; a=rsa-sha256; cv=none; b=VYd4eDCuj/uK4BalBV3eKy55imr4uyQMkmQokuERIGHCzuxV+ax18NRmJSPVG2nnlNUQfj qxc+5iMQieedrNvSiQScJAuwoyz2Eywo/aPv4U1XeV0wEW4kYt93gZna/+IqX+Zz6FV0MI J8SYp//A1wVFRMw0lBUxR0UxMNrOiYHtwodSusjkweZ5vxMmU+HLQphrhpjJlhQhIEAo5f tJ/2EXBpweDRLbSr944n+YQ2eVNZkHsCNLBvwuvE4/SheGU1bb8v9MDLLDTz85CANYfDPr D/IJs3H/0SARmmGkLeFbeVBEHP4h7y0gG1qN9jW3NBzLN6QaQ83CY00sDlHWsA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=k98WNv2y; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -4.50 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=k98WNv2y; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BD99F1D417 X-Spam-Score: -4.50 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8cMeMJHVGiyi --=-=-= Content-Type: text/plain; format=flowed Guix, A quick hack requested by lle-bout: indicate CVE severity with pretty/scary colours[0]. It's deliberately simple: no scoring, no versioning, no importing (guix colors) from (guix cve), ... Another patch adds order to the rainbow. Sort CVEs by ID, so roughly chronological. In combination with the other patch, I prefer this to more complex ordering and/or grouping by severity. Kind regards, T G-R [0]: https://tobias.gr/tmp.png --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYFDWCw0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15RQ4BAI3yfWXQoiM1lTSdAvnUZHFf41BHMdUDMebqSQuz 9zR1AQCKwuoJ6L5rECbJ9dXPEz4qV+WCmLbjSCrdQZBITSj+Bw== =0/gM -----END PGP SIGNATURE----- --=-=-=--