[Libosinfo] [osinfo-db/libosinfo PATCH v2 0/5] Add support to images

Fabiano Fidêncio fidencio at redhat.com
Thu Nov 1 12:45:05 UTC 2018


This patchset adds support to images entries as part of the "os" entry
in order to allow Apps to have access to the Images URLs (and that's the
only usage planned for now).

An example of how the XML will look like is:
<os>
  <image arch="x86_64">
    <variant id="cloud"/>
    <url>https://download/foo/bar.img</url>
  </image>
</os>

- Changes since v1:
  - Dropped the osinfo_db_image_create_from_location() and
    osinfo_db_identify_image() APIs as we've agreed to leave those bits
    for libguestfs :-) Consequently, libguestfs dependancy has been
    dropped.
  - https://www.redhat.com/archives/libosinfo/2018-October/msg00153.html

* osinfo-db:
  Fabiano Fidêncio (1):
    schema: Add support for pre-installed images

   data/schema/osinfo.rng.in | 24 ++++++++++++++++++++++++
   1 file changed, 24 insertions(+)

*libosinfo:
  Fabiano Fidêncio (4):
    Introduce OsinfoImage object
    Introduce OsinfoImageList object
    os: Introduce APIs to deal with images
    loader: Load Images information

   osinfo/Makefile.am        |   4 +
   osinfo/libosinfo.syms     |   9 ++
   osinfo/osinfo.h           |   2 +
   osinfo/osinfo_image.c     | 225 ++++++++++++++++++++++++++++++++++++++
   osinfo/osinfo_image.h     |  89 +++++++++++++++
   osinfo/osinfo_imagelist.c |  90 +++++++++++++++
   osinfo/osinfo_imagelist.h |  77 +++++++++++++
   osinfo/osinfo_loader.c    |  40 +++++++
   osinfo/osinfo_os.c        |  37 +++++++
   osinfo/osinfo_os.h        |   4 +
   po/POTFILES.in            |   1 +
   11 files changed, 578 insertions(+)
   create mode 100644 osinfo/osinfo_image.c
   create mode 100644 osinfo/osinfo_image.h
   create mode 100644 osinfo/osinfo_imagelist.c
   create mode 100644 osinfo/osinfo_imagelist.h

-- 
2.19.1




More information about the Libosinfo mailing list