GNU bug report logs -
#54069
[PATCH 0/2] gnu: pciutils: Unbundle pci.ids and use latest.
Previous Next
Reported by: Brendan Tildesley <mail <at> brendan.scot>
Date: Sun, 20 Feb 2022 09:55:02 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 54069 <at> debbugs.gnu.org (full text, mbox):
> On 02/21/2022 8:40 PM Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
>
>
> Hi,
>
> Brendan Tildesley <mail <at> brendan.scot> 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
This bug report was last modified 3 years and 63 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.