[Libosinfo] [PATCH db-tools 3/3] osinfo-db-export: generate filename if none is given

2016-07-18 Thread Daniel P. Berrange
Currently if no filename is given to the export command the archive will be written to stdout, which is less than helpful as default behaviour. Change it to generate a suitable default filename. Export to stdout can still be requested explicitly by giving a filename of '-'. Signed-off-by: Daniel P

[Libosinfo] [PATCH db-tools 1/3] osinfo-db-export: remove '-' in automatic version

2016-07-18 Thread Daniel P. Berrange
Replace automatic version "2016-07-18" with "20160708" since "-" is not a valid character in version numbers for RPM and dates sort correctly without "-" being needed. Signed-off-by: Daniel P. Berrange --- tools/osinfo-db-export.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -

[Libosinfo] [PATCH db-tools 0/3] Misc improvements to osinfo-db-export

2016-07-18 Thread Daniel P. Berrange
Just a few small changes I made while testing this with the new osinfo-db split database. Daniel P. Berrange (3): osinfo-db-export: remove '-' in automatic version osinfo-db-export: embed a file called "VERSION" osinfo-db-export: generate filename if none is given tools/osinfo-db-export.c

[Libosinfo] [PATCH db-tools 2/3] osinfo-db-export: embed a file called "VERSION"

2016-07-18 Thread Daniel P. Berrange
Although the version can be inferred from the archive filename, once extracted this info is not available. Populate the archive with a file called VERSION which will be extracted into the root of the DB directory. Signed-off-by: Daniel P. Berrange --- tools/osinfo-db-export.c | 88 ++

[Libosinfo] [PATCH] Fix build system after creating initial repository

2016-07-18 Thread Daniel P. Berrange
The initial repository state was cloned from libosinfo GIT at revision: commit dd68d8ccb0abb9cab7324da1b3a706dbf158870b Author: Daniel P. Berrange Date: Mon Jul 18 11:18:24 2016 +0100 Fix mingw DLL version after bump to 1.0.0 It was initialized using the following commands: $ git

[Libosinfo] [PATCH] Setup new osinfo-db GIT repo for datbase

2016-07-18 Thread Daniel P. Berrange
This series of 1 patch introduces the new osinfo-db GIT repo for the libosinfo database. See the patch commit message for details of how I created the repo while keeping existing GIT history intact. The new repo is visible here: https://gitlab.com/libosinfo/osinfo-db Or clonable via ssh with