From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WABfJcuhFGKeRAAAgWs5BA (envelope-from ) for ; Tue, 22 Feb 2022 09:41:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eLchIsuhFGKWYgEAauVa8A (envelope-from ) for ; Tue, 22 Feb 2022 09:41:47 +0100 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 BF6CE38075 for ; Tue, 22 Feb 2022 09:41:46 +0100 (CET) Received: from localhost ([::1]:50298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMQjx-0002Qk-S1 for larch@yhetil.org; Tue, 22 Feb 2022 03:41:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMQjG-0002Oq-Kb for guix-patches@gnu.org; Tue, 22 Feb 2022 03:41:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46071) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMQjG-0006PH-9d for guix-patches@gnu.org; Tue, 22 Feb 2022 03:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMQjF-0001PQ-RP for guix-patches@gnu.org; Tue, 22 Feb 2022 03:41:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54069] [PATCH 0/2] gnu: pciutils: Unbundle pci.ids and use latest. Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Feb 2022 08:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54069 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 54069@debbugs.gnu.org Received: via spool by 54069-submit@debbugs.gnu.org id=B54069.16455192405377 (code B ref 54069); Tue, 22 Feb 2022 08:41:01 +0000 Received: (at 54069) by debbugs.gnu.org; 22 Feb 2022 08:40:40 +0000 Received: from localhost ([127.0.0.1]:39968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMQiu-0001Of-9I for submit@debbugs.gnu.org; Tue, 22 Feb 2022 03:40:40 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:46260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMQis-0001OC-8m for 54069@debbugs.gnu.org; Tue, 22 Feb 2022 03:40:39 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4K2t0Y6lrDz9sR7; Tue, 22 Feb 2022 09:40:29 +0100 (CET) Date: Tue, 22 Feb 2022 09:40:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1645519228; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=aiqs6Mw/t7SCtgjuECTujh/DOL0/9VaYRmIJUYriJXk=; b=qcx8lViZmICUGTrIVw2jVJgDHBii3YEfU9Iox1F0sQJD97HIfB1U+HKg1/ab9F43esr8Rh c+DpzgQwz/w9Ww1u8AITsQA+iLG3k+7TtvwmQFFGTVU0HtzedXxmzCZhNIRDduXAHN/Qb2 n1o1su8QSjgbaBHLwCVjClLT/s+75wMUgodWTx5qn9XsCmXYU7KUWhH92ZhBJbP3fE0Lpf uJjGKDe3NIwaIhYTJpPmoI9w/Oio9K8cOoqeBgeNS+ddS8a/2KwgiHJZlpv8oQit9o0YPT hkMEslQXSzXUxixdBrtZ2z46L80ey14waY9SK6IhYqp/mGYLTbKL6vwmcyMh6A== From: Brendan Tildesley Message-ID: <1283228187.20109.1645519225656@office.mailbox.org> In-Reply-To: <87r17wnh3d.fsf_-_@gmail.com> References: <20220220095557.1497-1-mail@brendan.scot> <20220220095557.1497-2-mail@brendan.scot> <87r17wnh3d.fsf_-_@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645519307; 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:dkim-signature; bh=aiqs6Mw/t7SCtgjuECTujh/DOL0/9VaYRmIJUYriJXk=; b=V8Gl97RTXj8VpwPzRC3ZKEWgECeE3XDObKUQTwtBj6HTaOL2azvJwpN2oCZztT04KjnePx OVS4UGfwg3sNOgrKv4Bf1aYCVFILFiPWrTRHLlZgsX8yGEOkvZZjFQMU4naEaL+gqQ9AfS YFQa23VkuLx5DwwcCeVo4a1JkrOCxLeWhaxFEvW7FS1zlBSjIL6scgcJtUxNrbp1djhxij Nj/hu8CBrfijJ6RWiQoy8dIw4A5xxrUO8CBJLPeqkbhbUdZuXZh56bTTRMb5w7IR6SyXV2 Ha8DuMKiOgfNs369hctBR7pUqgBZ9IMwdWbooNK71zVNkec/UpVvcQNcB9Wgyw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645519307; a=rsa-sha256; cv=none; b=Sue0K21IOc/CruslcTMYUxflEfeZFu5182639wWGHNphyDPorBtS35kYJz3M2sGt2AT6Jm ycrLLUnsKjdqtReYBe6JXe26GN81kaLmEeL3Ji1xVKUA0TTxsqo7QxWEnFQsHHH9Jx9yqg CewVTQ3jutSFvAr0CRjP03OB3vgx9mJ0eQ1G7S/1chEUVkvnojjfpF0iW4lLdLtzrkr0yr /ckvOfwT+CwkjE54D5zf+ugtHJrvBrFyWs1kiXEVRxoDPivYV496syC2/9NCEzmq83P9xL S8LpbC7a1bsVVbjQNnFAQ7rOtWWcUiYOT6pY0BsDBodoC1cy2iu2ez46HDsvGQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=brendan.scot header.s=MBO0001 header.b=qcx8lViZ; dmarc=none; 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" X-Migadu-Spam-Score: -2.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=brendan.scot header.s=MBO0001 header.b=qcx8lViZ; dmarc=none; 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" X-Migadu-Queue-Id: BF6CE38075 X-Spam-Score: -2.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8UG8OWb1BpAG > On 02/21/2022 8:40 PM Maxim Cournoyer wrote: > > > Hi, > > Brendan Tildesley writes: ... > It seems to me perhaps a more proper fix would be to have hwdata used as > an input, replacing the bundled copy of the pci.ids file file, and then > letting pciutils proceed as usual? Disabling compression makes the > database about 4.3 times larger (1.2 MiB instead of 0.273 MiB). > I mistakenly thought they were not gzip'd in the first place. Should we have a separate output/package for each of the 3 files, and then embed their paths as needed? > I feel like applications parsing pci.ids themselves should probably rely > on the pciutils library API instead (libpci.so) to retrieve or filter > PCI identifiers without being concerned with the actual format of the > database. > libosinfo also pulls in its own pci.ids. I searched nix and found there are several more programs that refer to the files directly. > What do others think? > > Maxim