Re: [Libosinfo] [osinfo-db 0/2] RFC: Add basic tests for osinfo-db (Part II)

2019-03-15 Thread Fabiano Fidêncio
On Fri, Mar 15, 2019 at 4:51 PM Fabiano Fidêncio wrote: > > This series, built atop of > https://www.redhat.com/archives/libosinfo/2019-March/msg00145.html, > introduces a test for media detection, similar to test-isodetect from > libosinfo. > > I'm pretty sure these p

[Libosinfo] [osinfo-db 2/2] test_media: Add detection test

2019-03-15 Thread Fabiano Fidêncio
gex module for python doesn't cope with POSIX regex (which are used as part of our db). Signed-off-by: Fabiano Fidêncio --- tests/unit/osinfo.py | 40 +++ tests/unit/test_media.py | 65 --- tests/unit/uti

Re: [Libosinfo] [osinfo-db 3/4] netbsd-7.1: Anchor volume-ids

2019-03-15 Thread Fabiano Fidêncio
On Fri, Mar 15, 2019 at 10:16 AM Fabiano Fidêncio wrote: > > Otherwise we can have 7.1 medias matching with 7.1.x medias. Well, we wouldn't, because of the volume-size. Seems that my test was actually not taking the volume-size into account (which was fixed later on and caught the is

[Libosinfo] [osinfo-db 3/4] netbsd-7.1: Anchor volume-ids

2019-03-15 Thread Fabiano Fidêncio
Otherwise we can have 7.1 medias matching with 7.1.x medias. Signed-off-by: Fabiano Fidêncio --- data/os/netbsd.org/netbsd-7.1.xml.in | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/data/os/netbsd.org/netbsd-7.1.xml.in b/data/os/netbsd.org/netbsd-7.1.xml.in

[Libosinfo] [osinfo-db 2/4] asiaunix-unknown: Simplify the volume-id regex

2019-03-15 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/asianux.com/asianux-unknown.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/asianux.com/asianux-unknown.xml.in b/data/os/asianux.com/asianux-unknown.xml.in index 8618eab..95d9508 100644 --- a/data/os/asianux.com

[Libosinfo] [osinfo-db 4/4] centos-6.6/centos-6.7: Fix volume-size of the medias

2019-03-15 Thread Fabiano Fidêncio
The volume-size of the 6.6 and 6.7 medias were taken as the ISO size showed when downloading the ISOs, instead of using the block size * volume size from the ISO. Signed-off-by: Fabiano Fidêncio --- data/os/centos.org/centos-6.6.xml.in | 12 ++-- data/os/centos.org/centos-6.7.xml.in

[Libosinfo] [osinfo-db 0/4] Small fixes caught while implementing osinfo-db tests

2019-03-15 Thread Fabiano Fidêncio
s are going to be removed in favour of the (coming soon) osinfo-db tests. Fabiano Fidêncio (4): asianux-7.2: Remove empty system-id tag asiaunix-unknown: Simplify the volume-id regex netbsd-7.1: Anchor volume-ids centos-6.6/centos-6.7: Fix volume-size of the medias data/os/asianux.com/asianu

[Libosinfo] [osinfo-db 1/4] asianux-7.2: Remove empty system-id tag

2019-03-15 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/asianux.com/asianux-7.2.xml.in | 1 - 1 file changed, 1 deletion(-) diff --git a/data/os/asianux.com/asianux-7.2.xml.in b/data/os/asianux.com/asianux-7.2.xml.in index 69219fd..b27d0b9 100644 --- a/data/os/asianux.com/asianux-7.2.xml.in +++ b/data/os

[Libosinfo] [osinfo-db PATCH 1/4] Makefile: Split xmllint from check

2019-03-13 Thread Fabiano Fidêncio
Let's have xmllint split from check so we can easily add more targets to to the `make check`. With the change `make lint` became an available make target as well. Signed-off-by: Fabiano Fidêncio --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makef

[Libosinfo] [osinfo-db PATCH 4/4] tests: Add image tests

2019-03-13 Thread Fabiano Fidêncio
Image tests, at least for now, consist only in the equivalent of test-imageuris.c from libosinfo and behaves in the same way, being executed only if OSINFO_DB_NETWORK_TESTS is set. Signed-off-by: Fabiano Fidêncio --- tests/unit/osinfo.py | 18 ++ tests/unit/test_image.py

[Libosinfo] [osinfo-db PATCH 3/4] tests: Add tree tests

2019-03-13 Thread Fabiano Fidêncio
Tree tests, at least for now, consist only in the equivalent of test-treeuris.c from libosinfo and behaves in the same way, being executed only if OSINFO_DB_NETWORK_TESTS is set. Signed-off-by: Fabiano Fidêncio --- tests/unit/osinfo.py| 18 ++ tests/unit/test_tree.py | 20

[Libosinfo] [osinfo-db PATCH 0/4] RFC: Add basic tests for osinfo-db

