From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AEY1ERtPFWI8AwEAgWs5BA (envelope-from ) for ; Tue, 22 Feb 2022 22:01:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kBT4DRtPFWLYJwAAauVa8A (envelope-from ) for ; Tue, 22 Feb 2022 22:01:15 +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 A51FD27D7B for ; Tue, 22 Feb 2022 22:01:14 +0100 (CET) Received: from localhost ([::1]:41626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMcHZ-00082m-7D for larch@yhetil.org; Tue, 22 Feb 2022 16:01:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMcHO-00082Q-EV for guix-patches@gnu.org; Tue, 22 Feb 2022 16:01:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48861) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMcHO-0003kj-4O for guix-patches@gnu.org; Tue, 22 Feb 2022 16:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMcHN-0005l2-WE for guix-patches@gnu.org; Tue, 22 Feb 2022 16:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54069] [PATCH 0/2] gnu: pciutils: Unbundle pci.ids and use latest. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Feb 2022 21:01: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: John Kehayias Cc: "54069@debbugs.gnu.org" <54069@debbugs.gnu.org> Received: via spool by 54069-submit@debbugs.gnu.org id=B54069.164556361422050 (code B ref 54069); Tue, 22 Feb 2022 21:01:01 +0000 Received: (at 54069) by debbugs.gnu.org; 22 Feb 2022 21:00:14 +0000 Received: from localhost ([127.0.0.1]:42758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMcGb-0005ja-Jb for submit@debbugs.gnu.org; Tue, 22 Feb 2022 16:00:13 -0500 Received: from mail-qv1-f54.google.com ([209.85.219.54]:39896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMcGZ-0005iG-62 for 54069@debbugs.gnu.org; Tue, 22 Feb 2022 16:00:11 -0500 Received: by mail-qv1-f54.google.com with SMTP id a1so2788743qvl.6 for <54069@debbugs.gnu.org>; Tue, 22 Feb 2022 13:00:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=cHTCjd6VHvR+zleLdDe2Y29zcWpmUeoY8q7ITWu5Bys=; b=q3AFr3ck0vm4Hp8sC0oO1zxyn1EaEfzA4ZFjAYMio7B/wjV9dRJmUepUya5A7VQOAT IwDNo2A4ZPkuLwu/QvWdU3/btuFBtETih67jX1GXz5ZDiRD7kMhULtptR/QhbmYrsmrr L9Z+VMNFEUcpkChRn9wzt9po96V4sHQb2yaJk/9Tf3r4F1bVnvvQ/0ribqCpLX3OoCT4 CmE1e4wDdY6IrezKq2RQJFgFA97Rt567g9hD2Zv4732NntlEhG3QPHWlrkycEdVU0IgE fx0Png9weTqGkSGrNsIbF0RGLZC6Msnl2N9eKrcKF/LVlnwhVIi2wYPOVaJJ0ZO2e4ND tJzw== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=cHTCjd6VHvR+zleLdDe2Y29zcWpmUeoY8q7ITWu5Bys=; b=Jw1lauQ9HE6+hWqdfiuBkPsbPw+SIiz0Hv1mLkKkJyDh4O/i/BbLXs5AjUWiWySAwT tO6pQuittv2DWxf2hrwqfiaeGF5PlWQllK8WkDLcUaJZoQTNOuMLcRAmM8YC9if5xJjP 97w5Vzf+iJW2QEtIzxGUtRJw9u38/XjKoQ2qgd7H7BeXhpYXnC65ogGiOetvUJYrPlCc aerJ0ABD5GJpGGieG9scXC6iONTpTwF+Am2JNsRJxgufEJDUyvaPtIlp6AI82DM6+TyX 4TDtuJEgCWIbdDt/FvZBZIjZKLBdgXhiw8sYe6OnZggLlc42k85ngpt5UDX2qM3TVa6n 17ow== X-Gm-Message-State: AOAM533JKgnqVgJBDBx+4np/fxFVPgO9AoXcpAi4ud/MCKADRwGRBzBq +m6gM4mE1ZaJJUsIGhgUdcs0jGeK10s= X-Google-Smtp-Source: ABdhPJxUxJ9Nf55+2mJcvwQ6O/iXb5OMdHIBN/4+n843DXFnMLnWVUL5MmN0RwRttslwbfShRTww8w== X-Received: by 2002:a05:6214:5010:b0:42c:f952:6608 with SMTP id jo16-20020a056214501000b0042cf9526608mr20650318qvb.77.1645563605236; Tue, 22 Feb 2022 13:00:05 -0800 (PST) Received: from hurd (dsl-10-149-208.b2b2c.ca. [72.10.149.208]) by smtp.gmail.com with ESMTPSA id r207sm431774qka.67.2022.02.22.13.00.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 13:00:04 -0800 (PST) From: Maxim Cournoyer References: <8uXKUPs7X8nEsyxB7xZHJMEG1553-m9uZKlIht98yyMaoaKhVeQs5dJCWKtsvvLdUKVYFVay6GYodkE9WmKxlG7Es9_fRhdS0aOwdqJIOVs=@protonmail.com> Date: Tue, 22 Feb 2022 16:00:03 -0500 In-Reply-To: <8uXKUPs7X8nEsyxB7xZHJMEG1553-m9uZKlIht98yyMaoaKhVeQs5dJCWKtsvvLdUKVYFVay6GYodkE9WmKxlG7Es9_fRhdS0aOwdqJIOVs=@protonmail.com> (John Kehayias's message of "Tue, 22 Feb 2022 19:34:41 +0000") Message-ID: <875yp6obvw.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) 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" 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=1645563675; 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=cHTCjd6VHvR+zleLdDe2Y29zcWpmUeoY8q7ITWu5Bys=; b=EowEHfFn1twpF10KMb/Ua5ViW+S9u0OqSnez+v2S9C8nEVTub2boEOXACZxuPgivLQTMB8 XFWQcwBdoQbwbotOlwhMZwm2vBJOhp6RroAuCp10QM9+SGs8oyK2tivUiXyd++8fBVG77C zcN8aximuGU2/9U5GnQVN/H4lOwoMyKhme5n0zXREUr1ufkwOI41Uzo2hXbIfymgQYVWdl JX0XEGlAt8IvflQlqcGDAR1wRIZrZ3HxqbQC05Bx1yWO6zJkPeF7RSTZURlwE1nCymX7cC b6DK1OXwFBpGPQgZuDFjX5Ri70laS4s56/YoyZRFLJUNJjd+WI0UNkEyCNuTAA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645563675; a=rsa-sha256; cv=none; b=Ji73bfJe1SPYQFlpGEAhWwpDUmpUbHdvinFpeTJmmoi/jwzYZ08WhBh+pdSgtALG0B0jDi urDp5/eDtLtqTAVW/Db/HpSgbKLhRBVcaXy2/xm0ctOwgIiKLzY7IzRokDVtjN5fjQHs1+ CV3uTzaShdZn7rVb5Va+dB4Hhpjdbv0F70F7BDsWKnDdj1oHRsuMMowqgQVh9KBH7eK2RV IuTdEVJRWZzUvswuoh6LOpXVpahihc9oeauScoDHoc2dCIR1T4EutKZffQ/g6cOV5Fiuos RN4eejyB28PJ1a+6rkGU7A3MUiXELPRk7V2/0Q+dSXqRb303KlsQe45kWfRYJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=q3AFr3ck; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=q3AFr3ck; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: A51FD27D7B X-Spam-Score: -2.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: psRZzX4uDC0S Hi John, John Kehayias writes: > Hi Brendan and Maxim, > > I'm aware of a couple of programs that want to use the plain > pci.ids. True, they could use pciutils for that, but pci.ids is very > simple, just a list of hardware ids paired with manufacturer/device > names. While we can see if upstream for these programs will move to > using pciutils, I could see reasons for not wanting the dependency or > wanting more current info (especially in Guix where we would only > update pciutils on core-updates). > > So I would find the separate hwdata package useful for a few packages > I have, like mangohud (pending review) and corectrl (not submitted > yet). I have to check, but they might only want pci.ids and not > anything in pciutils anyway. Also, hwdata provides more data than just > pci.ids, which we don't have packaged for Guix as far as I know. > > As for pciutils itself, I don't have any strong feelings on its > pci.ids. Unbundling the included (old) info and using a hwdata package > as input makes sense to me and is more flexible. On core-updates we > can make that change for pciutils, where at some point we'd want to > freeze what hwdata version it uses. Meanwhile, hwdata can be updated > regularly (looks like monthly releases) for up-to-date data. > > I think this would keep pciutils small (zipped pci.ids), > unbundled/more up to date, and give us the hwdata as a useful package > to use. I think your proposition makes a lot of sense; the handful of applications wanting raw pci.ids can have it via hwdata, while our pciutils package can take (a frozen/fixed variant of hwdata) as an input to a get a newer yet compressed pci.ids.gz file. Seems a win/win solution to me! Thank you, Maxim