Re: [Libosinfo] [v2 3/5] fedora,script: Install qemu-guest-agent

2015-11-16 Thread Daniel P. Berrange
On Fri, Nov 13, 2015 at 01:03:30PM -0500, Zeeshan Ali (Khattak) wrote: > On Fri, Nov 13, 2015 at 11:41 AM, Daniel P. Berrange > wrote: > > On Fri, Nov 13, 2015 at 11:39:49AM -0500, Zeeshan Ali (Khattak) wrote: > >> On Fri, Nov 13, 2015 at 11:19 AM, Daniel P. Berrange >

Re: [Libosinfo] RFC: Splitting off database into separate package

2015-11-16 Thread Daniel P. Berrange
On Sun, Nov 15, 2015 at 02:22:47AM -0600, Yang Yu wrote: > I am kinda late to the party. > > This is indeed a much needed feature. Many distros have libosinfo > package 6 mon+ old (missing recent OS releases). > > - Is XML the format we want to use long term ? > I agree with switching to json if

[Libosinfo] [PATCH] Switch to 0.3.0 for next release

2015-12-16 Thread Daniel P. Berrange
Since we have had a major change in the way we process the libosinfo database files, this would be a good time to switch to 0.3.0 for release numbers --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 81fcc0a..4154134 100644 --- a

[Libosinfo] [PATCH] don't include autogenerated enum files in dist

2016-01-13 Thread Daniel P. Berrange
gain cause them to appear in $builddir. So the real fix is stop including the enum files in the dist Signed-off-by: Daniel P. Berrange --- osinfo/Makefile.am | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/osinfo/Makefile.am b/osinfo/Makefile.am ind

Re: [Libosinfo] [PATCH] don't include autogenerated enum files in dist

2016-01-14 Thread Daniel P. Berrange
On Wed, Jan 13, 2016 at 10:13:58PM +, Zeeshan Ali (Khattak) wrote: > Hi, > > Patch looks fine to me but I failed to apply it on current git master > nor 0.3.0 tag. Opps, I should say it applies after I revert your revert of my previous patch Regards, Daniel -- |: http://berrange.com -

Re: [Libosinfo] [libosinfo PATCH] Update CD URLs to latest Debian Jessie point release

2016-02-04 Thread Daniel P. Berrange
On Thu, Feb 04, 2016 at 12:50:29PM +0100, Guido Günther wrote: > --- > data/os/debian.org/debian-8.xml.in | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/data/os/debian.org/debian-8.xml.in > b/data/os/debian.org/debian-8.xml.in > index 146089a..e143dd3 100644 > --- a

Re: [Libosinfo] [libosinfo PATCH] Update CD URLs to latest Debian Jessie point release

2016-02-04 Thread Daniel P. Berrange
On Thu, Feb 04, 2016 at 02:36:52PM +0100, Guido Günther wrote: > Hi Daniel, > On Thu, Feb 04, 2016 at 01:21:38PM +, Daniel P. Berrange wrote: > > On Thu, Feb 04, 2016 at 12:50:29PM +0100, Guido Günther wrote: > > > --- > > > data/os/debian.org/debian-8.xml.in | 4

Re: [Libosinfo] [PATCH] device: add virtio-gpu

2016-02-26 Thread Daniel P. Berrange
On Fri, Feb 26, 2016 at 02:23:24PM +0100, Marc-André Lureau wrote: > From: Marc-André Lureau > > virtio-gpu is a non-legacy device, so device_id is always 0x10 + 0x1040. > > Signed-off-by: Marc-André Lureau > --- > data/device/pcisig.com/Makefile.am | 1 + > data/device/pcisig

[Libosinfo] Moving GIT repo to gitlab.com

2016-03-03 Thread Daniel P. Berrange
Hi Folks, Currently the libosinfo master git repository is on the Fedora hosted git server. As we split out the core database and tools from the GObject base library we're going to need to create new git repos. While I could do so on Fedora, it is rather tedious because it is not self-service, it

Re: [Libosinfo] [PATCH] Fix build with older GCC

2016-03-03 Thread Daniel P. Berrange
On Thu, Mar 03, 2016 at 05:07:08PM +0300, Roman Bogorodskiy wrote: > Roman Bogorodskiy wrote: > > > Build with older gcc fails with: > > > > CC libosinfo_1_0_la-osinfo_avatar_format.lo > > In file included from ../osinfo/osinfo_os.h:30, > > from ../osinfo/osinfo.h:55, >

Re: [Libosinfo] Moving GIT repo to gitlab.com

2016-03-03 Thread Daniel P. Berrange
On Thu, Mar 03, 2016 at 03:11:10PM +0100, Christophe Fergeau wrote: > On Thu, Mar 03, 2016 at 02:57:09PM +0100, Fabiano Fidêncio wrote: > > On Thu, Mar 3, 2016 at 2:55 PM, Zeeshan Ali (Khattak) > > wrote: > > > Hi Daniel, > > > > > > Yeah, I have no objections on moving to gitlab. > > > > Same he

[Libosinfo] Splitting off the database (and tools)

2016-03-03 Thread Daniel P. Berrange
I've talked about splitting off the database several times in the past, and I think we're now in a position to do exactly that. The two core goals of splitting off the database are - Make it easy to issue updates to the DB without updating the code. This will help LTS distros which are often

