[Libosinfo] [libosinfo PATCH 0/3] Add, test and use osinfo_tree_has_treeinfo()

Fabiano Fidêncio fidencio at redhat.com
Mon Dec 10 12:37:34 UTC 2018


As not all tree entries of osinfo-db have treeinfo, let's add a new
method to get this info.

The third patch "db: improve _guess_os_from_tree checks" basically
obsoletes https://www.redhat.com/archives/libosinfo/2018-December/msg00003.html

Fabiano Fidêncio (3):
  tree: Add osinfo_tree_has_treeinfo()
  test-os: Cover osinfo_tree_has_treeinfo()
  db: improve _guess_os_from_tree checks

 osinfo/libosinfo.syms                         |  2 +
 osinfo/osinfo_db.c                            |  3 ++
 osinfo/osinfo_loader.c                        | 25 ++++++++----
 osinfo/osinfo_tree.c                          | 39 +++++++++++++++++++
 osinfo/osinfo_tree.h                          |  3 ++
 .../dbdata/os/fedoraproject.org/fedora-16.xml |  4 ++
 tests/test-os.c                               | 29 ++++++++++----
 7 files changed, 89 insertions(+), 16 deletions(-)

-- 
2.19.1




More information about the Libosinfo mailing list