Re: [Libosinfo] [osinfo-db PATCH] Sort list of sources in POTFILES.in

2017-03-21 Thread Pino Toscano
On Monday, 20 March 2017 21:13:00 CET Eric Blake wrote: > On 03/20/2017 08:49 AM, Pino Toscano wrote: > > This way, the generation of osinfo-db.pot is more deterministic and > > stable, and it is way easier to diff pot files before and after editing > > the XML definitions

[Libosinfo] [osinfo-db PATCH v2] Sort list of sources in POTFILES.in

2017-03-21 Thread Pino Toscano
This way, the generation of osinfo-db.pot is more deterministic and stable, and it is way easier to diff pot files before and after editing the XML definitions of OSes, devices, etc. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index

[Libosinfo] [PATCH] mageia: add Mageia 4 and 5 info

2017-03-15 Thread Pino Toscano
--- data/os/mageia.org/mageia-4.xml.in | 31 +++ data/os/mageia.org/mageia-5.xml.in | 35 +++ 2 files changed, 66 insertions(+) create mode 100644 data/os/mageia.org/mageia-4.xml.in create mode 100644 data/os/mageia.org/mageia-5.xml.in

Re: [Libosinfo] [PATCH] ubuntu: add Ubuntu 16.10 info

2017-03-16 Thread Pino Toscano
On Wednesday, 15 March 2017 20:33:11 CET Fabiano Fidêncio wrote: > On Wed, Mar 15, 2017 at 6:28 PM, Pino Toscano <ptosc...@redhat.com> wrote: > > --- > > data/os/ubuntu.com/ubuntu-16.10.xml.in | 93 > > ++ > > 1 file changed,

[Libosinfo] [osinfo-db PATCH] Sort list of sources in POTFILES.in

2017-03-20 Thread Pino Toscano
This way, the generation of osinfo-db.pot is more deterministic and stable, and it is way easier to diff pot files before and after editing the XML definitions of OSes, devices, etc. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index

[Libosinfo] [PATCH] debian: update URLs for Debian 8 ISOs

2017-03-15 Thread Pino Toscano
Switch to URLs to the archive part of cdimage, so they will not become invalid as soon as a new release is available. There is also a switch to version 8.6.0 -- the last Debian version at this time is 8.7.1, which is just 8.7.0 but with fixed Volume IDs for medias. Unfortunately, 8.7.1 is not

[Libosinfo] [osinfo-db PATCH 2/2] centos: add CentOS 6.8 and 6.9 info

2017-04-11 Thread Pino Toscano
Sources: - https://lists.centos.org/pipermail/centos-announce/2016-May/021895.html - https://lists.centos.org/pipermail/centos-announce/2017-April/022351.html --- data/os/centos.org/centos-6.8.xml.in | 160 +++ data/os/centos.org/centos-6.9.xml.in | 140

[Libosinfo] [osinfo-db PATCH 1/2] rhel: add RHEL 6.9 and 7.3 info

2017-04-11 Thread Pino Toscano
Sources: - https://access.redhat.com/articles/3078 --- data/os/redhat.com/rhel-6.9.xml.in | 53 +++ data/os/redhat.com/rhel-7.3.xml.in | 89 ++ 2 files changed, 142 insertions(+) create mode 100644 data/os/redhat.com/rhel-6.9.xml.in create

[Libosinfo] [libosinfo PATCH] rhel: add RHEL 6.9 and 7.3 test data

2017-04-11 Thread Pino Toscano
--- .../RHEL-6.9-20170309.0-Server-i386-dvd1.iso.txt | 29 ++ .../RHEL-6.9-20170309.0-Server-x86_64-dvd1.iso.txt | 29 ++ ...RHEL-7.3-20161019.0-Server-aarch64-dvd1.iso.txt | 29 ++ .../RHEL-7.3-20161019.0-Server-ppc64-dvd1.iso.txt |

[Libosinfo] [osinfo-db PATCH 0/5] Improve release/EOF dates

2017-04-10 Thread Pino Toscano
Hi, this series improves the dates of releases and EOF for a number of distros of the following families: centos, debian, fedora, freebsd, and rhel. Thanks, Pino Toscano (5): freebsd: fix/add release-date/eol-date for many versions fedora: fix/add release-date/eol-date for many versions

[Libosinfo] [osinfo-db PATCH 3/5] debian: fix/add release-date/eol-date for many versions

2017-04-10 Thread Pino Toscano
Add release dates for all the version, and add EOL dates for all the versions after 2.1. Sources: - https://www.debian.org/doc/manuals/project-history/ch-releases.en.html - https://lists.debian.org/debian-security-announce/2000/msg00043.html - https://www.debian.org/releases/potato/ -

[Libosinfo] [osinfo-db PATCH 2/5] fedora: fix/add release-date/eol-date for many versions

2017-04-10 Thread Pino Toscano
Fix a couple of release dates, and add all the EOL dates for all the EOL'ed versions. Sources: - http://fedoraproject.org/wiki/Releases/HistoricalSchedules - http://fedoraproject.org/wiki/End_of_life --- data/os/fedoraproject.org/fedora-10.xml.in | 2 +-

[Libosinfo] [osinfo-db PATCH 1/5] freebsd: fix/add release-date/eol-date for many versions