Re: [Libosinfo] Moving GIT repo to gitlab.com

2016-03-03 Thread Daniel P. Berrange
On Thu, Mar 03, 2016 at 01:38:24PM +, Daniel P. Berrange wrote: > So I'm suggesting we immediately migrate to gitlab.com. Assuming that's > fine with current committers, I'll setup the project org & import hte > git repo. Each committer would just have to create the

Re: [Libosinfo] [PATCH] fedora,script: Allow passwordless SSH

2016-04-22 Thread Daniel P. Berrange
On Fri, Apr 22, 2016 at 12:58:40PM +0100, Zeeshan Ali (Khattak) wrote: > If either user or admin accounts are passwordless, configure SSH server > to allow empty passwords so these accounts can login through SSH. > --- > .../fedoraproject.org/fedora-kickstart-desktop.xml.in | 6 > ++

Re: [Libosinfo] [PATCH] fedora,script: Allow passwordless SSH

2016-04-22 Thread Daniel P. Berrange
On Fri, Apr 22, 2016 at 01:17:24PM +0100, Zeeshan Ali (Khattak) wrote: > HI Daniel, > > On Fri, Apr 22, 2016 at 1:00 PM, Daniel P. Berrange > wrote: > > On Fri, Apr 22, 2016 at 12:58:40PM +0100, Zeeshan Ali (Khattak) wrote: > >> If either user or admin accounts are

Re: [Libosinfo] [PATCH] media: Fix misplaced parenthesis in strncmp use

2016-05-11 Thread Daniel P. Berrange
On Wed, May 11, 2016 at 02:26:27PM +0200, Christophe Fergeau wrote: > Due to a misplaced parenthesis, bootable media detection was doing > strncmp(.., .., sizeof(..) != 0) > instead of > strncmp(.., .., sizeof(..)) != 0 > > This means we were comparing 1 character from BOOTABLE_TAG rather than > t

[Libosinfo] [osinfo-db-tools 0/2] Start new osinfo-db-tools package

2016-05-13 Thread Daniel P. Berrange
.0.0, since it really is pointless to live for years with a version number < 1.0.0, when the package is already being shipped & used in enterprise distros. Daniel P. Berrange (2): Fix build system after creating initial repository Import trimmed translations from libosinfo project

[Libosinfo] [PATCH] Remove osinfo-db-validate tool

2016-05-13 Thread Daniel P. Berrange
A new osinfo-db-tools package has been forked off from the libosinfo package. This contains the osinfo-db-validate tool, so it is no longer neccessary to include it here. Signed-off-by: Daniel P. Berrange --- .gitignore | 3 - libosinfo.spec.in | 3 +- mingw

[Libosinfo] [osinfo-db-tools 1/2] Fix build system after creating initial repository

2016-05-13 Thread Daniel P. Berrange
that were deleted, and rename from libosinfo to osinfo-db-tools. Currently this module contains a single command osinfo-db-validate It will later be augmented with tools for importing and exporting database archives. Signed-off-by: Daniel P. Berrange --- .gitignore

Re: [Libosinfo] [osinfo-db-tools 0/2] Start new osinfo-db-tools package

2016-05-13 Thread Daniel P. Berrange
On Fri, May 13, 2016 at 04:24:52PM +0100, Zeeshan Ali (Khattak) wrote: > Hi Daniel, > > On Fri, May 13, 2016 at 12:56 PM, Daniel P. Berrange > wrote: > > As mentioned previously we need to split off the database > > from the main libosinfo library. In order todo so, w

Re: [Libosinfo] [osinfo-db-tools 0/2] Start new osinfo-db-tools package

2016-05-13 Thread Daniel P. Berrange
On Fri, May 13, 2016 at 05:35:15PM +0100, Zeeshan Ali (Khattak) wrote: > Hi Daniel, > > Thanks for the very long explanation (I especially appreciated the > ascii-art diagram) but I don't quite agree. > > While I don't see any harm in -db not depending on libosinfo, I really > don't see the benef

Re: [Libosinfo] [osinfo-db-tools 0/2] Start new osinfo-db-tools package

2016-05-19 Thread Daniel P. Berrange
On Fri, May 13, 2016 at 11:13:02PM +0100, Zeeshan Ali (Khattak) wrote: > On Fri, May 13, 2016 at 5:56 PM, Daniel P. Berrange > wrote: > > On Fri, May 13, 2016 at 05:35:15PM +0100, Zeeshan Ali (Khattak) wrote: > >> Hi Daniel, > >> > >> Thanks for

[Libosinfo] [PATCH db-tools 0/2] Add tools for database import/export

2016-06-16 Thread Daniel P. Berrange
at) since it has unlimited filename/path lengths support, and the 'xz' compression scheme since it is by far the best at compressing these XML files. Daniel P. Berrange (2): Add osinfo-db-import tool for unpacking an osinfo database archive Add osinfo-db-export tool f

[Libosinfo] [PATCH db-tools 2/2] Add osinfo-db-export tool for packing an osinfo database archive

