This series contains the machinery needed for loading, adding, and retrieving information about firmware support of a specific OS. The osinfo-db part of the series can be seen here: https://www.redhat.com/archives/libosinfo/2019-May/msg00071.html Fabiano Fidêncio (7): firmware: Add OsinfoFirmware tests: Add test-firmware firmwarelist: Add OsinfoFirmwareList tests: Add test-firmwarelist os: Add support to Firmware loader: Load Firmwares to OSes test-firmware: Add tests .gitignore | 2 + docs/reference/Libosinfo-docs.xml | 2 + osinfo/Makefile.am | 4 + osinfo/libosinfo.syms | 10 + osinfo/osinfo.h | 2 + osinfo/osinfo_firmware.c | 202 +++++++++++++++++ osinfo/osinfo_firmware.h | 73 ++++++ osinfo/osinfo_firmwarelist.c | 79 +++++++ osinfo/osinfo_firmwarelist.h | 67 ++++++ osinfo/osinfo_loader.c | 45 ++++ osinfo/osinfo_os.c | 96 ++++++++ osinfo/osinfo_os.h | 3 + po/POTFILES.in | 1 + tests/Makefile.am | 10 + .../os/libosinfo.org/test-db-firmware.xml | 16 ++ .../test-os-firmwares-inheritance-1.xml | 12 + .../test-os-firmwares-inheritance-2.xml | 10 + .../test-os-firmwares-inheritance-3.xml | 12 + .../test-os-firmwares-inheritance-4.xml | 10 + .../test-os-firmwares-inheritance-5.xml | 12 + .../test-os-firmwares-inheritance-6.xml | 10 + tests/test-firmware.c | 88 ++++++++ tests/test-firmwarelist.c | 209 ++++++++++++++++++ tests/test-os.c | 118 ++++++++++ 24 files changed, 1093 insertions(+) create mode 100644 osinfo/osinfo_firmware.c create mode 100644 osinfo/osinfo_firmware.h create mode 100644 osinfo/osinfo_firmwarelist.c create mode 100644 osinfo/osinfo_firmwarelist.h create mode 100644 tests/dbdata/os/libosinfo.org/test-db-firmware.xml create mode 100644 tests/dbdata/os/libosinfo.org/test-os-firmwares-inheritance-1.xml create mode 100644 tests/dbdata/os/libosinfo.org/test-os-firmwares-inheritance-2.xml create mode 100644 tests/dbdata/os/libosinfo.org/test-os-firmwares-inheritance-3.xml create mode 100644 tests/dbdata/os/libosinfo.org/test-os-firmwares-inheritance-4.xml create mode 100644 tests/dbdata/os/libosinfo.org/test-os-firmwares-inheritance-5.xml create mode 100644 tests/dbdata/os/libosinfo.org/test-os-firmwares-inheritance-6.xml create mode 100644 tests/test-firmware.c create mode 100644 tests/test-firmwarelist.c -- 2.21.0 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo