[libosinfo PATCH v2 0/8] Use "all" arch as a fallback for media/tree detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series has been written considering:
- https://www.redhat.com/archives/libosinfo/2019-February/msg00247.html

Let's assume that trees and medias set with architecture "all" will be
treated as fallback, always.

https://gitlab.com/libosinfo/libosinfo/issues/20

Fabiano Fidêncio (8):
  db: Rename tree to treeinfo in guess_os_from_tree()
  db: Rename os_* to os_treeinfo_* in guess_os_from_tree()
  db: Consider the tree arch when guessing an OS from tree
  db: Deal with "all" tree architectures
  test-db: Add test for guessing tree from OS
  db: Consider the media arch when guess an OS from media
  db: Deal with "all" media architecture
  test-db: Add test to cover identifying a media with "unknown" arch

 osinfo/osinfo_db.c                            | 184 ++++++++++++------
 .../dbdata/os/libosinfo.org/test-db-media.xml |  14 ++
 .../dbdata/os/libosinfo.org/test-db-tree.xml  |  25 +++
 tests/test-db.c                               |  78 ++++++++
 4 files changed, 237 insertions(+), 64 deletions(-)
 create mode 100644 tests/dbdata/os/libosinfo.org/test-db-tree.xml

-- 
2.20.1

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux