[libosinfo PATCH 0/3] Make osinfo-query aware of Os Variants

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

 



Let's make osinfo-query able to also display the os variants of a
specific os by passing "-f variants".

By doing this we can have the os variants displayed as:
fidencio@laerte ~/src/upstream/libosinfo $ ./tools/osinfo-query os -f short-id,name,vendor,id,variants name="Fedora 29"
 Short ID             | Name                                               | Vendor                    | ID                                       | OS Variants
----------------------+----------------------------------------------------+---------------------------+------------------------------------------+-------------------------------------------------------------------------------------------
 fedora29             | Fedora 29                                          | Fedora Project            | http://fedoraproject.org/fedora/29       | Fedora 29 Workstation, Fedora 29 Server, Fedora 29 Everything

Details about the implementation can be seen in each one of the patches.

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

Fabiano Fidêncio (3):
  osinfo-query: Add osinfo_os_list_func to OsinfoLabel
  osinfo-query: Add real_prop to OsinfoLabel
  osinfo-query: Print os variants information

 tools/osinfo-query.c | 163 +++++++++++++++++++++++++++----------------
 1 file changed, 104 insertions(+), 59 deletions(-)

-- 
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