[Pkg-libvirt-commits] [Git][libvirt-team/libosinfo][debian/sid] 65 commits: Post-release version bump

Guido Günther gitlab at salsa.debian.org
Mon Sep 17 09:03:51 BST 2018


Guido Günther pushed to branch debian/sid at Libvirt Packaging Team / libosinfo


Commits:
a15586fd by Daniel P. Berrange at 2017-08-15T10:49:57Z
Post-release version bump

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>

- - - - -
b61be040 by Pino Toscano at 2017-10-16T09:12:22Z
Switch from libsoup to libcurl

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 support for other protocols.  No version check is
performed, since the APIs used are old enough.

Adapt also the README, and the packaging files.

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

- - - - -
93c54a31 by Pino Toscano at 2017-10-16T09:12:27Z
Revert "tests: test-mediauris: skip non-http URLs"

Now that test-mediauris uses libcurl, it can handle protocols different
than http(s), like ftp, just fine.

This reverts commit 4c9c7185475a9739af51a9fc680e5b8a97055467.

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

- - - - -
8a19e519 by Pino Toscano at 2017-10-16T09:12:30Z
tests: test-mediauris: raise timeout to 5 minutes

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.

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

- - - - -
641ded14 by Pierre-Alain TORET at 2017-10-16T09:12:32Z
openbsd: add OpenBSD 6.0 isodata

Signed-off-by: Pierre-Alain TORET <pierre-alain.toret at protonmail.com>
Acked-by: Christophe Fergeau <cfergeau at redhat.com>

- - - - -
1b6c5f27 by Pierre-Alain TORET at 2017-10-16T09:12:36Z
openbsd: add OpenBSD 6.1 isodata

Signed-off-by: Pierre-Alain TORET <pierre-alain.toret at protonmail.com>
Acked-by: Christophe Fergeau <cfergeau at redhat.com>

- - - - -
593a20ae by Pierre-Alain TORET at 2017-10-16T09:12:39Z
openbsd: add OpenBSD 6.2 isodata

Signed-off-by: Pierre-Alain TORET <pierre-alain.toret at protonmail.com>
Acked-by: Christophe Fergeau <cfergeau at redhat.com>

- - - - -
5a741552 by Pierre-Alain TORET at 2017-10-18T09:02:27Z
openbsd: add OpenBSD 5.9 isodata

Signed-off-by: Pierre-Alain TORET <pierre-alain.toret at protonmail.com>

- - - - -
206a5445 by Pino Toscano at 2017-10-19T10:56:12Z
build: fix disabling of tests

Actually use the result of the configure switch --enable-tests, enabling
or disabling the tests accordingly.

Signed-off-by: Pino Toscano <ptoscano at redhat.com>
Reviewed-by: Daniel P. Berrange <berrange at redhat.com>

- - - - -
cc5be3ae by Pino Toscano at 2017-10-19T10:56:20Z
build: make curl optional, and only for tests

Look for curl only when the tests are enabled, and as optional build
dependency.  If curl is missing, then the two network tests are not
built.  Also, limit the use of curl CFLAGS/LIBS only for the tests that
really need it.

As side result, it is possible to drop the curl BuildRequires from the
mingw spec, as it builds with --enable-tests=no.

Signed-off-by: Pino Toscano <ptoscano at redhat.com>
Reviewed-by: Daniel P. Berrange <berrange at redhat.com>

- - - - -
e51865eb by Pino Toscano at 2017-10-19T10:56:33Z
tests: convert from check to the GLib testing framework

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
the tests, making use of the more appropriate assertion in the various
places.

Signed-off-by: Pino Toscano <ptoscano at redhat.com>

- - - - -
0520470d by Roman Bogorodskiy at 2017-10-20T08:34:39Z
freebsd: Add FreeBSD 10.4 isodata

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

- - - - -
f11a191c by Pavel Hrdina at 2017-11-01T13:54:48Z
tests: get the curl response code every time

This failed on FreeBSD with following error:

../../tests/test-mediauris.c:47:13: error: variable 'response_code' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]

Reviewed-by: Daniel P. Berrange <berrange at redhat.com>
Signed-off-by: Pavel Hrdina <phrdina at redhat.com>