2017-04-10 Thread Pino Toscano
Fill the proper dates for almost all the releases, and the EOL dates for all the versions from 5.3. Sources: - https://www.freebsd.org/releases/ - https://www.freebsd.org/security/security.html - https://www.freebsd.org/security/unsupported.html --- data/os/freebsd.org/freebsd-1.0.xml.in | 2

Re: [Libosinfo] [osinfo-db PATCH v2] Sort list of sources in POTFILES.in

2017-03-21 Thread Pino Toscano
On Tuesday, 21 March 2017 16:04:47 CET Eric Blake wrote: > On 03/21/2017 05:13 AM, Pino Toscano wrote: > > This way, the generation of osinfo-db.pot is more deterministic and > > stable, and it is way easier to diff pot files before and after editing > > the XML definitions

[Libosinfo] [osinfo-db PATCH v3] Sort list of sources in POTFILES.in

2017-03-21 Thread Pino Toscano
This way, the generation of osinfo-db.pot is more deterministic and stable, and it is way easier to diff pot files before and after editing the XML definitions of OSes, devices, etc. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index

[Libosinfo] [PATCH] ubuntu: fix 16.10 locations

2017-08-03 Thread Pino Toscano
Ubuntu 16.10 is EOL, so switch to the archive for old releases --- data/os/ubuntu.com/ubuntu-16.10.xml.in | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-16.10.xml.in b/data/os/ubuntu.com/ubuntu-16.10.xml.in index 60031d2..9557340

[Libosinfo] [osinfo-db PATCH] rhel: add RHEL 7.4 info

2017-08-03 Thread Pino Toscano
Sources: - https://www.redhat.com/en/about/press-releases/red-hat-bridges-hybrid-multi-cloud-deployments-latest-version-red-hat-enterprise-linux-7 --- data/os/redhat.com/rhel-7.4.xml.in | 89 ++ 1 file changed, 89 insertions(+) create mode 100644

Re: [Libosinfo] [osinfo-db PATCH] ubuntu: add EOL date for 16.10

2017-08-03 Thread Pino Toscano
On Friday, 7 July 2017 13:44:05 CEST Pino Toscano wrote: > Source: > https://lists.ubuntu.com/archives/ubuntu-announce/2017-July/000222.html > --- > data/os/ubuntu.com/ubuntu-16.10.xml.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/data/os/ubuntu.com/ubuntu-16.1

[Libosinfo] [libosinfo PATCH] rhel: add RHEL 7.4 test data

2017-08-03 Thread Pino Toscano
--- ...RHEL-7.4-20170711.0-Server-aarch64-dvd1.iso.txt | 29 ++ .../RHEL-7.4-20170711.0-Server-ppc64-dvd1.iso.txt | 16 ...RHEL-7.4-20170711.0-Server-ppc64le-dvd1.iso.txt | 16 .../RHEL-7.4-20170711.0-Server-s390x-dvd1.iso.txt | 16

Re: [Libosinfo] [osinfo-db PATCH] fedora: add Fedora 26 info

2017-07-12 Thread Pino Toscano
On Wednesday, 12 July 2017 09:42:18 CEST Christophe Fergeau wrote: > > Acked-by: Christophe Fergeau <cferg...@redhat.com> Thanks! > (do you have commit access to the git repo?) I do not, so could you push them, please? :) -- Pino Toscano signature.asc Description: This is a d

[Libosinfo] [osinfo-db PATCH 2/4] debian: fix 7 ISO location

2017-07-14 Thread Pino Toscano
Point to the latest release of Debian 7. --- data/os/debian.org/debian-7.xml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/os/debian.org/debian-7.xml.in b/data/os/debian.org/debian-7.xml.in index 0afe388..8c2d4ca 100644 --- a/data/os/debian.org/debian-7.xml.in

[Libosinfo] [osinfo-db PATCH 4/4] ubuntu: fix 15.10 & 16.04 locations

2017-07-14 Thread Pino Toscano
- Ubuntu 15.10 is EOL, so switch to the archive for old releases - point to the latest release of Ubuntu 16.04 --- data/os/ubuntu.com/ubuntu-15.10.xml.in | 8 data/os/ubuntu.com/ubuntu-16.04.xml.in | 14 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git

[Libosinfo] [osinfo-db PATCH 0/4] Fix locations for some old distros

2017-07-14 Thread Pino Toscano
, and there seems to not be an official location for them. Thanks, Pino Toscano (4): centos: fix 6.9 tree location debian: fix 7 ISO location fedora: fix 24 ISO location ubuntu: fix 15.10 & 16.04 locations data/os/centos.org/centos-6.9.xml.in | 4 ++-- data/os/debian.org/debian-7.xm

[Libosinfo] [osinfo-db PATCH 1/4] centos: fix 6.9 tree location

2017-07-14 Thread Pino Toscano
It is not in vault yet. --- data/os/centos.org/centos-6.9.xml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/os/centos.org/centos-6.9.xml.in b/data/os/centos.org/centos-6.9.xml.in index 06f683a..535a57b 100644 --- a/data/os/centos.org/centos-6.9.xml.in +++

[Libosinfo] [osinfo-db PATCH 3/4] fedora: fix 24 ISO location

2017-07-14 Thread Pino Toscano
Fix the URL to one of the ISOs, matching the "version" that all the other ISOs in this version have. --- data/os/fedoraproject.org/fedora-24.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/fedoraproject.org/fedora-24.xml.in