2019-03-13 Thread Fabiano Fidêncio
. As osinfo-db doesn't rely on autotools, some hacks have been in the Makefile in order to keep one log file per test. Fabiano Fidêncio (4): Makefile: Split xmllint from check tests: Add media tests tests: Add tree tests tests: Add image tests .gitignore | 5 ++- Mak

[Libosinfo] [osinfo-db PATCH 2/4] tests: Add media tests

2019-03-13 Thread Fabiano Fidêncio
Media tests, at least for now, consist only in the equivalent of test-mediauris.c from libosinfo and behaves in the same way, being executed only if OSINFO_DB_NETWORK_TESTS is set. Signed-off-by: Fabiano Fidêncio --- .gitignore | 5 - Makefile | 17

[Libosinfo] [osinfo-db PATCH v2 22/25] rhel-8: Adjust version regex for x86_64 treeinfo

2019-03-12 Thread Fabiano Fidêncio
Let's make it match *only* with 8.0, avoiding it to match with 8.0.0 (for instance). Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-8.0.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/redhat.com/rhel-8.0.xml.in b/data/os/redhat.com/rhe

[Libosinfo] [osinfo-db PATCH v2 24/25] rhel-8-unknown: Adjust the regex for the volume id

2019-03-12 Thread Fabiano Fidêncio
Currently our regex consider cases as 8-x with x > 0. Although the case shown above has still to be considered, we also have to consider: 8-x-y, with x >= 0 and y >= 0. Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-8-unknown.xml.in | 8 1 file changed, 4 inserti

[Libosinfo] [osinfo-db PATCH v2 19/25] rhel-7.6: Anchor the treeinfo version

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-7.6.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/redhat.com/rhel-7.6.xml.in b/data/os/redhat.com/rhel-7.6.xml.in index 1098c77..38ffeea 100644 --- a/data/os/redhat.com/rhel-7.6.xml.in +++ b/data/os

[Libosinfo] [osinfo-db PATCH v2 18/25] rhel-7.5: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-7.5.xml.in | 24 1 file changed, 24 insertions(+) diff --git a/data/os/redhat.com/rhel-7.5.xml.in b/data/os/redhat.com/rhel-7.5.xml.in index 2eaa163..f31e6c5 100644 --- a/data/os/redhat.com/rhel-7.5.xml.in

[Libosinfo] [osinfo-db PATCH v2 13/25] rhel-7.1: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-7.1.xml.in | 24 1 file changed, 24 insertions(+) diff --git a/data/os/redhat.com/rhel-7.1.xml.in b/data/os/redhat.com/rhel-7.1.xml.in index 8a43acf..cb8c635 100644 --- a/data/os/redhat.com/rhel-7.1.xml.in

[Libosinfo] [osinfo-db PATCH v2 23/25] rhel-8.0: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-8.0.xml.in | 32 ++ 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-8.0.xml.in b/data/os/redhat.com/rhel-8.0.xml.in index 28bdde0..7dfef6e 100644 --- a/data/os/redhat.com/rhel-8.0

[Libosinfo] [osinfo-db PATCH v2 12/25] rhel-7.0: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-7.0.xml.in | 24 1 file changed, 24 insertions(+) diff --git a/data/os/redhat.com/rhel-7.0.xml.in b/data/os/redhat.com/rhel-7.0.xml.in index 1c79e35..c1850e5 100644 --- a/data/os/redhat.com/rhel-7.0.xml.in

[Libosinfo] [osinfo-db PATCH v2 08/25] rhel-6.7: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-6.7.xml.in | 32 ++ 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-6.7.xml.in b/data/os/redhat.com/rhel-6.7.xml.in index a3b2e38..9e8ef32 100644 --- a/data/os/redhat.com/rhel-6.7

[Libosinfo] [osinfo-db PATCH v2 17/25] rhel-7.5: Anchor the treeinfo version

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-7.5.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/redhat.com/rhel-7.5.xml.in b/data/os/redhat.com/rhel-7.5.xml.in index 6dea055..2eaa163 100644 --- a/data/os/redhat.com/rhel-7.5.xml.in +++ b/data/os

[Libosinfo] [osinfo-db PATCH v2 21/25] rhel-7-unknown: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-7-unknown.xml.in | 32 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-7-unknown.xml.in b/data/os/redhat.com/rhel-7-unknown.xml.in index c436887..c0be24a 100644 --- a/data/os/redhat.com

[Libosinfo] [osinfo-db PATCH v2 25/25] rhel-8-unknown: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-8-unknown.xml.in | 32 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-8-unknown.xml.in b/data/os/redhat.com/rhel-8-unknown.xml.in index 8882940..3bb6f98 100644 --- a/data/os/redhat.com

[Libosinfo] [osinfo-db PATCH v2 16/25] rhel-7.4: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-7.4.xml.in | 32 ++ 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-7.4.xml.in b/data/os/redhat.com/rhel-7.4.xml.in index 72bb357..cdc33a1 100644 --- a/data/os/redhat.com/rhel-7.4