- - - - -
25a4aa05 by Pavel Hrdina at 2017-11-01T14:21:09Z
tests: get the curl response code every time (more)

This failed on FreeBSD with following error:

../../tests/test-treeuris.c:47:13: error: variable 'response_code' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>

- - - - -
9955c547 by Debarshi Ray at 2017-11-06T13:40:26Z
Marginally simplify the code to create and run a GMainLoop

Even though g_main_loop_new accepts a is_running parameter, it isn't
very important since g_main_loop_run will set it to TRUE anyway. There
is no requirement that it should be set before calling g_main_loop_run.
The vast majority of GMainLoop users simply ignore the is_running
parameter unless they are doing something out of the ordinary.

- - - - -
75c19ba9 by Christophe Fergeau at 2017-11-06T13:40:26Z
tests: Add test case for Windows 10 1709 builds

These are currently missing from osinfo-db

Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>

https://bugzilla.redhat.com/show_bug.cgi?id=1509387

- - - - -
862b8c4b by Zeeshan Ali at 2017-11-22T18:10:17Z
Drop redundant 'const' keyword from object parameters

Use of 'const' parameter on object parameters is redundant, inconsistent
(both internally and against other GObject libraries) and currently breaks
the low-level Rust binding generator:

https://github.com/gtk-rs/glib/pull/249

Signed-off-by: Zeeshan Ali <zeeshan at kinvolk.io>

- - - - -
af47d32b by Pino Toscano at 2017-11-29T17:07:05Z
ubuntu: add Ubuntu 17.10 test data

Signed-off-by: Pino Toscano <ptoscano at redhat.com>

- - - - -
03f4b905 by Daniel P. Berrange at 2017-12-04T16:45:30Z
Refresh translations from zanata

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>

- - - - -
4ba5728d by Christophe Fergeau at 2018-01-15T12:07:00Z
test-isodetect: Improve error message on detection failures

Since the switch to the GTest framework, when the test suite fails to
identify an ISO, the error message is:
ERROR:test-isodetect.c:359:test_one: 'matched' should be TRUE
while it used to be the much more explicit:
ERROR **: ISO alpine-extended-3.7.0_rc2-x86_64.iso.txt was not matched by OS alpinelinux3.7

This commit readds the explicit message on this particular failure.

Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>

- - - - -
7c3ad866 by Felipe Borges at 2018-02-14T12:34:13Z
freedos: add freedos 1.2 test data

- - - - -
fd208b43 by Felipe Borges at 2018-02-15T08:52:06Z
opensuse: add OpenSUSE Leap 42.3 test data

- - - - -
24440199 by Christophe Fergeau at 2018-02-16T10:25:38Z
NetBSD: add NetBSD 6.x and 7.x tests isodata

Based on a patch from Vicente Chaves de Melo <vchaves at ymail.com>

- - - - -
da9e4887 by Christophe Fergeau at 2018-02-19T09:12:01Z
test-isodetect: Iterate over all isodata/ subdirs

When adding support for a new vendor, test-isodetect.c needs to be
updated to list it, which is too easy to forget.
This commit iterates over subdirs in tests/isodata/ and uses these as
the vendors to test for. This means no further modification of
test-isodetect.c is needed when adding a new vendor.

Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>

- - - - -
6103f7fa by Daniel P. Berrangé at 2018-02-23T11:34:29Z
m4: turn off -Wfunction-cast-type warning flag from gcc8

GCC 8 adds -Wfunction-cast-type to -Wextra, but this breaks when using
G_DEFINE_TYPE which does so called "bad" function casts.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>

- - - - -
ec4fb588 by Christophe Fergeau at 2018-03-11T17:41:04Z
tests: Remove calls to g_log_set_always_fatal()

All tests call that method because they want g_warning() to be fatal.
Since the switch to GTest, this is no longer necessary as this is the
default  behaviour.

Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>
Reviewed-by: Fabiano Fidêncio <fabiano at fidencio.org>

- - - - -
e6e33024 by Felipe Borges at 2018-03-11T19:41:51Z
pop_os: add Pop!_OS test data

Reviewed-by: Fabiano Fidêncio <fabiano at fidencio.org>