[Libosinfo] [libosinfo PATCH 2/2] tests: test-mediauris: show status code on failure

2017-07-14 Thread Pino Toscano
It helps when debugging failures, to check what is actual error for an URL. --- tests/test-mediauris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-mediauris.c b/tests/test-mediauris.c index afb055c..1b330ed 100644 --- a/tests/test-mediauris.c +++

[Libosinfo] [libosinfo PATCH 1/2] tests: test-mediauris: skip non-http URLs

2017-07-14 Thread Pino Toscano
The test uses libsoup, which supports only HTTP, and not other protocols such as FTP. Hence, allow only http and https URLs. --- tests/test-mediauris.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test-mediauris.c b/tests/test-mediauris.c index 5bfb4c9..afb055c

Re: [Libosinfo] [osinfo-db PATCH 2/4] debian: fix 7 ISO location

2017-07-14 Thread Pino Toscano
On Friday, 14 July 2017 16:04:37 CEST Guido Günther wrote: > Hi, > On Fri, Jul 14, 2017 at 02:30:28PM +0200, Pino Toscano wrote: > > Point to the latest release of Debian 7. > > --- > > data/os/debian.org/debian-7.xml.in | 4 ++-- > > 1 file changed, 2 insertions(+)

[Libosinfo] [libosinfo PATCH] mageia: add Mageia 6 test data

2017-07-17 Thread Pino Toscano
--- .../Mageia-6-LiveDVD-GNOME-x86_64-DVD.iso.txt | 29 ++ .../Mageia-6-LiveDVD-Plasma-x86_64-DVD.iso.txt | 29 ++ .../mageia6/Mageia-6-LiveDVD-Xfce-i586-DVD.iso.txt | 29 ++ .../Mageia-6-LiveDVD-Xfce-x86_64-DVD.iso.txt |

[Libosinfo] [PATCH] mageia: fix/add eol-date for a couple of versions

2017-07-17 Thread Pino Toscano
Source: - https://www.mageia.org/en/support/ --- data/os/mageia.org/mageia-3.xml.in | 2 +- data/os/mageia.org/mageia-5.xml.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/os/mageia.org/mageia-3.xml.in b/data/os/mageia.org/mageia-3.xml.in index 0a3e1bc..8647730

[Libosinfo] [PATCH] mageia: add Mageia 6 info

2017-07-17 Thread Pino Toscano
Sources: - https://blog.mageia.org/en/2017/07/16/announcing-mageia-6/ - https://www.mageia.org/en/support/ --- data/os/mageia.org/mageia-6.xml.in | 36 1 file changed, 36 insertions(+) create mode 100644 data/os/mageia.org/mageia-6.xml.in diff --git

[Libosinfo] [osinfo-db PATCH] fedora: add Fedora 26 info

2017-07-11 Thread Pino Toscano
Just released earlier today. --- data/os/fedoraproject.org/fedora-26.xml.in | 114 + 1 file changed, 114 insertions(+) create mode 100644 data/os/fedoraproject.org/fedora-26.xml.in diff --git a/data/os/fedoraproject.org/fedora-26.xml.in

[Libosinfo] [libosinfo PATCH] fedora: add Fedora 26 test data

2017-07-11 Thread Pino Toscano
--- .../Fedora-Server-dvd-x86_64-26-1.5.iso.txt| 29 ++ .../Fedora-Server-netinst-x86_64-26-1.5.iso.txt| 29 ++ .../Fedora-Workstation-Live-x86_64-26-1.5.iso.txt | 29 ++ ...edora-Workstation-netinst-x86_64-26-1.5.iso.txt |

[Libosinfo] [osinfo-db PATCH] debian: fix architecture names to match schema

2017-07-07 Thread Pino Toscano
The schema has names for architectures which are closer to the RPM naming than the dpkg one -- thus, fix: - arm64 -> aarch64 - armhf -> armv7l Fixes commit 5d852472685792a240dc1738e051a59793c47b18. --- data/os/debian.org/debian-9.xml.in | 8 1 file changed, 4 insertions(+), 4

[Libosinfo] [libosinfo PATCH] tests: make the network tests run

2017-07-14 Thread Pino Toscano
Load the default osinfo path, since the osinfo data are no more part of the libosinfo sources. The tests still fails though, but this is due to missing paths to ISOs and trees. --- tests/test-mediauris.c | 2 +- tests/test-treeuris.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

[Libosinfo] [osinfo-db PATCH] ubuntu: add EOL date for 16.10

2017-07-07 Thread Pino Toscano
Source: https://lists.ubuntu.com/archives/ubuntu-announce/2017-July/000222.html --- data/os/ubuntu.com/ubuntu-16.10.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/os/ubuntu.com/ubuntu-16.10.xml.in b/data/os/ubuntu.com/ubuntu-16.10.xml.in index bea4182..60031d2 100644 ---

Re: [Libosinfo] [osinfo-db PATCH] debian: fix architecture names to match schema

2017-07-07 Thread Pino Toscano
On Friday, 7 July 2017 15:59:39 CEST Guido Günther wrote: > On Fri, Jul 07, 2017 at 01:36:29PM +0200, Pino Toscano wrote: > > The schema has names for architectures which are closer to the RPM > > naming than the dpkg one -- thus, fix: > > - arm64 -> aarch64 > > - arm