[Libosinfo] [osinfo-db PATCH v2 20/25] rhel-7.6: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-7.6.xml.in | 24 1 file changed, 24 insertions(+) diff --git a/data/os/redhat.com/rhel-7.6.xml.in b/data/os/redhat.com/rhel-7.6.xml.in index 38ffeea..615cecd 100644 --- a/data/os/redhat.com/rhel-7.6.xml.in

[Libosinfo] [osinfo-db PATCH v2 03/25] rhel-6.2: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-6.2.xml.in | 32 ++ 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-6.2.xml.in b/data/os/redhat.com/rhel-6.2.xml.in index dec3549..d8497d6 100644 --- a/data/os/redhat.com/rhel-6.2

[Libosinfo] [osinfo-db PATCH v2 11/25] rhel-6.10: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-6.10.xml.in | 32 + 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-6.10.xml.in b/data/os/redhat.com/rhel-6.10.xml.in index b46b7b9..0cfec00 100644 --- a/data/os/redhat.com/rhel-6.10

[Libosinfo] [osinfo-db PATCH v2 15/25] rhel-7.3: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-7.3.xml.in | 32 ++ 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-7.3.xml.in b/data/os/redhat.com/rhel-7.3.xml.in index 4418af7..147c294 100644 --- a/data/os/redhat.com/rhel-7.3

[Libosinfo] [osinfo-db PATCH v2 14/25] rhel-7.2: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-7.2.xml.in | 32 ++ 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-7.2.xml.in b/data/os/redhat.com/rhel-7.2.xml.in index 7cdae3b..4d167c1 100644 --- a/data/os/redhat.com/rhel-7.2

[Libosinfo] [osinfo-db PATCH v2 06/25] rhel-6.5: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-6.5.xml.in | 32 ++ 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-6.5.xml.in b/data/os/redhat.com/rhel-6.5.xml.in index c736dad..e406ecd 100644 --- a/data/os/redhat.com/rhel-6.5

[Libosinfo] [osinfo-db PATCH v2 04/25] rhel-6.3: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-6.3.xml.in | 32 ++ 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-6.3.xml.in b/data/os/redhat.com/rhel-6.3.xml.in index 374daf1..cacd5ae 100644 --- a/data/os/redhat.com/rhel-6.3

[Libosinfo] [osinfo-db PATCH v2 05/25] rhel-6.4: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-6.4.xml.in | 32 ++ 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-6.4.xml.in b/data/os/redhat.com/rhel-6.4.xml.in index 4d827c5..5acd236 100644 --- a/data/os/redhat.com/rhel-6.4

[Libosinfo] [osinfo-db PATCH v2 09/25] rhel-6.8: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-6.8.xml.in | 32 ++ 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-6.8.xml.in b/data/os/redhat.com/rhel-6.8.xml.in index b3bc6fa..b2bd3c1 100644 --- a/data/os/redhat.com/rhel-6.8

[Libosinfo] [osinfo-db PATCH v2 00/25] Add tree information for RHEL

2019-03-12 Thread Fabiano Fidêncio
ollowing Cole's suggestion. - Changes since v1: https://www.redhat.com/archives/libosinfo/2019-February/msg00181.html - Dropped the variants bits - Changed the arch from i386 to i686 - Anchored all the treeinfo versions Fabiano Fidêncio (25): rhel-6.0: Add tree information rhel-6.1:

[Libosinfo] [osinfo-db PATCH v2 10/25] rhel-6.9: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-6.9.xml.in | 32 ++ 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-6.9.xml.in b/data/os/redhat.com/rhel-6.9.xml.in index ef769f9..b060c84 100644 --- a/data/os/redhat.com/rhel-6.9

[Libosinfo] [osinfo-db PATCH v2 01/25] rhel-6.0: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-6.0.xml.in | 32 ++ 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-6.0.xml.in b/data/os/redhat.com/rhel-6.0.xml.in index 3029712..1164184 100644 --- a/data/os/redhat.com/rhel-6.0

[Libosinfo] [osinfo-db PATCH v2 07/25] rhel-6.6: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-6.6.xml.in | 32 ++ 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-6.6.xml.in b/data/os/redhat.com/rhel-6.6.xml.in index f281aaf..5c1001c 100644 --- a/data/os/redhat.com/rhel-6.6

[Libosinfo] [osinfo-db PATCH v2 02/25] rhel-6.1: Add tree information

2019-03-12 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-6.1.xml.in | 32 ++ 1 file changed, 32 insertions(+) diff --git a/data/os/redhat.com/rhel-6.1.xml.in b/data/os/redhat.com/rhel-6.1.xml.in index dda363e..0d73078 100644 --- a/data/os/redhat.com/rhel-6.1

[Libosinfo] [osinfo-db PATCH 3/4] centos6.x: Fix kernel/initrd path for Live medias

2019-03-11 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/centos.org/centos-6.10.xml.in | 8 data/os/centos.org/centos-6.3.xml.in | 4 ++-- data/os/centos.org/centos-6.7.xml.in | 16 data/os/centos.org/centos-6.8.xml.in | 16 data/os/centos.org/centos-6.9.xml.in

[Libosinfo] [osinfo-db PATCH 2/4] centos: Mark live medias as not suitable for unattended installations

