[Libosinfo] [libosinfo PATCH 0/3] Make osinfo-query aware of Os Variants
Fabiano Fidêncio
fidencio at redhat.com
Mon Apr 15 07:58:19 UTC 2019
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 at 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
More information about the Libosinfo
mailing list