[Libosinfo] [PATCH] fedora: add EOL date for 24

2017-07-21 Thread Pino Toscano
Source: https://lists.fedoraproject.org/archives/list/de...@lists.fedoraproject.org/thread/DNMTG4GZJRH6E3WLBNWVPUPGLESLOKBN/ --- data/os/fedoraproject.org/fedora-24.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/os/fedoraproject.org/fedora-24.xml.in

[Libosinfo] [osinfo-db PATCH] ubuntu: fix 16.04 location

2017-08-07 Thread Pino Toscano
Point to the latest release of Ubuntu 16.04 (i.e. 16.04.3). --- data/os/ubuntu.com/ubuntu-16.04.xml.in | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-16.04.xml.in b/data/os/ubuntu.com/ubuntu-16.04.xml.in index e11e0b8..14ad86d 100644

[Libosinfo] [libosinfo PATCH] tests: test-mediauris: raise timeout to 5 minutes

2017-08-07 Thread Pino Toscano
With the growing amount of distros in osinfo-db, the test takes more and more time to complete, hitting the 2 minutes timeout in case of any network hiccup (or simply when a server takes more time to reply). Hence, raise the timeout to 5 minutes, which ought to be enough now. ---

[Libosinfo] [libosinfo PATCH 1/2] Switch from libsoup to libcurl

2017-08-07 Thread Pino Toscano
libsoup is used to check the validity of URLs in distributions in osinfo-db; OTOH it supports only HTTP(S), so this limits the checks to that protocol. To overcome this limitation, switch to libcurl: while it requires slightly more code to do the same task, it provides a bit more flexibility, and

[Libosinfo] [libosinfo PATCH 0/2] Switch from libsoup to libcurl

2017-08-07 Thread Pino Toscano
be loosen the requirement, and conditionalize the build of those tests only when libsoup/libcurl is present Thanks, Pino Toscano (2): Switch from libsoup to libcurl Revert "tests: test-mediauris: skip non-http URLs" README | 2 +- configure.ac

Re: [Libosinfo] [libosinfo PATCH] ubuntu: add Ubuntu 17.04 test data

2017-05-03 Thread Pino Toscano
On Tuesday, 2 May 2017 23:25:21 CEST Fabiano Fidêncio wrote: > Pino, > > > On Tue, Apr 18, 2017 at 12:36 PM, Pino Toscano <ptosc...@redhat.com> wrote: > > --- > > .../ubuntu17.04/ubuntu-17.04-desktop-amd64.iso.txt | 29 > > ++ > >

[Libosinfo] [osinfo-db PATCH] fedora: Fix URLs for EOL version

2017-10-17 Thread Pino Toscano
Fedora versions earlier than 25 are EOL now, so their files are in the archive. --- data/os/fedoraproject.org/fedora-22.xml.in | 20 ++-- data/os/fedoraproject.org/fedora-23.xml.in | 20 ++-- data/os/fedoraproject.org/fedora-24.xml.in | 20 ++-- 3

[Libosinfo] [libosinfo PATCH 2/3] build: make curl optional, and only for tests