2019-03-11 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/centos.org/centos-6.10.xml.in | 4 ++-- data/os/centos.org/centos-6.3.xml.in | 2 +- data/os/centos.org/centos-6.7.xml.in | 8 data/os/centos.org/centos-6.8.xml.in | 8 data/os/centos.org/centos-6.9.xml.in | 4 ++-- data/os

[Libosinfo] [libosinfo/osinfo-db PATCH 0/4] centos: Live medias fixes

2019-03-11 Thread Fabiano Fidêncio
medias we have listed as not suitable for unattended installations - Fixing the kernel/initrd path for the Live medias osinfo-db: Fabiano Fidêncio (3): centos7.0: Tune the volume-id regex for LiveGNOME medias centos: Mark live medias as not suitable for unattended installations centos6

[Libosinfo] [libosinfo PATCH 4/4] isodata, centos: Add a new LiveGNOME isodata

2019-03-11 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- ...S-7-x86_64-LiveGNOME-new-volume-id.iso.txt | 29 +++ 1 file changed, 29 insertions(+) create mode 100644 tests/isodata/centos/centos7.0/CentOS-7-x86_64-LiveGNOME-new-volume-id.iso.txt diff --git a/tests/isodata/centos/centos7.0/CentOS-7

[Libosinfo] [osinfo-db PATCH 1/4] centos7.0: Tune the volume-id regex for LiveGNOME medias

2019-03-11 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/centos.org/centos-7.0.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/centos.org/centos-7.0.xml.in b/data/os/centos.org/centos-7.0.xml.in index 7fc6d8d..b3a6bbc 100644 --- a/data/os/centos.org/centos-7.0.xml.in +++ b

[Libosinfo] [osinfo-db-tools PATCH] readme: Add json-glib as dependency

2019-03-08 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- README | 1 + 1 file changed, 1 insertion(+) diff --git a/README b/README index 411ceb2..b0faebb 100644 --- a/README +++ b/README @@ -19,6 +19,7 @@ Dependencies - Required: - gobject-2.0 - gio-2.0 + - json-glib - libarchive3 - libxml-2.0

[Libosinfo] [PATCH] ubuntu14.04: Add desktop installer script to desktop medias

2019-03-08 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- After realising that 14.04 is still going on, I gave an express-installation a try for the desktop profile (for the desktop medias) and it just works as expected! --- data/os/ubuntu.com/ubuntu-14.04.xml.in | 6 ++ 1 file changed, 6 insertions(+) diff

[Libosinfo] [osinfo-db PATCH] ubuntu14.04: Update URLs from 14.04.5 to 14.04.6

2019-03-08 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- Pushed as test-mediauris fix --- data/os/ubuntu.com/ubuntu-14.04.xml.in | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-14.04.xml.in b/data/os/ubuntu.com/ubuntu-14.04.xml.in index b7500cd..dccb815 100644

Re: [Libosinfo] [libosinfo PATCH 1/4] fedora, kickstart: Use autopart when possible

2019-03-08 Thread Fabiano Fidêncio
On Thu, 2019-03-07 at 19:00 -0500, Cole Robinson wrote: > On 3/7/19 5:30 AM, Fabiano Fidêncio wrote: > > Let's take advantage of "autopart" and stop setting up the > > partitions > > manually. > > > > autopart is available since F

Re: [Libosinfo] [libosinfo PATCH 1/7] spec: Switch to %ldconfig_scriptlets

2019-03-07 Thread Fabiano Fidêncio
On Tue, 2019-03-05 at 14:47 +0100, Christophe Fergeau wrote: > On Tue, Mar 05, 2019 at 10:37:49AM +0100, Fabiano Fidêncio wrote: > > This commit is bringing upstream the change done on Fedora on > > af0ce7aab60e. > > Feature is documented at > https://fedora

[Libosinfo] [libosinfo PATCH 3/4] rhel, kickstart: Use autopart when possible

2019-03-07 Thread Fabiano Fidêncio
Let's take advantage of "autopart" and stop setting up the partitions manually. autopart is available since RHEL-6 according to its documentation: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/installation_guide/s1-kickstart2-options Signed-

[Libosinfo] [libosinfo PATCH 4/4] centos, kickstart: Use autopart when possible

2019-03-07 Thread Fabiano Fidêncio
Let's take advantage of "autopart" and stop setting up the partitions manually. autopart is available since RHEL-6 according to its documentation: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/installation_guide/s1-kickstart2-options Signed-

[Libosinfo] [libosinfo PATCH 2/4] silverblue, kickstart: Use autopart when possible

2019-03-07 Thread Fabiano Fidêncio
Let's take advantage of "autopart" and stop setting up the partitions manually. autopart is available since Fedora3 according to its documentation: https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#id3 Signed-off-by: Fabiano Fidêncio --- .../silverblue-kickstart

[Libosinfo] [libosinfo PATCH 1/4] fedora, kickstart: Use autopart when possible

