From crobinso at redhat.com Tue Jun 13 18:57:10 2017 From: crobinso at redhat.com (Cole Robinson) Date: Tue, 13 Jun 2017 14:57:10 -0400 Subject: [Libosinfo] [virt-tools-list] [PATCH] Add alpine linux 3.5 and 3.6 In-Reply-To: <20170613172406.11898-1-ncopa@alpinelinux.org> References: <20170613172406.11898-1-ncopa@alpinelinux.org> Message-ID: <2a825c75-e946-85a8-f168-5b4fcfab7bd7@redhat.com> libosinfo has its own list, CCd now - Cole On 06/13/2017 01:24 PM, Natanael Copa wrote: > Signed-off-by: Natanael Copa > --- > data/os/alpinelinux.org/alpinelinux-3.5.xml.in | 23 +++++++++++++++++++++++ > data/os/alpinelinux.org/alpinelinux-3.6.xml.in | 25 +++++++++++++++++++++++++ > 2 files changed, 48 insertions(+) > create mode 100644 data/os/alpinelinux.org/alpinelinux-3.5.xml.in > create mode 100644 data/os/alpinelinux.org/alpinelinux-3.6.xml.in > > diff --git a/data/os/alpinelinux.org/alpinelinux-3.5.xml.in b/data/os/alpinelinux.org/alpinelinux-3.5.xml.in > new file mode 100644 > index 0000000..5775396 > --- /dev/null > +++ b/data/os/alpinelinux.org/alpinelinux-3.5.xml.in > @@ -0,0 +1,23 @@ > + > + > + > + alpinelinux3.5 > + <_name>Alpine Linux 3.5 > + 3.5 > + <_vendor>Alpine Linux Project > + linux > + alpinelinux > + > + > + > + alpine-.* 3.5.\d x86.* > + > + > + > + > + alpine-.* 3.5.\d x86_64.* > + > + > + > + > diff --git a/data/os/alpinelinux.org/alpinelinux-3.6.xml.in b/data/os/alpinelinux.org/alpinelinux-3.6.xml.in > new file mode 100644 > index 0000000..fb1856f > --- /dev/null > +++ b/data/os/alpinelinux.org/alpinelinux-3.6.xml.in > @@ -0,0 +1,25 @@ > + > + > + > + alpinelinux3.6 > + <_name>Alpine Linux 3.6 > + 3.6 > + <_vendor>Alpine Linux Project > + linux > + alpinelinux > + > + > + > + > + > + alpine-.* 3.6.\d x86.* > + > + > + > + > + alpine-.* 3.6.\d x86_64.* > + > + > + > + > From fidencio at redhat.com Wed Jun 14 06:08:05 2017 From: fidencio at redhat.com (=?UTF-8?Q?Fabiano_Fid=C3=AAncio?=) Date: Wed, 14 Jun 2017 08:08:05 +0200 Subject: [Libosinfo] [virt-tools-list] [PATCH] Add alpine linux 3.5 and 3.6 In-Reply-To: <2a825c75-e946-85a8-f168-5b4fcfab7bd7@redhat.com> References: <20170613172406.11898-1-ncopa@alpinelinux.org> <2a825c75-e946-85a8-f168-5b4fcfab7bd7@redhat.com> Message-ID: Natanael, On Tue, Jun 13, 2017 at 8:57 PM, Cole Robinson wrote: > libosinfo has its own list, CCd now > > - Cole > > On 06/13/2017 01:24 PM, Natanael Copa wrote: >> Signed-off-by: Natanael Copa >> --- >> data/os/alpinelinux.org/alpinelinux-3.5.xml.in | 23 +++++++++++++++++++++++ >> data/os/alpinelinux.org/alpinelinux-3.6.xml.in | 25 +++++++++++++++++++++++++ >> 2 files changed, 48 insertions(+) >> create mode 100644 data/os/alpinelinux.org/alpinelinux-3.5.xml.in >> create mode 100644 data/os/alpinelinux.org/alpinelinux-3.6.xml.in >> >> diff --git a/data/os/alpinelinux.org/alpinelinux-3.5.xml.in b/data/os/alpinelinux.org/alpinelinux-3.5.xml.in >> new file mode 100644 >> index 0000000..5775396 >> --- /dev/null >> +++ b/data/os/alpinelinux.org/alpinelinux-3.5.xml.in >> @@ -0,0 +1,23 @@ >> + >> + >> + >> + alpinelinux3.5 >> + <_name>Alpine Linux 3.5 >> + 3.5 >> + <_vendor>Alpine Linux Project >> + linux >> + alpinelinux >> + >> + >> + >> + alpine-.* 3.5.\d x86.* >> + >> + >> + >> + >> + alpine-.* 3.5.\d x86_64.* >> + >> + >> + >> + >> diff --git a/data/os/alpinelinux.org/alpinelinux-3.6.xml.in b/data/os/alpinelinux.org/alpinelinux-3.6.xml.in >> new file mode 100644 >> index 0000000..fb1856f >> --- /dev/null >> +++ b/data/os/alpinelinux.org/alpinelinux-3.6.xml.in >> @@ -0,0 +1,25 @@ >> + >> + >> + >> + alpinelinux3.6 >> + <_name>Alpine Linux 3.6 >> + 3.6 >> + <_vendor>Alpine Linux Project >> + linux >> + alpinelinux >> + >> + >> + >> + >> + >> + alpine-.* 3.6.\d x86.* >> + >> + >> + >> + >> + alpine-.* 3.6.\d x86_64.* >> + >> + >> + >> + >> > > _______________________________________________ > Libosinfo mailing list > Libosinfo at redhat.com > https://www.redhat.com/mailman/listinfo/libosinfo Firstly, thanks for the patch! If you take a look in the libosinfo git repo you'll notice a 'tests/isodata' dir, which contains 'isoinfo -d -i' output for the ISOs. While adding such data is optional, it's very welcome. So, I'd like to ask you whether you could also provide the patches for libosinfo so I can push those as well. From fabiano at fidencio.org Wed Jun 14 06:53:03 2017 From: fabiano at fidencio.org (=?UTF-8?Q?Fabiano_Fid=C3=AAncio?=) Date: Wed, 14 Jun 2017 08:53:03 +0200 Subject: [Libosinfo] [virt-tools-list] [PATCH] Add alpine linux 3.5 and 3.6 In-Reply-To: References: <20170613172406.11898-1-ncopa@alpinelinux.org> <2a825c75-e946-85a8-f168-5b4fcfab7bd7@redhat.com> Message-ID: On Wed, Jun 14, 2017 at 8:08 AM, Fabiano Fid?ncio wrote: > Natanael, > > On Tue, Jun 13, 2017 at 8:57 PM, Cole Robinson wrote: >> libosinfo has its own list, CCd now >> >> - Cole >> >> On 06/13/2017 01:24 PM, Natanael Copa wrote: >>> Signed-off-by: Natanael Copa >>> --- >>> data/os/alpinelinux.org/alpinelinux-3.5.xml.in | 23 +++++++++++++++++++++++ >>> data/os/alpinelinux.org/alpinelinux-3.6.xml.in | 25 +++++++++++++++++++++++++ >>> 2 files changed, 48 insertions(+) >>> create mode 100644 data/os/alpinelinux.org/alpinelinux-3.5.xml.in >>> create mode 100644 data/os/alpinelinux.org/alpinelinux-3.6.xml.in >>> >>> diff --git a/data/os/alpinelinux.org/alpinelinux-3.5.xml.in b/data/os/alpinelinux.org/alpinelinux-3.5.xml.in >>> new file mode 100644 >>> index 0000000..5775396 >>> --- /dev/null >>> +++ b/data/os/alpinelinux.org/alpinelinux-3.5.xml.in >>> @@ -0,0 +1,23 @@ >>> + >>> + >>> + >>> + alpinelinux3.5 >>> + <_name>Alpine Linux 3.5 >>> + 3.5 >>> + <_vendor>Alpine Linux Project >>> + linux >>> + alpinelinux >>> + >>> + >>> + >>> + alpine-.* 3.5.\d x86.* >>> + >>> + >>> + >>> + >>> + alpine-.* 3.5.\d x86_64.* >>> + >>> + >>> + >>> + >>> diff --git a/data/os/alpinelinux.org/alpinelinux-3.6.xml.in b/data/os/alpinelinux.org/alpinelinux-3.6.xml.in >>> new file mode 100644 >>> index 0000000..fb1856f >>> --- /dev/null >>> +++ b/data/os/alpinelinux.org/alpinelinux-3.6.xml.in >>> @@ -0,0 +1,25 @@ >>> + >>> + >>> + >>> + alpinelinux3.6 >>> + <_name>Alpine Linux 3.6 >>> + 3.6 >>> + <_vendor>Alpine Linux Project >>> + linux >>> + alpinelinux >>> + >>> + >>> + >>> + >>> + >>> + alpine-.* 3.6.\d x86.* >>> + >>> + >>> + >>> + >>> + alpine-.* 3.6.\d x86_64.* >>> + >>> + >>> + >>> + >>> >> >> _______________________________________________ >> Libosinfo mailing list >> Libosinfo at redhat.com >> https://www.redhat.com/mailman/listinfo/libosinfo > > > Firstly, thanks for the patch! > > If you take a look in the libosinfo git repo you'll notice a > 'tests/isodata' dir, which contains 'isoinfo -d -i' output for the > ISOs. > While adding such data is optional, it's very welcome. So, I'd like to > ask you whether you could also provide the patches for libosinfo so I > can push those as well. Also, isn't there recommended values for ram/disk that could be used for the alpinelinux XMLs? > > _______________________________________________ > Libosinfo mailing list > Libosinfo at redhat.com > https://www.redhat.com/mailman/listinfo/libosinfo -- Fabiano Fid?ncio From rishi.is at lostca.se Thu Jun 15 12:38:34 2017 From: rishi.is at lostca.se (Debarshi Ray) Date: Thu, 15 Jun 2017 12:38:34 +0000 Subject: [Libosinfo] [PATCH] Marginally simplify the code to create and run a GMainLoop In-Reply-To: <20170207170353.pfn5uwgvfz3ybks2@edamame.cdg.redhat.com> References: <20170117142941.5412-1-rishi.is@lostca.se> <20170207170353.pfn5uwgvfz3ybks2@edamame.cdg.redhat.com> Message-ID: <20170615123834.GC83057@aloka.lostca.se> Hey, Sorry for the late response. On Tue, Feb 07, 2017 at 06:03:53PM +0100, Christophe Fergeau wrote: > Hey, looking for example at osinfo_install_script_generate(), which is > > GMainLoop *loop = g_main_loop_new(g_main_context_get_thread_default(), > TRUE); > OsinfoInstallScriptGenerateSyncData data = { > loop, NULL, NULL, NULL > }; > > osinfo_install_script_generate_async(script, > os, > config, > cancellable, > osinfo_install_script_generate_done, > &data); > > if (g_main_loop_is_running(loop)) > g_main_loop_run(loop); > > Isn't the way it's currently done going to catch cases when > osinfo_install_script_generate_done (and thus g_main_loop_quit()) ends up > being called synchronously at the moment > osinfo_install_script_generate_async() is called, while with your change, > we'd wait forever for a g_main_loop_quit() which never comes? Generally, I wouldn't expect an async operation to invoke the callback in the same iteration of the GMainLoop. Otherwise, it will be confusing for the user code. It wouldn't know if the async operation will actually proceed to some extent and then return in a later iteration of the GMainLoop, or whether it would take a short cut and return immediately. I don't see it clearly specified in the semantics of GAsyncResult interface, but the GTask implmentation used in libosinfo guarantees this. See the private g_task_return in gio/gtask.c. The earlier GSimpleAsyncResult was a bit lax in this area, but if you look closely, the g_simple_async_report_* methods also invoked the callback in the next iteration of the GMainLoop. One of the motivations to return immediately are error conditions detected at the beginning, which is what those methods usually deal with. By the way, this patch is just a clean-up and hence not that important. The real bug in libosinfo is that the synchronous operations implemented in terms of their async counterparts are not wrapped in a new thread-default GMainContext. Since the GMainLoop is iterating over the thread's existing default GMainContext, it can trigger GSources outside the scope of the synchronous method. Cheers, Rishi From agx at sigxcpu.org Mon Jun 19 06:43:24 2017 From: agx at sigxcpu.org (Guido =?iso-8859-1?Q?G=FCnther?=) Date: Mon, 19 Jun 2017 08:43:24 +0200 Subject: [Libosinfo] [PATCH osinfo-db] Add Debian 9.0 (stretch) Message-ID: <20170619064324.wsmkpug4zrg75yfs@bogon.m.sigxcpu.org> --- data/os/debian.org/debian-9.xml.in | 130 +++++++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 data/os/debian.org/debian-9.xml.in diff --git a/data/os/debian.org/debian-9.xml.in b/data/os/debian.org/debian-9.xml.in new file mode 100644 index 0000000..15a0036 --- /dev/null +++ b/data/os/debian.org/debian-9.xml.in @@ -0,0 +1,130 @@ + + + + debian9 + debianstretch + <_name>Debian Stretch + 9 + <_vendor>Debian Project + linux + debian + + + + 2017-06-17 + + + + + + + + + + + + + + + 1000000000 + 1 + 1073741824 + 10737418240 + + + 1000000000 + 1073741824 + 21474836480 + + + + + <_name>Debian 9.0 + + + <_name>Debian 9.0 + + + + + + http://cdimage.debian.org/cdimage/release/current/i386/iso-cd/debian-9.0.0-i386-netinst.iso + + Debian 9.0.(\d)+ i386 n + + install.386/vmlinuz + install.386/initrd.gz + + + + http://cdimage.debian.org/cdimage/release/current/amd64/iso-cd/debian-9.0.0-amd64-netinst.iso + + Debian 9.0.(\d)+ amd64 n + + install.amd/vmlinuz + install.amd/initrd.gz + + + + http://cdimage.debian.org/cdimage/release/current/arm64/iso-cd/debian-9.0.0-arm64-netinst.iso + + Debian 9.0.(\d)+ arm64 n + + install.arm64/vmlinuz + install.arm64/initrd.gz + + + + http://cdimage.debian.org/cdimage/release/current/armhf/iso-cd/debian-9.0.0-armhf-netinst.iso + + Debian 9.0.(\d)+ armhf n + + install.armhf/vmlinuz + install.armhf/initrd.gz + + + + + + http://cdimage.debian.org/cdimage/release/9.0.0/i386/iso-dvd/debian-9.0.0-i386-DVD-1.iso + + Debian 9.0.(\d)+ i386 1 + + install.386/vmlinuz + install.386/initrd.gz + + + + http://cdimage.debian.org/cdimage/release/9.0.0/amd64/iso-dvd/debian-9.0.0-amd64-DVD-1.iso + + Debian 9.0.(\d)+ amd64 1 + + install.amd/vmlinuz + install.amd/initrd.gz + + + + http://cdimage.debian.org/cdimage/release/9.0.0/arm64/iso-dvd/debian-9.0.0-arm64-DVD-1.iso + + Debian 9.0.(\d)+ arm64 1 + + install.arm64/vmlinuz + install.arm64/initrd.gz + + + + http://cdimage.debian.org/cdimage/release/9.0.0/armhf/iso-dvd/debian-9.0.0-armhf-DVD-1.iso + + Debian 9.0.(\d)+ armhf 1 + + install.armhf/vmlinuz + install.armhf/initrd.gz + + + +