2017-10-17 Thread Pino Toscano
the mingw spec, as it builds with --enable-tests=no. Signed-off-by: Pino Toscano <ptosc...@redhat.com> --- README | 2 +- configure.ac| 9 + mingw-libosinfo.spec.in | 2 -- tests/Makefile.am | 21 + 4 files changed, 19 insertions(

Re: [Libosinfo] [libosinfo PATCH 3/3] README: document "check" for tests

2017-10-19 Thread Pino Toscano
On Tuesday, 17 October 2017 17:40:19 CEST Daniel P. Berrange wrote: > On Tue, Oct 17, 2017 at 05:23:33PM +0200, Pino Toscano wrote: > > "check" is required when building the tests (which are enabled by > > default), so document it. > > > > Signed-off-

Re: [Libosinfo] [libosinfo PATCH] tests: convert from check to the GLib testing framework

2017-10-19 Thread Pino Toscano
On Thursday, 19 October 2017 15:36:28 CEST Daniel P. Berrange wrote: > On Thu, Oct 19, 2017 at 03:14:24PM +0200, Pino Toscano wrote: > > diff --git a/tests/test-isodetect.c b/tests/test-isodetect.c > > index 7214531..97c86c4 100644 > > --- a/tests/test-isodetect.c > > +

Re: [Libosinfo] [libosinfo PATCH] tests: convert from check to the GLib testing framework

2017-10-19 Thread Pino Toscano
On Thursday, 19 October 2017 16:02:18 CEST Daniel P. Berrange wrote: > On Thu, Oct 19, 2017 at 03:59:02PM +0200, Pino Toscano wrote: > > On Thursday, 19 October 2017 15:36:28 CEST Daniel P. Berrange wrote: > > > On Thu, Oct 19, 2017 at 03:14:24PM +0200, Pino Toscano wrote:

Re: [Libosinfo] [libosinfo PATCH] tests: convert from check to the GLib testing framework

2017-10-19 Thread Pino Toscano
On Thursday, 19 October 2017 15:14:24 CEST Pino Toscano wrote: > GLib has shipped a testing framework for many years already, so we can > make use of it, replacing the external "check". > > The conversion only switches framework without changing the structure of &

[Libosinfo] [osinfo-db PATCH] ubuntu: add Ubuntu 17.10 info

2017-10-20 Thread Pino Toscano
Sources: - https://insights.ubuntu.com/2017/10/19/ubuntu-17-10-releases-with-gnome-kubernetes-1-8-minimal-base-images/ Signed-off-by: Pino Toscano <ptosc...@redhat.com> --- data/os/ubuntu.com/ubuntu-17.10.xml.in | 79 ++ 1 file changed, 79 insertions(+)

[Libosinfo] [libosinfo PATCH] ubuntu: add Ubuntu 17.10 test data

2017-10-20 Thread Pino Toscano
Signed-off-by: Pino Toscano <ptosc...@redhat.com> --- .../ubuntu17.10/ubuntu-17.10-desktop-amd64.iso.txt | 29 ++ .../ubuntu17.10/ubuntu-17.10-server-amd64.iso.txt | 29 ++ .../ubuntu17.10/ubuntu-17.10-server-arm64.iso.txt

[Libosinfo] [PATCH] debian: fix 8 & 9 locations

2018-02-23 Thread Pino Toscano
Use the latest versions available for them. --- data/os/debian.org/debian-8.xml.in | 4 ++-- data/os/debian.org/debian-9.xml.in | 16 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/data/os/debian.org/debian-8.xml.in b/data/os/debian.org/debian-8.xml.in index

[Libosinfo] [PATCH] ubuntu: fix 17.04 & 17.10 locations

2018-02-23 Thread Pino Toscano
Use the latest versions available, or point to old-releases for EOLed versions. --- data/os/ubuntu.com/ubuntu-17.04.xml.in | 14 +++--- data/os/ubuntu.com/ubuntu-17.10.xml.in | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git

Re: [Libosinfo] [osinfo-db/libosinfo PATCH 0/6] Add support to images

2018-11-01 Thread Pino Toscano
On Wednesday, 31 October 2018 23:55:32 CET Richard W.M. Jones wrote: > On Wed, Oct 31, 2018 at 10:45:32PM +0100, Fabiano Fidêncio wrote: > > Last but not least, I'm cc'ing here Richard Jones and Pino Toscano in > > order to get their input in the libguestfs bits ... mainly to k

Re: [Libosinfo] [osinfo-db/libosinfo PATCH 0/6] Add support to images

2018-11-01 Thread Pino Toscano
> > Last but not least, I'm cc'ing here Richard Jones and Pino Toscano in > order to get their input in the libguestfs bits ... mainly to know > whether explicitly depending on libguestfs is a good idea or not (and, > if not, to get some feedback on different approaches that coul

Re: [Libosinfo] [libosinfo PATCH] test-os: Add test_resources_inheritance()

2018-11-12 Thread Pino Toscano
ist_get_nth(OSINFO_LIST(os2_minimum_list), 0)); > +g_assert(OSINFO_IS_RESOURCES(os2_minimum)); g_assert_true > +os2_recommended = > OSINFO_RESOURCES(osinfo_list_get_nth(OSINFO_LIST(os2_recommended_list), 0)); > +g_assert(OSINFO_IS_RESO

Re: [Libosinfo] [libosinfo PATCH] Use g_list_free_full where easily possible

2018-12-20 Thread Pino Toscano
On Thursday, 20 December 2018 11:50:59 CET Fabiano Fidêncio wrote: > On Thu, 2018-12-20 at 10:56 +0100, Pino Toscano wrote: > > Use g_list_free_full instead of g_list_foreach + g_list_free, so the > > lists are cleared with a single call. > > > > test-isodete

[Libosinfo] [libosinfo PATCH] Use g_list_free_full where easily possible

2018-12-20 Thread Pino Toscano
Use g_list_free_full instead of g_list_foreach + g_list_free, so the lists are cleared with a single call. test-isodetect gets a void* wrapper, so there is no need to add casts everywhere. --- osinfo/osinfo_deployment.c | 8 +--- osinfo/osinfo_loader.c | 3 +-- tests/test-isodetect.c

Re: [Libosinfo] [osinfo-db PATCH v2 0/9] Add tree's URL info for debian/opensuse/ubuntu

2018-11-30 Thread Pino Toscano
n a different way. Using for the Debian/Ubuntu style of trees will make users of osinfo-db use these URLs as if they were Fedora/CentOS ones, resulting in failures. -- Pino Toscano signature.asc Description: This is a digitally signed message part.

Re: [Libosinfo] [libosinfo PATCH v4 03/10] Introduce OsinfoImage object

2018-11-23 Thread Pino Toscano
est) operating system. > + */ This comment was indeed copied from osinfo_media.c ;) Can you please amend it to not mention "installation images" but, e.g., pre-installed images? -- Pino Toscano signature.asc Description: This is a digitally signed message part. ___

[Libosinfo] [libosinfo PATCH] gitignore: remove old entries

2019-03-29 Thread Pino Toscano
Remove patterns referring to old tests, and in general to files that do not exist anymore. --- .gitignore | 22 -- 1 file changed, 22 deletions(-) diff --git a/.gitignore b/.gitignore index fb80e9f..f82d734 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,6 @@ AUTHORS *~