2016-06-16 Thread Daniel P. Berrange
-06-15/hypervisors/kvm.xml ...snip... Signed-off-by: Daniel P. Berrange --- .gitignore| 3 + mingw-osinfo-db-tools.spec.in | 2 + osinfo-db-tools.spec.in | 2 + po/POTFILES.in| 1 + tools/Makefile.am | 10 +- tools/osinfo-db-export.c

[Libosinfo] [PATCH db-tools 1/2] Add osinfo-db-import tool for unpacking an osinfo database archive

2016-06-16 Thread Daniel P. Berrange
/devices/qemu-usb.xml osinfo-db-import: r osinfo-db-2016-06-15/devices/virtio-pci.xml osinfo-db-import: r osinfo-db-2016-06-15/devices/xen.xml ...snip... Signed-off-by: Daniel P. Berrange --- .gitignore| 3 + configure.ac | 1 + mingw-osinfo-db

[Libosinfo] [PATCH db-tools 03/11] Add a new osinfo-db-path tool for reporting db locations

2016-06-28 Thread Daniel P. Berrange
/share/libosinfo/db $ osinfo-db-path --user /home/berrange/.config/libosinfo/db Signed-off-by: Daniel P. Berrange --- .gitignore| 3 + mingw-osinfo-db-tools.spec.in | 2 + osinfo-db-tools.spec.in | 2 + po/POTFILES.in| 1 + tools/Makefile.am

[Libosinfo] [PATCH db-tools 04/11] Find RNG schema in default database locations

2016-06-28 Thread Daniel P. Berrange
With the split out database, the RNG schema will no longer be installed by the code, instead it will be distributed as part of the database. Thus we should look in the database locations to find the schema. Signed-off-by: Daniel P. Berrange --- po/POTFILES.in | 1 + tools

[Libosinfo] [PATCH db-tools 06/11] Set a valid error domain for GError

2016-06-28 Thread Daniel P. Berrange
GLib will print a warning if 0 is passed for the GQuark error domain when setting a GError. Define a valid error domain quark and use it. Signed-off-by: Daniel P. Berrange --- tools/osinfo-db-util.c | 7 ++- tools/osinfo-db-util.h | 3 +++ tools/osinfo-db-validate.c | 14

[Libosinfo] [PATCH db-tools 05/11] Change osinfo-db-validate to default to a standard location

2016-06-28 Thread Daniel P. Berrange
Instead of requiring a list of paths to be passed in, default to validating files from the standard database locations. Signed-off-by: Daniel P. Berrange --- tools/osinfo-db-validate.c | 151 ++--- 1 file changed, 128 insertions(+), 23 deletions(-) diff

[Libosinfo] [PATCH db-tools 11/11] Fix source link in the RPM spec

2016-06-28 Thread Daniel P. Berrange
Signed-off-by: Daniel P. Berrange --- osinfo-db-tools.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osinfo-db-tools.spec.in b/osinfo-db-tools.spec.in index 155ede9..afe0336 100644 --- a/osinfo-db-tools.spec.in +++ b/osinfo-db-tools.spec.in @@ -6,7 +6,7 @@ Version

[Libosinfo] [PATCH db-tools 01/11] Share code for getting database path locations

2016-06-28 Thread Daniel P. Berrange
Both the osinfo-db-import and osinfo-db-export tools have the same code for getting the database path locations. Pull it out into a osinfo-db-util.c file for sharing. Signed-off-by: Daniel P. Berrange --- tools/Makefile.am| 9 +++- tools/osinfo-db-export.c | 80

[Libosinfo] [PATCH db-tools 00/11] Misc changes for split DB toolchain

2016-06-28 Thread Daniel P. Berrange
Daniel P. Berrange (11): Share code for getting database path locations Fix description of import/export commands Add a new osinfo-db-path tool for reporting db locations Find RNG schema in default database locations Change osinfo-db-validate to default to a standard location Set a valid

[Libosinfo] [PATCH db-tools 02/11] Fix description of import/export commands

2016-06-28 Thread Daniel P. Berrange
The command line option help was reporting the wrong description for the import/export commands due to cut+paste mistake. Signed-off-by: Daniel P. Berrange --- tools/osinfo-db-export.c | 2 +- tools/osinfo-db-import.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools

[Libosinfo] [PATCH db-tools 07/11] Remove print of filenames when --verbose is not used

2016-06-28 Thread Daniel P. Berrange
The osinfo-db-validate command has a --verbose arg to request printing of filenames as they are validated. Remove the stray g_print() that duplicated this Signed-off-by: Daniel P. Berrange --- tools/osinfo-db-validate.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/osinfo-db

[Libosinfo] [PATCH db-tools 09/11] Explicitly set timestamps on entries in created tar file

2016-06-28 Thread Daniel P. Berrange
Always set a timestamp on entries in the created tar file to reflect the time at which the tar was created. This ensures when people import new versions of the database, the files get newer timestamps. Signed-off-by: Daniel P. Berrange --- tools/osinfo-db-export.c | 8 1 file changed

[Libosinfo] [PATCH db-tools 08/11] Fix swapped file/directory permissions in tar file

2016-06-28 Thread Daniel P. Berrange
Plain files were given mode 0755 while dirs got 0644, the exact opposite of what they should have. Signed-off-by: Daniel P. Berrange --- tools/osinfo-db-export.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/osinfo-db-export.c b/tools/osinfo-db-export.c index