2019-03-07 Thread Fabiano Fidêncio
Let's take advantage of "autopart" and stop setting up the partitions manually. autopart is available since Fedora3 according to its documentation: https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#id3 Signed-off-by: Fabiano Fidêncio --- .../fedoraproject.org/f

[Libosinfo] [libosinfo PATCH 1/3] centos, kickstart: Improve installation URL usage

2019-03-07 Thread Fabiano Fidêncio
Let's always prefer using the URL passed by some management app, if there's not, let's fallback to the URL set in the OsinfoTree and, finally, if there's none, let's fallback to the known one. Signed-off-by: Fabiano Fidêncio --- .../centos-kickstart-desk

[Libosinfo] [libosinfo PATCH 2/3] rhel, kickstart: Be aware of network installations

2019-03-07 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- .../redhat.com/rhel-kickstart-desktop.xml.in| 17 + .../redhat.com/rhel-kickstart-jeos.xml.in | 17 + 2 files changed, 34 insertions(+) diff --git a/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in b/data

[Libosinfo] [libosinfo PATCH 3/3] rhel, kickstart: Provide support for initrd injection

2019-03-07 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- .../redhat.com/rhel-kickstart-desktop.xml.in| 17 + .../redhat.com/rhel-kickstart-jeos.xml.in | 17 + 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/data/install-script/redhat.com/rhel-kickstart

[Libosinfo] [libosinfo PATCH] spec: Add build_timestamp to the Release

2019-03-07 Thread Fabiano Fidêncio
a releases will always use 1. Meaning that users wouldn't face any issue upgrading from a custom generated build to a Fedora official one. Signed-off-by: Fabiano Fidêncio --- If this patch gets accepted, I'll propose the same changes for osinfo-db-tools. I'm not totally sure wheth

[Libosinfo] [libosinfo PATCH 2/2] tests: Add coverage for _set_installer_url()

2019-03-06 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- tests/install-script.xsl| 1 + tests/test-install-script.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/tests/install-script.xsl b/tests/install-script.xsl index f355152..09a5308 100644 --- a/tests/install-script.xsl +++ b/tests/install

[Libosinfo] [libosinfo PATCH 1/2] install-config: Add _set_installer_url()

2019-03-06 Thread Fabiano Fidêncio
Although the installer URL can be taken from OsinfoTree, there are situations where OsinfoTree doesn't have a URL or even the management apps should prefer the URL set by their users instead of fallbacking to the one get from OsinfoTree. Signed-off-by: Fabiano Fidêncio --- osinfo/libosinfo

[Libosinfo] [libosinfo PATCH 3/4] haikunightly: Update test data

2019-03-05 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- .../haikunightly/haiku-nightly-anyboot-x86.iso.txt | 29 ++ .../haiku-nightly-anyboot-x86_64.iso.txt | 29 ++ .../haikunightly/haiku-nightly-anyboot.iso.txt | 29 -- 3 files changed, 58

[Libosinfo] [osinfo-db PATCH 2/4] haikur1beta1: Add info

2019-03-05 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/haiku-os.org/haiku-r1beta1.xml.in | 44 +++ 1 file changed, 44 insertions(+) create mode 100644 data/os/haiku-os.org/haiku-r1beta1.xml.in diff --git a/data/os/haiku-os.org/haiku-r1beta1.xml.in b/data/os/haiku-os.org/haiku

[Libosinfo] [libosinfo PATCH 4/4] haikur1beta1: Add tests data

2019-03-05 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- .../haikur1beta1/haiku-release-anyboot-x86.iso.txt | 29 ++ .../haiku-release-anyboot-x86_64.iso.txt | 29 ++ 2 files changed, 58 insertions(+) create mode 100644 tests/isodata/haiku/haikur1beta1/haiku

[Libosinfo] [osinfo-db PATCH 0/4] Update haiku entries

2019-03-05 Thread Fabiano Fidêncio
gitlab.com/libosinfo/osinfo-db/issues/18 osinfo-db: Fabiano Fidêncio (2): haiku-nightly: Update volume-id haikur1beta1: Add info data/os/haiku-os.org/haiku-nightly.xml.in | 9 +-- data/os/haiku-os.org/haiku-r1beta1.xml.in | 44 +++ 2 files c

[Libosinfo] [osinfo-db PATCH 1/4] haiku-nightly: Update volume-id

2019-03-05 Thread Fabiano Fidêncio
After some back and forth with haiku community, we've fixed Haiku's volume-id for nightly and new versions. Signed-off-by: Fabiano Fidêncio --- data/os/haiku-os.org/haiku-nightly.xml.in | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/data/os/haiku-os

[Libosinfo] [osinfo-db PATCH] centos7: Add CentOS 7 entry

2019-03-05 Thread Fabiano Fidêncio
ange centos-7.0 to "clone" centos-7. Although this is not the most elegant solution, it ensures we properly advertise CentOS in the way its community wants and also do not break backward compatibility. Signed-off-by: Fabiano Fidêncio --- data/os/centos.org/centos-7.0.xml.in | 4 +-

Re: [Libosinfo] [PATCH osinfo-db 0/6] centos and scientific linux