Re: [Libosinfo] [osinfo-db-tools PATCH 1/3] export: Fix wording in help output

2019-04-04 Thread Pino Toscano
On Thursday, 4 April 2019 17:47:42 CEST Fabiano Fidêncio wrote: >{ "root", 0, 0, G_OPTION_ARG_STRING, , > -N_("Installation root directory"), NULL, }, > +N_("Export te osinfo-db root directory"), NULL, }, typo, "te"

[Libosinfo] [libosinfo PATCH v2] gitignore: remove old entries, simplify existing ones

2019-04-01 Thread Pino Toscano
Remove patterns referring to old tests, and in general to files that do not exist anymore. Simplify few existing patterns into more general ones. --- .gitignore | 34 +- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/.gitignore b/.gitignore index

Re: [Libosinfo] [libosinfo PATCH] gitignore: remove old entries

2019-04-01 Thread Pino Toscano
On Friday, 29 March 2019 19:28:13 CEST Fabiano Fidêncio wrote: > On Fri, Mar 29, 2019 at 5:26 PM Pino Toscano wrote: > > > > Remove patterns referring to old tests, and in general to files that do > > not exist anymore. > > --- > > .gitignore | 22 -

[Libosinfo] [osinfo-db PATCH v3 2/2] win2k16: fix minimum storage size

2019-02-27 Thread Pino Toscano
The official documentation [1] specifies that 32 GB is the absolute minimum requirement. [1] https://docs.microsoft.com/en-us/windows-server/get-started/system-requirements --- data/os/microsoft.com/win-2k16.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Libosinfo] [osinfo-db PATCH v3 1/2] win: add Windows Server 2019 data

2019-02-27 Thread Pino Toscano
https://docs.microsoft.com/en-us/windows-server/get-started-19/whats-new-19 This new OS does not include any , and this is done on purpose: sadly, the ISOs have the same metadata (like Volume ID, etc) as win2k16 (Windows Server 2016), and thus it is not possible to distinguish them.

[Libosinfo] [osinfo-db PATCH v2 2/2] win2k16: fix minimum storage size

2019-02-27 Thread Pino Toscano
The official documentation [1] specifies that 32 GB is the absolute minimum requirement. [1] https://docs.microsoft.com/en-us/windows-server/get-started/system-requirements --- data/os/microsoft.com/win-2k16.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Libosinfo] [osinfo-db PATCH 1/2] win: add Windows Server 2019 data

2019-02-27 Thread Pino Toscano
https://docs.microsoft.com/en-us/windows-server/get-started-19/whats-new-19 --- data/os/microsoft.com/win-2k19.xml.in | 32 +++ 1 file changed, 32 insertions(+) create mode 100644 data/os/microsoft.com/win-2k19.xml.in diff --git a/data/os/microsoft.com/win-2k19.xml.in

[Libosinfo] [osinfo-db PATCH 2/2] win2k16: fix minimum storage size

2019-02-27 Thread Pino Toscano
The official documentation [1] specifies that 32 GB is the absolute minimum requirement. [1] https://docs.microsoft.com/en-us/windows-server/get-started/system-requirements --- data/os/microsoft.com/win-2k16.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [Libosinfo] [PATCH osinfo-db 1/4] fedora: anchor ambiguous treeinfo versions

2019-03-04 Thread Pino Toscano
^9$ > i386 > > > @@ -359,7 +359,7 @@ > > http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/9/Fedora/x86_64/os/ > > Fedora > - 9 > + ^9$ > x86_64 > > For the sake of coherency, should not this

Re: [Libosinfo] [osinfo-db PATCH 0/2] spec file changes

2019-03-05 Thread Pino Toscano
; Fabiano Fidêncio (2): > spec: Fix the Source URL > spec: Remove obsolete Group tag ACK series. -- Pino Toscano signature.asc Description: This is a digitally signed message part. ___ Libosinfo mailing list Libosinfo@redhat.com https://www.

Re: [Libosinfo] [osinfo-db-tools PATCH 0/4] spec files changes

2019-03-05 Thread Pino Toscano
; Fabiano Fidêncio (4): > mingw: Use %find_lang macro > spec: Add "BuildRequires: gcc" > mingw,spec: Remove obsolete Group tag > mingw,spec: Fix the Source URL ACK patches #2 to #4. -- Pino Toscano signature.asc Descripti

[Libosinfo] [osinfo-db PATCH 4/8] voidlinux: add Void Linux data

2019-02-15 Thread Pino Toscano
Set as rolling distribution, with all the devices available in a modern Linux kernel. Signed-off-by: Pino Toscano --- .../os/voidlinux.org/voidlinux-rolling.xml.in | 59 +++ 1 file changed, 59 insertions(+) create mode 100644 data/os/voidlinux.org/voidlinux-rolling.xml.in diff

[Libosinfo] [libosinfo PATCH 7/8] gentoo: add Gentoo Linux test data

2019-02-15 Thread Pino Toscano
Signed-off-by: Pino Toscano --- ...all-amd64-minimal-20190212T214502Z.iso.txt | 29 +++ ...stall-x86-minimal-20190214T185527Z.iso.txt | 29 +++ 2 files changed, 58 insertions(+) create mode 100644 tests/isodata/gentoo/gentoo/install-amd64-minimal

[Libosinfo] [PATCH 0/8] Support rolling distributions