[Libosinfo] [PATCH db-tools 10/11] Filter list of files included in created tar

2016-06-28 Thread Daniel P. Berrange
Don't include hidden files or editor backup files in the exported tar. Also whitelist to only include files with a .xml or .rng suffix. This facilitates running against a local git repo which may have other files such as the automake/autoconf .in and .am files. Signed-off-by: Daniel P. Ber

[Libosinfo] ANNOUNCE: libosinfo 0.3.1 release

2016-07-01 Thread Daniel P. Berrange
I am happy to announce a new release of libosinfo, version 0.3.1: https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-0.3.1.tar.gz This is signed with key DAF3 A6FD B26B 6291 2D0E 8E3F BE86 EBB4 1510 4FDF (4096R) https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-0.3.1.tar.gz

Re: [Libosinfo] [PATCH 1/2] device: add virtio-gpu

2016-07-05 Thread Daniel P. Berrange
On Tue, Jul 05, 2016 at 01:18:44PM +0200, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > virtio-gpu is a non-legacy device, so device_id is always 0x10 + 0x1040. By non-legacy, you mean it is always a virtio-1.0 device ? We've previously discussed that we probably need to add

[Libosinfo] [PATCH] Add missing virtio PCI devices

2016-07-05 Thread Daniel P. Berrange
filesystem 1050 Virtio GPU 1052 Virtio input Of which, only 1001, 1001, 1002 and 1009 were recorded in libosinfo. They would have appeared via pci.ids file loading, but they would have lacked friendly names. Signed-off-by: Daniel P. Berrange --- configure.ac

Re: [Libosinfo] [PATCH 1/2] device: add virtio-gpu

2016-07-05 Thread Daniel P. Berrange
On Tue, Jul 05, 2016 at 08:13:10AM -0400, Marc-André Lureau wrote: > Hi > > - Original Message - > > On Tue, Jul 05, 2016 at 01:18:44PM +0200, marcandre.lur...@redhat.com wrote: > > > From: Marc-André Lureau > > > > > > virtio-gpu is a non-legacy device, so device_id is always 0x10 + 0x1

Re: [Libosinfo] [PATCH 2/2] fedora: Add F24 info & testcases

2016-07-05 Thread Daniel P. Berrange
On Tue, Jul 05, 2016 at 01:18:45PM +0200, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > Fedora 24 with virtio-gpu support. > > Signed-off-by: Marc-André Lureau > --- > data/os/fedoraproject.org/fedora-24.xml.in | 171 > + > data/os/fedoraproject.

[Libosinfo] [PATCH] fedora: record when virtio devices were made available

2016-07-05 Thread Daniel P. Berrange
-off-by: Daniel P. Berrange --- data/os/fedoraproject.org/fedora-10.xml.in | 1 + data/os/fedoraproject.org/fedora-17.xml.in | 4 data/os/fedoraproject.org/fedora-23.xml.in | 12 data/os/fedoraproject.org/fedora-9.xml.in | 3 +++ 4 files changed, 20 insertions(+) diff --git a

Re: [Libosinfo] [PATCH db-tools 00/11] Misc changes for split DB toolchain

2016-07-05 Thread Daniel P. Berrange
Ping, would love a review on this series, as its a pre-requisite for being able to split off the OS database. On Tue, Jun 28, 2016 at 04:52:26PM +0100, Daniel P. Berrange wrote: > This series contains a bunch of small-ish patches doing > random fixes and enhancements to the osinfo-db

Re: [Libosinfo] [PATCH 2/2] fedora: Add F24 info & testcases

2016-07-07 Thread Daniel P. Berrange
On Wed, Jul 06, 2016 at 11:45:45AM +0200, Christophe Fergeau wrote: > On Tue, Jul 05, 2016 at 02:31:41PM +0100, Daniel P. Berrange wrote: > > On Tue, Jul 05, 2016 at 01:18:45PM +0200, marcandre.lur...@redhat.com wrote: > > > From: Marc-André Lureau > > > > > &g

Re: [Libosinfo] [PATCH] Add missing virtio PCI devices

2016-07-07 Thread Daniel P. Berrange
On Wed, Jul 06, 2016 at 12:32:18PM +0200, Marc-André Lureau wrote: > Hi > > On Tue, Jul 5, 2016 at 2:48 PM, Daniel P. Berrange > wrote: > > We were missing virtio-rng and virtio-scsi, as well as > > all the virtio 1.0 device variants, which have different > > PC

Re: [Libosinfo] [PATCH 2/2] fedora: Add F24 info & testcases

2016-07-07 Thread Daniel P. Berrange
On Thu, Jul 07, 2016 at 06:01:41AM -0400, Marc-André Lureau wrote: > Hi > > - Original Message - > > On Wed, Jul 06, 2016 at 11:45:45AM +0200, Christophe Fergeau wrote: > > > On Tue, Jul 05, 2016 at 02:31:41PM +0100, Daniel P. Berrange wrote: > > > >

Re: [Libosinfo] [PATCH db-tools 04/11] Find RNG schema in default database locations