2019-03-05 Thread Fabiano Fidêncio
On Tue, 2019-03-05 at 10:43 -0500, Cole Robinson wrote: > On 3/5/19 10:31 AM, Fabiano Fidêncio wrote: > > On Tue, 2019-03-05 at 09:33 -0500, Cole Robinson wrote: > > > On 3/5/19 7:52 AM, Fabiano Fidêncio wrote: > > > > On Tue, 2019-03-05 at 13:48 +0100, Fabiano Fi

Re: [Libosinfo] [PATCH osinfo-db 0/6] centos and scientific linux

2019-03-05 Thread Fabiano Fidêncio
On Tue, 2019-03-05 at 09:33 -0500, Cole Robinson wrote: > On 3/5/19 7:52 AM, Fabiano Fidêncio wrote: > > On Tue, 2019-03-05 at 13:48 +0100, Fabiano Fidêncio wrote: > > > On Tue, 2019-03-05 at 13:22 +0100, Fabiano Fidêncio wrote: > > > > On Fri, 2019-03-01 at 18

Re: [Libosinfo] [osinfo-db-tools PATCH 1/4] mingw: Use %find_lang macro

2019-03-05 Thread Fabiano Fidêncio
On Tue, 2019-03-05 at 14:34 +0100, Christophe Fergeau wrote: > On Tue, Mar 05, 2019 at 10:42:26AM +0100, Fabiano Fidêncio wrote: > > Signed-off-by: Fabiano Fidêncio > > --- > > mingw-osinfo-db-tools.spec.in | 10 ++ > > 1 file changed, 6 insertions(+), 4 delet

Re: [Libosinfo] [libosinfo PATCH 1/7] spec: Switch to %ldconfig_scriptlets

2019-03-05 Thread Fabiano Fidêncio
On Tue, 2019-03-05 at 14:47 +0100, Christophe Fergeau wrote: > On Tue, Mar 05, 2019 at 10:37:49AM +0100, Fabiano Fidêncio wrote: > > This commit is bringing upstream the change done on Fedora on > > af0ce7aab60e. > > Feature is documented at > https://fedora

Re: [Libosinfo] [libosinfo PATCH 5/7] spec: Use standard vala packaging pattern where vapi files are in -devel

2019-03-05 Thread Fabiano Fidêncio
ange in the first place, but I guess > now is too late ;) The change made on Fedora dist-git doesn't include the conditionals as it was done only for F30+. Would you prefer to have the checks completely dropped? [snip] Best Regards, -- Fabiano Fidêncio _

Re: [Libosinfo] [PATCH osinfo-db 0/4] treeinfo data fixes

2019-03-05 Thread Fabiano Fidêncio
tect the URL as the same OS that it's listed > with. > I'll attach the script in a follow up mail. > > This series fixes the issues the script discovered. Although I agree with Pino's comments, I don't think this series should be blocked till we have all the Fedora ve

Re: [Libosinfo] [PATCH osinfo-db 0/6] centos and scientific linux

2019-03-05 Thread Fabiano Fidêncio
On Tue, 2019-03-05 at 13:48 +0100, Fabiano Fidêncio wrote: > On Tue, 2019-03-05 at 13:22 +0100, Fabiano Fidêncio wrote: > > On Fri, 2019-03-01 at 18:41 -0500, Cole Robinson wrote: > > > This series adds: > > > > > > * centos5 entries > > >

Re: [Libosinfo] [PATCH osinfo-db 0/6] centos and scientific linux

2019-03-05 Thread Fabiano Fidêncio
On Tue, 2019-03-05 at 13:22 +0100, Fabiano Fidêncio wrote: > On Fri, 2019-03-01 at 18:41 -0500, Cole Robinson wrote: > > This series adds: > > > > * centos5 entries > > * centos6 data > > * scientificlinux 5.X > > * scientificlinux 6.X > > * scie

Re: [Libosinfo] [PATCH osinfo-db 6/6] Add scientificlinux-7.X

2019-03-05 Thread Fabiano Fidêncio
9,7 @@ linux scientificlinux http://scientificlinux.org/scientificlinux/7.5"/> - http://scientificlinux.org/scientificlinux/7.6"/> +http://redhat.com/rhel/7.6"/> 2018-12-03 With the fixup: Reviewed-by: Fabiano Fidêncio Best Regards, -- Fabiano Fidêncio ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo

Re: [Libosinfo] [PATCH osinfo-db] data: Remove hard tabs

2019-03-05 Thread Fabiano Fidêncio
On Sat, 2019-03-02 at 16:09 -0500, Cole Robinson wrote: > Most XML files are free of hard tabs, but some aren't, and it creates > weird visual indents in git diffs. > > Let's standardize on _not_ using hard tabs > > Signed-off-by: Cole Robinson Reviewed-by: Fab

Re: [Libosinfo] [PATCH osinfo-db 0/6] centos and scientific linux

2019-03-05 Thread Fabiano Fidêncio
an, will 7.6 be considered EOL whenever 7.7 is released? If so, we'd also have to add the EOL to the 7.x entries. Anyways, for patches #1 to #5: Reviewed-by: Fabiano Fidêncio [snip] Best Regards, -- Fabiano Fidêncio ___ Libosinfo mailing list

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