- - - - -
77d71d08 by Felipe Borges at 2018-03-11T19:41:51Z
windows: add win2k16 test data

Reviewed-by: Fabiano Fidêncio <fabiano at fidencio.org>

- - - - -
03398308 by Charles Arnold at 2018-03-11T19:41:51Z
sles: add SLE12 SP3 ISO Information

Add SLE12 SP3 ISO Information

Signed-off-by: Charles Arnold <carnold at suse.com>
Reviewed-by: Fabiano Fidêncio <fabiano at fidencio.org>

- - - - -
d3acf865 by Pierre-Alain TORET at 2018-03-11T19:41:51Z
fedora: add Fedora 27 isodata

Signed-off-by: Pierre-Alain TORET <pierre-alain.toret at protonmail.com>
Reviewed-by: Fabiano Fidêncio <fabiano at fidencio.org>

- - - - -
55504f7c by Pierre-Alain TORET at 2018-03-18T19:27:13Z
fedora27: Add Atomic Workstation isodata

Reviewed-by: Fabiano Fidêncio <fabiano at fidencio.org>

- - - - -
aa06a8b2 by Daniel P. Berrangé at 2018-03-18T19:30:53Z
loader: process files in alphabetical order

Currently when loading DB files we process them in whatever order
readdir() returns them in, which is often inode order. This makes the
order of loading files non-deterministic across installs, and if there
are ambiguities in the data, we can in turn get different results.
eg ISO images match different OS entries depending on load order.

Alphabetically sorting the files doesn't remove any ambiguity that
may exist, but at least gives us consistent results on every host.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
Reviewed-by: Fabiano Fidêncio <fabiano at fidencio.org>

- - - - -
f0b54300 by Vincent at 2018-04-10T09:39:59Z
asianux: add Asianux isodata

Signed-off-by: Vincent <vincent.dao at asianux.com>

- - - - -
1a907776 by Natanael Copa at 2018-04-10T09:39:59Z
alpinelinux: add Alpine Linux isodata

Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>

- - - - -
ab3f78d8 by Pierre-Alain TORET at 2018-04-10T09:39:59Z
openbsd: add OpenBSD 6.3 isodata

Signed-off-by: Pierre-Alain TORET <pierre-alain.toret at protonmail.com>

- - - - -
f7d8a089 by Christophe Fergeau at 2018-04-10T10:36:15Z
loader: Fix leak in osinfo_loader_find_files()

'tmp' is used to iterate over the list of files, so it will be NULL at
the end of the iteration, and g_list_free() will be a no-op.
The initial list is stored in 'children', so free that instead.

Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>

- - - - -
fb26c24a by Fabiano Fidêncio at 2018-04-23T22:49:37Z
opensuse-42.3: Add "Network Image" isodata

Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
Reviewed-by: Charles Arnold <carnold at suse.com>

- - - - -
74dcc9b4 by Fabiano Fidêncio at 2018-04-23T22:50:11Z
tumbleweed: Add "Network Image" isodata

Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
Reviewed-by: Charles Arnold <carnold at suse.com>

- - - - -
3182ab0e by Fabiano Fidêncio at 2018-04-23T22:50:15Z
tumbleweed: Add "Kubic DVD/USB Stick" isodata

Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
Reviewed-by: Charles Arnold <carnold at suse.com>

- - - - -
917ade1c by Felipe Borges at 2018-05-02T17:51:32Z
rhel: Add RHEL 7.5 isodata

Signed-off-by: Felipe Borges <feborges at redhat.com>
Reviewed-by: Christophe Fergeau <cfergeau at redhat.com>

- - - - -
106d8690 by Andrea Bolognani at 2018-05-04T14:22:13Z
rhel: Fix isodata for RHEL 7.5 on ppc64le

There is a spurious empty line at the end of the file that
causes 'make syntax-check' to fail with:

  [...]
  tests/isodata/rhel/rhel7.5/RHEL-7.5-20180322.0-Server-ppc64le-dvd1.iso.txt
  maint.mk: empty line(s) or no newline at EOF
  make: *** [maint.mk:927: sc_prohibit_empty_lines_at_EOF] Error 1

Get rid of it to solve the issue.