2016-07-08 Thread Daniel P. Berrange
On Wed, Jul 06, 2016 at 01:28:31PM +0200, Fabiano Fidêncio wrote: > On Tue, Jun 28, 2016 at 5:52 PM, Daniel P. Berrange > wrote: > > With the split out database, the RNG schema will no longer > > be installed by the code, instead it will be distributed > > as part of the

Re: [Libosinfo] [PATCH db-tools 00/11] Misc changes for split DB toolchain

2016-07-08 Thread Daniel P. Berrange
On Wed, Jul 06, 2016 at 01:29:55PM +0200, Fabiano Fidêncio wrote: > On Tue, Jul 5, 2016 at 6:14 PM, Fabiano Fidêncio wrote: > > On Tue, Jul 5, 2016 at 4:04 PM, Daniel P. Berrange > > wrote: > >> Ping, would love a review on this series, as its a pre-requisite > >

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

2016-07-18 Thread Daniel P. Berrange
already have osinfo-db installed. Daniel P. Berrange (1): Fix build system after creating initial repository .gitignore | 109 +--- COPYING| 681 + COPYING.LIB

[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

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

[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 db-tools 3/3] osinfo-db-export: generate filename if none is given

2016-07-18 Thread Daniel P. Berrange
by: Daniel P. Berrange --- tools/osinfo-db-export.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/tools/osinfo-db-export.c b/tools/osinfo-db-export.c index a789dfe..0d6d060 100644 --- a/tools/osinfo-db-export.c +++ b/tools/osinfo-db-export.c @@ -410,7 +410,7 @@

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

[Libosinfo] [PATCH 4/4] Remove database files

2016-07-29 Thread Daniel P. Berrange
Remove the database files and add a dependancy on the osinfo-db RPM Signed-off-by: Daniel P. Berrange --- NB, I've deleted almost all the diff contents as it is not interesting to see 100's of deleted files in a multi-MB sized email :-) Makefile.am

[Libosinfo] [PATCH 3/4] loader: update to comply with new database install location

2016-07-29 Thread Daniel P. Berrange
wishing to install local data for use by their applications Adapt to use those, but include temporary support for looking at the legacy local & user directory locations, and the OSINFO_DATA_DIR env variable for back-compat. Signed-off-by: Daniel P. Berrange --- osinfo/Makefile.am

[Libosinfo] [PATCH 0/4] Convert over to use standalone osinfo DB

2016-07-29 Thread Daniel P. Berrange
This series of patches does the switch over to use the standalone osinfo database. This involves removing the database files, removing osinfo-db-validate, and updating the osinfo loader to look in the new database locations. Daniel P. Berrange (4): Assume availability of gobject introspection

[Libosinfo] [PATCH 1/4] Assume availability of gobject introspection during RPM build

2016-07-29 Thread Daniel P. Berrange
The gobject introspection support is available for all currently targetted platforms, so remove RPM conditionals. Signed-off-by: Daniel P. Berrange --- libosinfo.spec.in | 24 +--- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/libosinfo.spec.in b

[Libosinfo] [PATCH 2/4] Remove osinfo-db-validate tool

2016-07-29 Thread Daniel P. Berrange
Remove the osinfo-db-validate tool which is now available via osinfo-db-tools. Add a RPM dep on osinfo-db-tools to pull it in for upgradability. Signed-off-by: Daniel P. Berrange --- libosinfo.spec.in | 3 +- mingw-libosinfo.spec.in| 4 +- po/POTFILES.in | 1

Re: [Libosinfo] [PATCH 3/4] loader: update to comply with new database install location

2016-08-05 Thread Daniel P. Berrange
On Fri, Aug 05, 2016 at 01:42:09PM +0200, Christophe Fergeau wrote: > Hey, > > On Fri, Jul 29, 2016 at 11:21:26AM +0100, Daniel P. Berrange wrote: > > The new database locations are > > > > - System location > > > > This is determined by the env var

[Libosinfo] [PATCH] configure: fix accidental break in soname

2016-08-10 Thread Daniel P. Berrange
The change in version from 0.3.0 to 1.0.0 triggered a latent bug in our code which sets the library soname. This meant we created libosinfo-1.0.so.1 instead of libosinfo-1.0.so.0 Pull in the fix from libvirt which is where the original logic was copied from. Signed-off-by: Daniel P. Berrange

Re: [Libosinfo] [PATCH 0/6] Add Mageia[3-5]+generic support

2016-08-11 Thread Daniel P. Berrange
On Wed, Aug 10, 2016 at 06:19:15PM +0200, Thierry Vignaud wrote: > This patch series enables to detect: > - stable release Mageia[3-5] > - future releases (including Cauldron, the rolling distro) > Last but not least it makes virt-manager to pick the right devices for proper > mouse integration & f

Re: [Libosinfo] [PATCH 0/6] Add Mageia[3-5]+generic support

2016-08-11 Thread Daniel P. Berrange
On Thu, Aug 11, 2016 at 11:15:21AM +0200, Thierry Vignaud wrote: > On 11 August 2016 at 10:44, Daniel P. Berrange wrote: > >> This patch series enables to detect: > >> - stable release Mageia[3-5] > >> - future releases (including Cauldron, the rolling distro) &g

Re: [Libosinfo] [PATCH] add support for ReactOS