2019-03-05 Thread Fabiano Fidêncio
Let's update our specfiles according to some changes already done downstream (Fedora's dist-git). The changes that are not on Fedora yet, will be pushed there after those patches get approved. Fabiano Fidêncio (4): mingw: Use %find_lang macro spec: Add "BuildRequires: gc

[Libosinfo] [osinfo-db-tools PATCH 4/4] mingw, spec: Fix the Source URL

2019-03-05 Thread Fabiano Fidêncio
https://releases.pagure.org/libosinfo/... instead of https://releases.pagure.io/libosinfo/... Signed-off-by: Fabiano Fidêncio --- mingw-osinfo-db-tools.spec.in | 2 +- osinfo-db-tools.spec.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mingw-osinfo-db

[Libosinfo] [osinfo-db-tools PATCH 3/4] mingw, spec: Remove obsolete Group tag

2019-03-05 Thread Fabiano Fidêncio
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag Signed-off-by: Fabiano Fidêncio --- mingw-osinfo-db-tools.spec.in | 1 - osinfo-db-tools.spec.in | 1 - 2 files changed, 2 deletions(-) diff --git a/mingw-osinfo-db-tools.spec.in b/mingw-osinfo-db-tools.spec.in index

[Libosinfo] [osinfo-db-tools PATCH 1/4] mingw: Use %find_lang macro

2019-03-05 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- mingw-osinfo-db-tools.spec.in | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mingw-osinfo-db-tools.spec.in b/mingw-osinfo-db-tools.spec.in index 486492f..14e275c 100644 --- a/mingw-osinfo-db-tools.spec.in +++ b/mingw-osinfo-db

[Libosinfo] [osinfo-db PATCH 2/2] spec: Remove obsolete Group tag

2019-03-05 Thread Fabiano Fidêncio
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag Signed-off-by: Fabiano Fidêncio --- osinfo-db.spec.in | 1 - 1 file changed, 1 deletion(-) diff --git a/osinfo-db.spec.in b/osinfo-db.spec.in index 1d6a549..046be52 100644 --- a/osinfo-db.spec.in +++ b/osinfo-db.spec.in

[Libosinfo] [osinfo-db PATCH 1/2] spec: Fix the Source URL

2019-03-05 Thread Fabiano Fidêncio
https://releases.pagure.org/libosinfo/... instead of https://releases.pagure.io/libosinfo/... Signed-off-by: Fabiano Fidêncio --- osinfo-db.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osinfo-db.spec.in b/osinfo-db.spec.in index 375b2f9..1d6a549 100644 --- a

[Libosinfo] [osinfo-db-tools PATCH 2/4] spec: Add "BuildRequires: gcc"

2019-03-05 Thread Fabiano Fidêncio
This change is bringing upstream the changes done on Fedora on 5195c8b989be. Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot Signed-off-by: Fabiano Fidêncio --- osinfo-db-tools.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/osinfo-db-tools.spec.in b

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

2019-03-05 Thread Fabiano Fidêncio
Let's update our specfiles according to some changes already done downstream (Fedora's dist-git). The changes that are not on Fedora yet, will be pushed there after those patches get approved. Fabiano Fidêncio (2): spec: Fix the Source URL spec: Remove obsolete Group tag osinfo-

[Libosinfo] [libosinfo PATCH 5/7] spec: Use standard vala packaging pattern where vapi files are in -devel

2019-03-05 Thread Fabiano Fidêncio
This commit brings upstream the changes done on Fedora on 42b96ea66d7b3e. Signed-off-by: Fabiano Fidêncio --- libosinfo.spec.in | 14 ++ 1 file changed, 14 insertions(+) diff --git a/libosinfo.spec.in b/libosinfo.spec.in index 6aae7d7..3cf73ff 100644 --- a/libosinfo.spec.in +++ b

[Libosinfo] [libosinfo PATCH 2/7] spec: Remove needless use of %defattr

2019-03-05 Thread Fabiano Fidêncio
This commit is bringing upstream the change done on Fedora on 4a678b2f4d59, Signed-off-by: Fabiano Fidêncio --- libosinfo.spec.in | 3 --- 1 file changed, 3 deletions(-) diff --git a/libosinfo.spec.in b/libosinfo.spec.in index 57f8d94..8dc4d2b 100644 --- a/libosinfo.spec.in +++ b

[Libosinfo] [libosinfo PATCH 6/7] mingw: Use %find_Lang macro

2019-03-05 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- mingw-libosinfo.spec.in | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mingw-libosinfo.spec.in b/mingw-libosinfo.spec.in index e99885c..14b4c60 100644 --- a/mingw-libosinfo.spec.in +++ b/mingw-libosinfo.spec.in @@ -89,7 +89,11

[Libosinfo] [libosinfo PATCH 1/7] spec: Switch to %ldconfig_scriptlets