2019-02-15 Thread Pino Toscano
This series adds a simple bit needed to properly track rolling distributions: with a "rolling" release status, it is easier for libosinfo users to handle this kind of distributions properly (e.g. by never considering them EOL). osinfo-db: Pino Toscano (4): schema: add 'rolling'

[Libosinfo] [osinfo-db PATCH 1/8] schema: add 'rolling' as release status

2019-02-15 Thread Pino Toscano
Add 'rolling' as possible value for the 'release-status' tag: this way, it will be possible to mark rolling distributions as such, making users able to deal with these distributions differently if needed. Signed-off-by: Pino Toscano --- data/schema/osinfo.rng.in | 2 +- 1 file changed, 1

[Libosinfo] [libosinfo PATCH 5/8] os: add OSINFO_RELEASE_STATUS_ROLLING

2019-02-15 Thread Pino Toscano
Add the OSINFO_RELEASE_STATUS_ROLLING value to the OsinfoReleaseStatus enum, to track the new "rolling" release-status available in the osinfo schema. Signed-off-by: Pino Toscano --- osinfo/osinfo_os.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/osinfo/osi

[Libosinfo] [osinfo-db PATCH 2/8] archlinux: add Arch Linux data

2019-02-15 Thread Pino Toscano
Set as rolling distribution, with all the devices available in a modern Linux kernel. Signed-off-by: Pino Toscano --- .../os/archlinux.org/archlinux-rolling.xml.in | 54 +++ 1 file changed, 54 insertions(+) create mode 100644 data/os/archlinux.org/archlinux-rolling.xml.in diff

Re: [Libosinfo] [osinfo-db PATCH v2 7/8] debian: Add new s for several releases

2019-04-18 Thread Pino Toscano
hough the schema describes any number is allowed. Hence, this change would change the only short-id available for these distros, breaking users. -- Pino Toscano signature.asc Description: This is a digitally signed message part. ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo

[Libosinfo] [osinfo-db PATCH] fedora: fix EOL date of Fedora 27

2019-05-29 Thread Pino Toscano
https://lists.fedoraproject.org/archives/list/devel-annou...@lists.fedoraproject.org/thread/ZSXRUH7JFXQNYP6JOAFTAUMSTLV6VMGO/ --- data/os/fedoraproject.org/fedora-27.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/fedoraproject.org/fedora-27.xml.in

[Libosinfo] [osinfo-db PATCH] fedora: add EOL date of Fedora 28

2019-05-29 Thread Pino Toscano
https://lists.fedoraproject.org/archives/list/devel-annou...@lists.fedoraproject.org/thread/RKGVIOHNF4HYC2FXEG7VRHMG7ARXGGRA/ --- data/os/fedoraproject.org/fedora-28.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/os/fedoraproject.org/fedora-28.xml.in

Re: [Libosinfo] [osinfo-db PATCH 1/2] openbsd-6.3: Fix derives-from

2019-05-29 Thread Pino Toscano
.org/openbsd-6.3.xml.in > +++ b/data/os/openbsd.org/openbsd-6.3.xml.in > @@ -9,7 +9,7 @@ > openbsd > <_vendor>OpenBSD Project > > - > + Oops. Sorry for the mistake, and good eye that spotted it. Thanks, -- Pino Toscano

[Libosinfo] [PATCH] opensuse: update openSUSE Leap 15.1 data after release

2019-05-27 Thread Pino Toscano
- remove the prerelease status - add the release date - add the URLs of the ISOs - switch the tree URL to https - update the isodata test data --- data/os/opensuse.org/opensuse-15.1.xml.in| 9 +++-- ...dia.iso.txt => openSUSE-Leap-15.1-DVD-x86_64.iso.txt} | 8

Re: [Libosinfo] [osinfo-db PATCH 0/2] Update sles/sled unknown entries

2019-05-27 Thread Pino Toscano
OK to me, although I would hold them until sles/sled 12.4 is added, and thus updating upgrades/derives-from at the same time. -- Pino Toscano signature.asc Description: This is a digitally signed message part. ___ Libosinfo mailing list Libosinfo@redha

Re: [Libosinfo] [osinfo-db PATCH] tests, test_dates: Keep just one implementation of _parse_iso_date()

2019-05-22 Thread Pino Toscano
t;good enough" - having the version check means it is easier to drop the old implementation when raising the minimum Python version required So I'm on -1 on this. -- Pino Toscano signature.asc Description: This is a digitally signed message part. ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo

[Libosinfo] [osinfo-db PATCH] tests: test_dates: work without datetime.date.fromisoformat()

2019-05-21 Thread Pino Toscano
datetime.date.fromisoformat() was introduced in Python 3.7, so provide an alternative implementation for it with older Python versions. Fixes commit 5da3b8fdd836a55a58365718e93d0372fcc2bf0b. --- tests/test_dates.py | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git

[Libosinfo] [PATCH 1/3] openbsd: add missing

2019-05-21 Thread Pino Toscano
Each OpenBSD release derives from the previous one, not just upgrades it. This makes sure that devices supported in old versions are used also in newer releases. --- data/os/openbsd.org/openbsd-5.9.xml.in | 1 + data/os/openbsd.org/openbsd-6.0.xml.in | 1 + data/os/openbsd.org/openbsd-6.1.xml.in