2016-08-11 Thread Daniel P. Berrange
On Thu, Aug 11, 2016 at 12:02:31PM +0200, Thierry Vignaud wrote: > notes: > - it's not possible to differentiate LiveCD from regular installer > - it's not possible to differentiate between different versions > - network works OK (as in ping) > --- > data/os/reactos/reactos.xml.in | 38 +++

Re: [Libosinfo] [PATCH 2/6] recognize Mageia 4

2016-08-11 Thread Daniel P. Berrange
On Thu, Aug 11, 2016 at 11:21:20AM +0200, Thierry Vignaud wrote: > --- > data/os/mageia.org/mageia-4.xml.in | 77 > ++ > 1 file changed, 77 insertions(+) > create mode 100644 data/os/mageia.org/mageia-4.xml.in > > diff --git a/data/os/mageia.org/mageia-4.xml.

Re: [Libosinfo] [PATCH 3/6] recognize Mageia 4.1

2016-08-11 Thread Daniel P. Berrange
On Thu, Aug 11, 2016 at 11:21:21AM +0200, Thierry Vignaud wrote: > --- > data/os/mageia.org/mageia-4.1.xml.in | 53 > > 1 file changed, 53 insertions(+) > create mode 100644 data/os/mageia.org/mageia-4.1.xml.in Same comments here as the previous patch, and l

Re: [Libosinfo] [PATCH 5/6] add support for generic Mageia