See also

  https://ci.centos.org/view/libvirt/job/libosinfo-master-syntax-check/123/

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
fbfd66ba by Andrea Bolognani at 2018-05-08T13:41:56Z
maint: Rename autobuild.sh to prepare-release.sh

The script was originally used by the Test::AutoBuild
project to perform periodic automatic builds; however, that
effort has been abandoned a long time ago, and these days
libosinfo CI builds are happening on the Jenkins-based
CentOS CI environment under the libvirt umbrella[1], where
build recipes are maintained separately from the projects
themselves.

The script is still used to prepare releases, so it can't
be dropped from the repository: rename it so that its
purpose is more clearly communicated instead.

[1] https://ci.centos.org/view/libvirt/

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
d829b942 by Andrea Bolognani at 2018-05-08T13:42:06Z
prepare-release: Drop references to Test::AutoBuild

They are misleading, and no longer relevant anyway.

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
25b5bc35 by Andrea Bolognani at 2018-05-08T13:42:11Z
spec: Drop %{extra_release}

It was mainly meant to be used for automatic builds through
Test::AutoBuild, so it can be removed now.

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
ca57ccbd by Daniel P. Berrangé at 2018-05-08T13:42:15Z
configure: fix HAVE_CURL conditional on Win32

AM_CONDITIONAL lines must always be executed, but HAVE_CURL was inside
an "if ...", which caused configure to fail when run on Win32.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>

- - - - -
5e25cf65 by Andrea Bolognani at 2018-05-10T08:57:46Z
autogen: Don't hardcode --enable-gtk-doc

The usual behavior is for configure to detect the availability
of gtk-doc, along with other optional features, and only enable
it if found.

Hardcoding it this way is causing issues for MinGW builds,
where pkg-config is looking in the MinGW-specific paths and
can't locate the native gtk-doc.pc file, thus concluding
gtk-doc must not be present and aborting the build altogether
instead of simply skipping API reference generation.

Both 'make distcheck' (through the DISTCHECK_CONFIGURE_FLAGS
variable) and the prepare-release.sh script are already
enforcing the availability of gtk-doc when preparing releases,
so it's safe to use the default behavior for regular builds.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
481c3a32 by Andrea Bolognani at 2018-05-12T10:20:09Z
tools: Fix compilation with Clang 6

Clang 6 doesn't like the way the last item in a GOptionEntry
array is initialized:

  ../../tools/osinfo-install-script.c:87:12: error: missing field
  'short_name' initializer [-Werror,-Wmissing-field-initializers]
      { NULL }
             ^
  1 error generated.
  gmake[2]: *** [Makefile:540: osinfo-install-script.o] Error 1
  gmake[2]: *** Waiting for unfinished jobs....
  ../../tools/osinfo-detect.c:104:12: error: missing field
  'short_name' initializer [-Werror,-Wmissing-field-initializers]
      { NULL }
             ^
  1 error generated.
  gmake[2]: *** [Makefile:540: osinfo-detect.o] Error 1

Fix the issue by using the { 0 } initializer instead.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
Reviewed-by: Eric Blake <eblake at redhat.com>
Reviewed-by: Fabiano Fidêncio <fabiano at fidencio.org>

- - - - -
fce35487 by Pierre-Alain TORET at 2018-05-12T15:34:02Z
netbsd: Add NetBSD 7.1.2 isodata

Signed-off-by: Pierre-Alain TORET <pierre-alain.toret at protonmail.com>
Reviewed-by: Fabiano Fidêncio <fabiano at fidencio.org>

- - - - -
e65cd1da by Fabiano Fidêncio at 2018-05-14T12:34:25Z
fedora: Add f28 isodata

Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
Reviewed-by: Christophe Fergeau <cfergeau at redhat.com>

- - - - -
6a88a781 by Fabiano Fidêncio at 2018-05-31T19:18:20Z
tests: Add test-os-resources

test-os-resources has been written to avoid bug as having minimum
resources greater than the recommended resources in osinfo-db.

This problem was exposed by RHEL/CentOS data files, which caused some
really bad UI effect in clientes using those two attributes (as GNOME
Boxes).

Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
Reviewed-by: Christophe Fergeau <cfergeau at redhat.com>

