From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KJyHNvJwZGAYFwEAgWs5BA (envelope-from ) for ; Wed, 31 Mar 2021 14:54:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AJpnMPJwZGCMCAAAbx9fmQ (envelope-from ) for ; Wed, 31 Mar 2021 12:54:10 +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 8904B21BD9 for ; Wed, 31 Mar 2021 14:54:10 +0200 (CEST) Received: from localhost ([::1]:54412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRaMK-0000u3-VK for larch@yhetil.org; Wed, 31 Mar 2021 08:54:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRaME-0000tq-AY for guix-patches@gnu.org; Wed, 31 Mar 2021 08:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRaME-0007tr-3Q for guix-patches@gnu.org; Wed, 31 Mar 2021 08:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRaME-0001x4-21 for guix-patches@gnu.org; Wed, 31 Mar 2021 08:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47193] Fancify guix lint -c cve output Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 31 Mar 2021 12:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47193 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Tobias Geerinckx-Rice Cc: 47193@debbugs.gnu.org Received: via spool by 47193-submit@debbugs.gnu.org id=B47193.16171951917419 (code B ref 47193); Wed, 31 Mar 2021 12:54:02 +0000 Received: (at 47193) by debbugs.gnu.org; 31 Mar 2021 12:53:11 +0000 Received: from localhost ([127.0.0.1]:53797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRaLO-0001vb-P9 for submit@debbugs.gnu.org; Wed, 31 Mar 2021 08:53:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRaLN-0001vO-Jw for 47193@debbugs.gnu.org; Wed, 31 Mar 2021 08:53:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59098) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRaLH-0007Ng-D6; Wed, 31 Mar 2021 08:53:03 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60236 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lRaLG-0000Db-Bz; Wed, 31 Mar 2021 08:53:03 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87im5rm6lw.fsf@nckx> <20210316160653.9891-1-me@tobias.gr> Date: Wed, 31 Mar 2021 14:53:00 +0200 In-Reply-To: <20210316160653.9891-1-me@tobias.gr> (Tobias Geerinckx-Rice's message of "Tue, 16 Mar 2021 17:06:52 +0100") Message-ID: <87mtuja3ir.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617195250; 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: content-transfer-encoding:content-transfer-encoding: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; bh=idnBE93MUmr4io4SUmhS8dTNwvekQFGCZTzaeJt4EiI=; b=JHuzFCmHcDO2mOsxKtLCCnYaupebr2o2YpdXVfI07wnRAPDJyxctTEw6Alhu5TzomXGn43 DZZv8nQaw8P1DpyVHYVXnIs0IsVNAY8ZuHJvrDmUH9zsfcdotpFf401Jh41L1LCGJ2GwdW vj28YGqecTed46TukOWG7d2LZ1MgwlTYBhKr0cWcLoiFuA++MTaWJBaAYdSmcM3uAm/wDj K6xxujx9D/zylO0Fm8tqHsauhPKtcA7SSwnDhgQQUeZ3rRwTuEa9stahHZs+koZ5VTzqDd 3bDkfVS03PZgSgq6nO0RIuX36jbhW9av+zlHRkg3ciTo/I0Z4dI5bx4Xm504ug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617195250; a=rsa-sha256; cv=none; b=e7+WRWGYpkpU9zAsP2/wTgQBA4o/tAyJTsEiE8g++WGQvp6RYgrV7FKPxlT85i/kMwwp0i u4hTz1gjx8/DLqTbyOavVkdnqzOfMaWqKR+JGxeAM75EJf3Rw8FTN9Bhkpj4cm6/S0AZOg 7geVSPGLQ4tSFvWbaB+KKyjY2hhWOe1nMBexuoPMA6E67m/6ROZBgV8VdUNliBTHDc86lc RUgBazVOH1ZiEddti74le24znvih0BtaxDXw9UvXF8ZPCKnEjkUT8cQ60xnnzrNH/nSELo 9tzkF3J28mJg0bGyu0ahzDgur9bPTT7HCl07jC0tC+6pQPZPJi+7zvZDl5akWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 8904B21BD9 X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: x98vLbTpE2oJ Hi! Tobias Geerinckx-Rice skribis: > * guix/lint.scm (check-vulnerabilities): Sort unpatched vulnerabilities > by ID. [...] > (make-warning > package > (G_ "probably vulnerable to ~a") > - (list (string-join (map vulnerability-id unpatched) > + (list (string-join (map vulnerability-id > + (sort unpatched vulnerability<)) > ", ")))))))))) Nitpick: it might be a bit clearer done the other way around: (sort (map vulnerability-id unpatched) cve-id