2016-08-11 Thread Daniel P. Berrange
On Thu, Aug 11, 2016 at 11:21:23AM +0200, Thierry Vignaud wrote: > From: Thierry Vignaud > > v2: > - split netinstall, > - add variant IDs > - add kernel/initrd pathes, > - make live be x86_64 (same label between ia32 & x86_64 :-( ) > - live matches only mga4+ > --- > data/os/mageia.org/mageia-u

Re: [Libosinfo] [PATCH 6/6] describe HW

2016-08-11 Thread Daniel P. Berrange
On Thu, Aug 11, 2016 at 11:21:24AM +0200, Thierry Vignaud wrote: > --- > data/os/freebsd.org/freebsd-8.0.xml.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/data/os/freebsd.org/freebsd-8.0.xml.in > b/data/os/freebsd.org/freebsd-8.0.xml.in > index e7554a3..0fdbc0b 1006

Re: [Libosinfo] [PATCH 1/6] use the right devices by default

2016-08-11 Thread Daniel P. Berrange
On Thu, Aug 11, 2016 at 11:21:19AM +0200, Thierry Vignaud wrote: > --- > data/os/mageia.org/mageia-1.xml.in | 8 > 1 file changed, 8 insertions(+) > > diff --git a/data/os/mageia.org/mageia-1.xml.in > b/data/os/mageia.org/mageia-1.xml.in > index 3380b1b..262d27f 100644 > --- a/data/os/m

Re: [Libosinfo] [PATCH osinfo-db] Fix COPYING file to refer to GPLv2+, not LGPLv2+

2016-08-11 Thread Daniel P. Berrange
On Tue, Aug 02, 2016 at 03:49:55PM +0100, Daniel P. Berrange wrote: > The LGPLv2+ is only applicable for code that needs to be linked > with other non-GPL compatible code. The actual osinfo database > files aren't linked in any traditional sense - they're merely > parsed. As

Re: [Libosinfo] [PATCH 5/6] add support for generic Mageia

2016-08-11 Thread Daniel P. Berrange
On Thu, Aug 11, 2016 at 03:53:03PM +0200, Thierry Vignaud wrote: > On 11 August 2016 at 13:05, Daniel P. Berrange wrote: > > On Thu, Aug 11, 2016 at 11:21:23AM +0200, Thierry Vignaud wrote: > >> From: Thierry Vignaud > >> > >> v2: > >> - split netinst

Re: [Libosinfo] [PATCH 5/6] add support for generic Mageia

2016-08-11 Thread Daniel P. Berrange
On Thu, Aug 11, 2016 at 04:32:43PM +0200, Thierry Vignaud wrote: > On 11 August 2016 at 16:29, Daniel P. Berrange wrote: > >> >> - split netinstall, > >> >> - add variant IDs > >> >> - add kernel/initrd pathes, > >> >> - make live b

Re: [Libosinfo] [PATCH 2/6] recognize Mageia 4

2016-08-11 Thread Daniel P. Berrange
On Thu, Aug 11, 2016 at 03:49:33PM +0200, Thierry Vignaud wrote: > On 11 August 2016 at 13:03, Daniel P. Berrange wrote: > > On Thu, Aug 11, 2016 at 11:21:20AM +0200, Thierry Vignaud wrote: > >> --- > >> data/os/mageia.org/mageia-4.xml.in | 77 > >> ++

[Libosinfo] [PATCH osinfo-db] mageia: remove all download URLs

2016-08-12 Thread Daniel P. Berrange
The download URLs in the mageia data files are not valid, since they just point to HTML pages which use javascript todo a magic redirect to the actual download site. This means that any app trying to fetch ISOs with URLs will just get HTML instead of the actual ISO. Signed-off-by: Daniel P

Re: [Libosinfo] [PATCH] fedora: Install spice-webdavd dependency

2016-08-22 Thread Daniel P. Berrange
On Fri, Aug 19, 2016 at 11:44:22PM +0300, Visarion Alexandru wrote: > From: Visarion Alexandru > > GNOME-Boxes is developing a folder sharing feature which will > need spice-webdavd installed in the guest for it to work. > > Let's make the folder sharing feature available right after > express i

Re: [Libosinfo] [PATCH] fedora: Install spice-webdavd dependency

2016-08-26 Thread Daniel P. Berrange
On Fri, Aug 26, 2016 at 07:23:19PM +0300, Visarion Alexandru wrote: > From: Visarion Alexandru > > GNOME-Boxes is developing a folder sharing feature which will > need spice-webdavd installed in the guest for it to work. > > Let's make the folder sharing feature available right after > express i

Re: [Libosinfo] [PATCH] fedora: Install spice-webdavd dependency

2016-09-05 Thread Daniel P. Berrange
On Tue, Aug 30, 2016 at 12:52:09PM +0300, Visarion Alexandru wrote: > From: Visarion Alexandru > > GNOME-Boxes is developing a folder sharing feature which will > need spice-webdavd installed in the guest for it to work. > > Let's make the folder sharing feature available right after > express i

[Libosinfo] [PATCH osinfo-db] make: add ability to build from non-local dir

2016-09-12 Thread Daniel P. Berrange
Add ability to do a VPATH building by doing mkdir build cd build ln -s ../Makefile . make VPATH=.. Signed-off-by: Daniel P. Berrange --- Makefile | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2223db3..3cffade 100644 --- a

[Libosinfo] [PATCH osinfo-db] Add support for DESTDIR

2016-09-13 Thread Daniel P. Berrange
The jhbuild system doesn't support plain "make" systems, so we need to pretend to be more automake-like. Adding DESTDIR support lets jhbuild' automake "make install" step work. Signed-off-by: Daniel P. Berrange --- Makefile | 3 ++- autobuild.sh | 2 +- 2 fil

Re: [Libosinfo] [PATCH osinfo-db] Add support for DESTDIR

2016-09-13 Thread Daniel P. Berrange
rgs used for osinfo-db-tools build > On Tue, Sep 13, 2016 at 11:03 AM, Daniel P. Berrange > wrote: > > The jhbuild system doesn't support plain "make" systems, > > so we need to pretend to be more automake-like. Adding > > DESTDIR support lets jhbuild' auto

Re: [Libosinfo] Improve the size of default memory for rhel6 guest to 2048M

2016-09-20 Thread Daniel P. Berrange
On Tue, Sep 20, 2016 at 06:25:02AM -0400, Ming Xie wrote: > Hi All, > > I meet a problem that guest can't boot into rhel6 after installation > or rhel6 can't be installed in guest if the guest has only 1GB memory > and has no swap partition, I know this is not bug because rhel6 systems > with low

[Libosinfo] ANNOUNCE: libosinfo 1.0.0 release

2016-10-07 Thread Daniel P. Berrange
I am happy to announce a new release of libosinfo, version 1.0.0: https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-1.0.0.tar.gz This is signed with key DAF3 A6FD B26B 6291 2D0E 8E3F BE86 EBB4 1510 4FDF (4096R) https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-1.0.0.tar.gz

Re: [Libosinfo] osinfo-db source tarball

2016-10-18 Thread Daniel P. Berrange
On Tue, Oct 11, 2016 at 08:32:05PM +0200, Guido Günther wrote: > Hi, > I looked into packaging osinfo-db for Debian and looking at: > > https://fedorahosted.org/releases/l/i/libosinfo/osinfo-db-20160728.tar.xz > > it looks quit different from https://gitlab.com/libosinfo/osinfo-db > . Would it

Re: [Libosinfo] osinfo-db source tarball

2016-10-18 Thread Daniel P. Berrange
On Tue, Oct 18, 2016 at 09:30:49AM +0100, Daniel P. Berrange wrote: > On Tue, Oct 11, 2016 at 08:32:05PM +0200, Guido Günther wrote: > > Hi, > > I looked into packaging osinfo-db for Debian and looking at: > > > > https://fedorahosted.org/releases/l/i/libosinf

[Libosinfo] [PATCH db-tools] osinfo-db-export: add ability to include a license file

2016-10-19 Thread Daniel P. Berrange
Add a "--license FILE-NAME" option to osinfo-db-export which will add that reference FILE-NAME to the generated archive as a file called "LICENSE" in the top level. Signed-off-by: Daniel P. Berrange --- tools/osinfo-db-export.c | 78

[Libosinfo] [PATCH db] include COPYING file as license for archive

2016-10-19 Thread Daniel P. Berrange
When generating the archive of DB files we must include the COPYING file as the quoted license. Signed-off-by: Daniel P. Berrange --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 53a2ea5..7f5801a 100644 --- a/Makefile +++ b/Makefile

Re: [Libosinfo] [PATCH osinfo-db] Add release and eol dates for Debian 6, 7 and 8

2016-10-20 Thread Daniel P. Berrange
On Thu, Oct 20, 2016 at 01:29:14PM +0200, Guido Günther wrote: > --- > data/os/debian.org/debian-6.xml.in | 3 +++ > data/os/debian.org/debian-7.xml.in | 3 +++ > data/os/debian.org/debian-8.xml.in | 2 ++ > 3 files changed, 8 insertions(+) ACK Regards, Daniel -- |: http://berrange.com -o-

Re: [Libosinfo] [PATCH osinfo-db-tools] validate: correct help output

2016-10-20 Thread Daniel P. Berrange
On Thu, Oct 20, 2016 at 01:28:10PM +0200, Guido Günther wrote: > We validate files, don't install them > --- > tools/osinfo-db-validate.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) ACK Regards, Daniel -- |: http://berrange.com -o-http://www.flickr.com/photos/dberr

Re: [Libosinfo] [osinfo-db-tools PATCH] README: libarchive is required as well

2016-10-20 Thread Daniel P. Berrange
On Thu, Oct 20, 2016 at 01:00:03PM +0200, Guido Günther wrote: > --- > README | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/README b/README > index 6b095ff..0368735 100644 > --- a/README > +++ b/README > @@ -19,6 +19,7 @@ Dependencies > - Required: >- gobject-2.0 >- gio-2.0 >

Re: [Libosinfo] [PATCH db] include COPYING file as license for archive

2016-10-20 Thread Daniel P. Berrange
On Thu, Oct 20, 2016 at 02:09:07PM +0200, Fabiano Fidêncio wrote: > On Wed, Oct 19, 2016 at 11:12 AM, Daniel P. Berrange > wrote: > > When generating the archive of DB files we must include > > the COPYING file as the quoted license. > > > > Sig

Re: [Libosinfo] osinfo-db source tarball

2016-10-21 Thread Daniel P. Berrange
On Thu, Oct 20, 2016 at 07:55:10PM +0200, Guido Günther wrote: > Hi Daniel, > On Tue, Oct 18, 2016 at 09:30:49AM +0100, Daniel P. Berrange wrote: > > On Tue, Oct 11, 2016 at 08:32:05PM +0200, Guido Günther wrote: > > > Hi, > > > I looked into packaging osinf

Re: [Libosinfo] [PATCH libosinfo] examples: avoid PyGIWarning

2016-10-31 Thread Daniel P. Berrange
On Sat, Oct 29, 2016 at 10:42:35PM +0200, Guido Günther wrote: > This fixes > > demo.py:3: PyGIWarning: Libosinfo was imported without specifying a version > first. Use gi.require_version('Libosinfo', '1.0') before import > to ensure that the right version gets loaded. > from gi.repository impo

Re: [Libosinfo] [PATCH osinfo-db] Unbreak vpath build

2016-11-07 Thread Daniel P. Berrange
On Sun, Nov 06, 2016 at 07:45:51PM +0100, Guido Günther wrote: > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) ACK Regards, Daniel -- |: http://berrange.com -o-http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http:/