- - - - -
2f4ab3f4 by Fabiano Fidêncio at 2018-05-31T19:18:35Z
opensuse: Add Leap 15.0 isodata

Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
Reviewed-by: Christophe Fergeau <cfergeau at redhat.com>

- - - - -
ba054e4e by Fabiano Fidêncio at 2018-06-07T20:43:20Z
syms: Fix identation of 0.2.13 symbols

When adding the symbols for LIBOSINFO_0.2.13 I mistakenly added the
symbols not respecting default identation used (1 tab) and ended up
using 4 spaces instead.

Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

- - - - -
cf827433 by Fabiano Fidêncio at 2018-06-07T20:43:23Z
syms: Add missing "global" on 0.2.[7-10] versions

Reported-by: Michal Privoznik <mprivozn at redhat.com>
Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

- - - - -
545c695b by Fabiano Fidêncio at 2018-06-12T13:42:06Z
silverblue: Move isodata to its own folder

Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>

- - - - -
24f879d6 by Daniel P. Berrangé at 2018-06-20T09:40:14Z
Update NEWS for 1.2.0 release

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>

- - - - -
49bc9c89 by Guido Günther at 2018-09-17T07:23:19Z
d/control: swith VCS-* URLs to salsa

- - - - -
91628ff3 by Guido Günther at 2018-09-17T07:26:11Z
New upstream version 1.2.0
- - - - -
005c7b19 by Guido Günther at 2018-09-17T07:29:08Z
Update upstream source from tag 'upstream/1.2.0'

Update to upstream version '1.2.0'
with Debian dir b6105ac80290aeea01b9a2a3584fa090c084cb47

- - - - -
7fb3006f by Guido Günther at 2018-09-17T07:29:33Z
d/control: Drop build-dep libsoup-gnome-2.4

Thanks: Jeremy Bicha

- - - - -
32aea210 by Guido Günther at 2018-09-17T07:45:22Z
d/control: Switch to priority optional

- - - - -
7969c694 by Guido Günther at 2018-09-17T08:00:02Z
d/copyright: Avoid duplicate license paragraph

- - - - -
e9e08534 by Guido Günther at 2018-09-17T08:00:02Z
d/control: Bump standards version

- - - - -
2ba6951e by Guido Günther at 2018-09-17T08:00:02Z
debian/copyright: Fix upstream URL

Project moved to gitlab.

Thanks: Jeremy Bicha

- - - - -
ecacfc85 by Guido Günther at 2018-09-17T08:00:36Z
d/control: Move l10n package to localization section

- - - - -
dbf12226 by Guido Günther at 2018-09-17T08:00:55Z
Document changes and release 1.2.0-1

- - - - -


30 changed files:

- AUTHORS
- ChangeLog
- Makefile.am
- Makefile.in
- NEWS
- README
- aclocal.m4
- build-aux/compile
- build-aux/config.guess
- build-aux/config.sub
- build-aux/depcomp
- build-aux/install-sh
- build-aux/ltmain.sh
- build-aux/missing
- build-aux/test-driver
- configure
- configure.ac
- debian/changelog
- debian/control
- debian/copyright
- docs/Makefile.in
- docs/reference/Libosinfo-sections.txt
- docs/reference/Makefile.in
- docs/reference/html/Libosinfo-osinfo-enum-types.html
- docs/reference/html/Libosinfo-osinfo-version.html
- docs/reference/html/OsinfoAvatarFormat.html
- docs/reference/html/OsinfoDatamap.html
- docs/reference/html/OsinfoDatamapList.html
- docs/reference/html/OsinfoDb.html
- docs/reference/html/OsinfoDeployment.html


The diff was not included because it is too large.


View it on GitLab: https://salsa.debian.org/libvirt-team/libosinfo/compare/27a4fe09d4821dd6f89e479ff11316e2714adcc0...dbf122263cdd1778d74779f037e96df521730a76

-- 
View it on GitLab: https://salsa.debian.org/libvirt-team/libosinfo/compare/27a4fe09d4821dd6f89e479ff11316e2714adcc0...dbf122263cdd1778d74779f037e96df521730a76
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20180917/a47f8481/attachment-0001.html>


More information about the Pkg-libvirt-commits mailing list