[osinfo-db-tools PATCH 0/1] RFC: Introduce "--latest" to osinfo-db-import

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

 



This patches introduces the "--latest" option to osinfo-db-import, which
can be used to download and install the latest officially released
osinfo-db.

The approach taken, at least in this RFC, is to have a file which
contains the version and URL of the latest osinfo-db. Whether we'd stick
to the very simple format used or change it to something else ... it's
totally open for discussion. For testing purposes, the file is part of
my fedorapeople's space but in the final version of the patch I'd like
to fetch that from libosinfo.org.

The file is small enough that (hopefully) wouldn't cause traffic
problems on libosinfo's website and adding libosinfo.org in our source
code seems way more sane than adding "pagure"/"gitlab" ...

In order to test those patches, you'd need to have the following series
applied:
https://www.redhat.com/archives/libosinfo/2018-October/msg00046.html

Here you can find a branch on my gitlab which contains all the patches:
https://gitlab.com/fidencio/osinfo-db-tools/tree/wip/import_latest

Fabiano Fidêncio (1):
  import: Introduce "--latest" option

 tools/osinfo-db-import.c | 155 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 155 insertions(+)

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