2019-03-05 Thread Fabiano Fidêncio
This commit is bringing upstream the change done on Fedora on af0ce7aab60e. Signed-off-by: Fabiano Fidêncio --- libosinfo.spec.in | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libosinfo.spec.in b/libosinfo.spec.in index fd7e55c..57f8d94 100644 --- a/libosinfo.spec.in

[Libosinfo] [libosinfo PATCH 3/7] mingw, spec: Remove obsolete Group tag

2019-03-05 Thread Fabiano Fidêncio
This commit brings upstream the changes done on Fedora on 61fea0d48407c0ee, References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag Signed-off-by: Fabiano Fidêncio --- libosinfo.spec.in | 3 --- mingw-libosinfo.spec.in | 1 - 2 files changed, 4 deletions(-) diff --git a

[Libosinfo] [libosinfo PATCH 4/7] spec: Add "BuildRequires: gcc"

2019-03-05 Thread Fabiano Fidêncio
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot Signed-off-by: Fabiano Fidêncio --- libosinfo.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/libosinfo.spec.in b/libosinfo.spec.in index 648b56e..6aae7d7 100644 --- a/libosinfo.spec.in +++ b

[Libosinfo] [libosinfo PATCH 7/7] mingw,spec: Fix the Source URL

2019-03-05 Thread Fabiano Fidêncio
https://releases.pagure.org/libosinfo/... instead of https://releases.pagure.io/libosinfo/... Signed-off-by: Fabiano Fidêncio --- libosinfo.spec.in | 2 +- mingw-libosinfo.spec.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libosinfo.spec.in b/libosinfo.spec.in

[Libosinfo] [libosinfo PATCH 0/7] spec files changes

2019-03-05 Thread Fabiano Fidêncio
Let's update our specfiles according to some changes already done downstream (Fedora's dist-git). The changes that are not on Fedora yet, will be pushed there after those patches get approved. Fabiano Fidêncio (7): spec: Switch to %ldconfig_scriptlets spec: Remove needless use o

[Libosinfo] [osinfo-db-tools PATCH] spec: Add mingw-json-glib as a dependency

2019-03-04 Thread Fabiano Fidêncio
Since 1.3.0 we depend on json-glib. Signed-off-by: Fabiano Fidêncio --- mingw-osinfo-db-tools.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mingw-osinfo-db-tools.spec.in b/mingw-osinfo-db-tools.spec.in index d8d7665..486492f 100644 --- a/mingw-osinfo-db-tools.spec.in +++ b/mingw

[Libosinfo] [osinfo-db PATCH] ubuntu18.04: Fix initrd path for the live desktop image

2019-03-04 Thread Fabiano Fidêncio
Without those, the unattended installation would fail on Boxes. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.04.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-18.04.xml.in b/data/os/ubuntu.com/ubuntu-18.04.xml.in index

[Libosinfo] ANNOUNCE: osinfo-db-tools 1.4.0 release

2019-03-01 Thread Fabiano Fidêncio
.tar.gz.asc All historical releases are available from: http://libosinfo.org/download/ Changes in this release include: - Refreshed translations from Zanata - Drop deprecated gnome-common and intltool Thanks to everyone who contributed to this release Best Regards, Fabiano Fidêncio

[Libosinfo] ANNOUNCE: libosinfo 1.4.0 release

2019-03-01 Thread Fabiano Fidêncio
tests - Add OSINFO_RELEASE_STATUS_ROLLING release status - Add API to add an installer script to a media - Add API to get all the installer scripts from a media Thanks to everyone who contributed to this release Best Regards, Fabiano Fidêncio

[Libosinfo] [osinfo-db PATCH] ubuntu16.04: Update URLs to 16.04.6 medias

2019-03-01 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- Pushed as test-mediauris fix --- 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 fbccc35..4523552

[Libosinfo] [libosinfo PATCH] syms: Add "global" to 1.4.0 symbols

2019-03-01 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- osinfo/libosinfo.syms | 1 + 1 file changed, 1 insertion(+) diff --git a/osinfo/libosinfo.syms b/osinfo/libosinfo.syms index dad0c3b..5c200e3 100644 --- a/osinfo/libosinfo.syms +++ b/osinfo/libosinfo.syms @@ -563,6 +563,7 @@ LIBOSINFO_1.3.0

Re: [Libosinfo] [PATCH osinfo-db 0/2] fallback

2019-03-01 Thread Fabiano Fidêncio
On Fri, Mar 1, 2019 at 12:48 AM Cole Robinson wrote: > > elements in the OS DB serve two broad purposes: > > 1) track public URLs, so apps can easily look up an install URL and >associated metadata like relative initrd/kernel paths > 2) track matching data, so users can use guess_os_by_tree

[Libosinfo] [libosinfo PATCH] tests: Add identify_media() tests

2019-02-28 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- .../dbdata/os/libosinfo.org/test-db-media.xml | 32 ++ tests/test-db.c | 58 +++ 2 files changed, 90 insertions(+) create mode 100644 tests/dbdata/os/libosinfo.org/test-db-media.xml diff --git a/tests

<    2   3   4   5   6   7   8   9   10   11   >