Re: [Libosinfo] [PATCH osinfo-db 0/3] Updates for Debian

2016-11-07 Thread Daniel P. Berrange
On Sun, Nov 06, 2016 at 07:51:03PM +0100, Guido Günther wrote: > Guido Günther (3): > Update virtio device information for Debian Wheezy and Jessie > Remove redundant entries for Debian > Derive Debian testing from the latest stable release > > data/os/debian.org/debian-7.xml.in | 7

Re: [Libosinfo] [PATCH libosinfo] loader: Fix typo in error message

2016-11-07 Thread Daniel P. Berrange
On Sat, Nov 05, 2016 at 02:00:28PM +0100, Guido Günther wrote: > --- > osinfo/osinfo_loader.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) ACK Regards, Daniel -- |: http://berrange.com -o-http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o-

Re: [Libosinfo] [PATCH osinfo-db] Debian: enhance guest agent support

2016-11-08 Thread Daniel P. Berrange
On Tue, Nov 08, 2016 at 08:13:27AM +0100, Guido Günther wrote: > This also only installs qemu-guest-agent on recent Debian since versions > before Jessie don't ship it. > --- > data/install-script/debian.org/debian-preseed-desktop.xml.in | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-

Re: [Libosinfo] [PATCH osinfo-db] Abort on XML errors

2016-11-08 Thread Daniel P. Berrange
On Tue, Nov 08, 2016 at 08:14:07AM +0100, Guido Günther wrote: > While we abort on XML errors the first time the output XML already gets > written so a subsequent make call will continue with the next file > leading to an incomplete database. Use a temporary file to fix this. > --- > Makefile | 3

Re: [Libosinfo] [PATCH osinfo-db v2] Abort on XML errors

2016-11-09 Thread Daniel P. Berrange
On Tue, Nov 08, 2016 at 07:19:14PM +0100, Guido Günther wrote: > While we abort on XML errors the first time the output XML already gets > written so a subsequent make call will continue with the next file > leading to an incomplete database. Use a temporary file to fix this. > --- > >Changes

Re: [Libosinfo] [PATCH 00/10] Update SUSE distro database information

2016-12-13 Thread Daniel P. Berrange
On Mon, Dec 12, 2016 at 03:43:00PM -0700, Charles Arnold wrote: > This patch series fixes, updates, and adds missing SUSE distro > database information. Thanks for the comprehensive update ! I'll just trust the data is all correct, so I've pushed all 10. Regards, Daniel -- |: http://berrange.co

  1   2   >