[Libosinfo] [osinfo-db PATCH 1/2] tests: get the release/EOL dates

2019-05-21 Thread Pino Toscano
--- tests/osinfo.py | 8 1 file changed, 8 insertions(+) diff --git a/tests/osinfo.py b/tests/osinfo.py index 3585f44..20c1866 100644 --- a/tests/osinfo.py +++ b/tests/osinfo.py @@ -137,6 +137,14 @@ class Os(_XMLBase): def get_network_install_resources(self, node): return

[Libosinfo] [osinfo-db PATCH 0/2] Add simple tests for the dates

2019-05-21 Thread Pino Toscano
Make sure that the release, and EOL dates are actually valid, and logically sane. Pino Toscano (2): tests: get the release/EOL dates tests: add a new test for dates tests/osinfo.py | 8 tests/test_dates.py | 22 ++ 2 files changed, 30 insertions(+) create

Re: [Libosinfo] [PATCH 2/3] openbsd: fill missing

2019-05-21 Thread Pino Toscano
On Tuesday, May 21, 2019 1:26:33 PM CEST Pino Toscano wrote: > diff --git a/data/os/openbsd.org/openbsd-6.0.xml.in > b/data/os/openbsd.org/openbsd-6.0.xml.in > index a233a1d..282f4ed 100644 > --- a/data/os/openbsd.org/openbsd-6.0.xml.in > +++ b/data/os/openbsd.org/openbsd-6.0.xm

[Libosinfo] [PATCH 3/3] openbsd: fix of 4.3

2019-05-21 Thread Pino Toscano
https://www.openbsd.org/43.html --- data/os/openbsd.org/openbsd-4.3.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/openbsd.org/openbsd-4.3.xml.in b/data/os/openbsd.org/openbsd-4.3.xml.in index a971d09..40533fd 100644 ---

[Libosinfo] [PATCH 0/3] Misc OpenBSD fixes

2019-05-21 Thread Pino Toscano
*** LOOK, A BLURB HERE! *** Pino Toscano (3): openbsd: add missing openbsd: fill missing openbsd: fix of 4.3 data/os/openbsd.org/openbsd-4.3.xml.in | 2 +- data/os/openbsd.org/openbsd-5.1.xml.in | 1 + data/os/openbsd.org/openbsd-5.2.xml.in | 1 + data/os/openbsd.org/openbsd-5.3.xml.in

[Libosinfo] [PATCH 2/3] openbsd: fill missing

2019-05-21 Thread Pino Toscano
The OpenBSD project supports only the latest, and the previous releases, so version N is EOL when N+2 is released. http://www.openbsd.org/faq/faq5.html#Flavors --- data/os/openbsd.org/openbsd-5.1.xml.in | 1 + data/os/openbsd.org/openbsd-5.2.xml.in | 1 + data/os/openbsd.org/openbsd-5.3.xml.in |

[Libosinfo] [osinfo-db PATCH 2/2] tests: add a new test for dates

2019-05-21 Thread Pino Toscano
For each OS, check two things: - release-date/eol-date are actually valid dates; this is needed because the schema just specifies the regex, and it cannot detect invalid dates such as "2019-05-00" or 2019-05-40" - if both release-date/eol-date are specified, eol-date must be later than

Re: [Libosinfo] [osinfo-db PATCH 2/2] tests: add a new test for dates

2019-05-21 Thread Pino Toscano
.eol_date] > return oses > > def getosxml_related(self, osxml): > ``` > > If I get your ack on this, I can just squash the patch into yours and > push without the need of a v2. LGTM, thanks. -- Pino Toscano signature.asc Description: This is a digitally

Re: [Libosinfo] [osinfo-db-tools PATCH] test_osinfo_db_path: Don't fail if OSINFO_*_DIR are set

2019-04-30 Thread Pino Toscano
t the variables in the test, to make it more stable w.r.t. the environment it runs in? -- Pino Toscano signature.asc Description: This is a digitally signed message part. ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo

Re: [Libosinfo] [libosinfo PATCH] tree: Return after calling g_task_return_error()

2019-07-17 Thread Pino Toscano
supported")); > > g_task_return_error(data->res, error); > +return; The changes seems fine -- shouldn't there be: create_from_location_async_data_free(data); before the return? -- Pino Toscano signature.asc Description: This is a digitally signed message

Re: Using gitlab labels for issues and MRs

2020-05-18 Thread Pino Toscano
zation level and they apply to > all projects. So these I created at the org > > https://gitlab.com/groups/libvirt/-/labels > > and then others I created at the project > > https://gitlab.com/libvirt/libvirt/-/labels > > I imagine the ones you suggest are probably mostly project level Yes, that's what I had in mind. Thanks, -- Pino Toscano signature.asc Description: This is a digitally signed message part.

Re: Using gitlab labels for issues and MRs

2020-05-18 Thread Pino Toscano
n issues and MRs. However I do find "needs-information" and "needs-work" useful though, I'll add them to my initial list. Thanks, -- Pino Toscano signature.asc Description: This is a digitally signed message part.

Using gitlab labels for issues and MRs

2020-05-14 Thread Pino Toscano
APIs Of course the above list is not comprehensive, however IMHO it can be a good start. -- Pino Toscano signature.asc Description: This is a digitally signed message part.

  1   2   >