[PATCH v2 00/13] Drop old distros, bump glib and switch to glib URI parsing code

Thomas Huth posted 13 patches 2 weeks, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240412132415.282354-1-thuth@redhat.com
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Eric Blake <eblake@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>, Peter Lieven <pl@kamp.de>, "Richard W.M. Jones" <rjones@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Michael Roth <michael.roth@amd.com>, Konstantin Kostiuk <kkostiuk@redhat.com>, Markus Armbruster <armbru@redhat.com>
There is a newer version of this series
meson.build                                   |   16 +-
include/glib-compat.h                         |   27 +-
include/qemu/uri.h                            |   99 --
block/gluster.c                               |   71 +-
block/nbd.c                                   |   76 +-
block/nfs.c                                   |  110 +-
block/ssh.c                                   |   75 +-
qga/commands-posix-ssh.c                      |   12 +-
util/error-report.c                           |   10 -
util/uri.c                                    | 1466 -----------------
.gitlab-ci.d/buildtest.yml                    |   16 +-
.gitlab-ci.d/container-core.yml               |    4 +-
.travis.yml                                   |   13 +-
.../stream/{8 => 9}/build-environment.yml     |   31 +-
.../stream/{8 => 9}/x86_64/configure          |    4 +-
.../stream/{8 => 9}/x86_64/test-avocado       |    0
scripts/ci/setup/build-environment.yml        |   44 +-
tests/docker/dockerfiles/alpine.docker        |    3 +-
.../{centos8.docker => centos9.docker}        |   35 +-
.../dockerfiles/debian-amd64-cross.docker     |    3 +-
.../dockerfiles/debian-arm64-cross.docker     |    3 +-
.../dockerfiles/debian-armel-cross.docker     |    3 +-
.../dockerfiles/debian-armhf-cross.docker     |    3 +-
.../dockerfiles/debian-i686-cross.docker      |    3 +-
.../dockerfiles/debian-mips64el-cross.docker  |    3 +-
.../dockerfiles/debian-mipsel-cross.docker    |    3 +-
.../dockerfiles/debian-ppc64el-cross.docker   |    3 +-
.../dockerfiles/debian-riscv64-cross.docker   |    3 +-
.../dockerfiles/debian-s390x-cross.docker     |    3 +-
tests/docker/dockerfiles/debian.docker        |    1 +
.../dockerfiles/fedora-win64-cross.docker     |    3 +-
tests/docker/dockerfiles/fedora.docker        |    1 +
tests/docker/dockerfiles/opensuse-leap.docker |    1 +
tests/docker/dockerfiles/ubuntu2004.docker    |  157 --
tests/docker/dockerfiles/ubuntu2204.docker    |    1 +
tests/lcitool/libvirt-ci                      |    2 +-
tests/lcitool/mappings.yml                    |   20 -
tests/lcitool/refresh                         |    3 +-
tests/vm/centos                               |    4 +-
util/meson.build                              |    2 +-
40 files changed, 265 insertions(+), 2072 deletions(-)
delete mode 100644 include/qemu/uri.h
delete mode 100644 util/uri.c
rename scripts/ci/org.centos/stream/{8 => 9}/build-environment.yml (75%)
rename scripts/ci/org.centos/stream/{8 => 9}/x86_64/configure (98%)
rename scripts/ci/org.centos/stream/{8 => 9}/x86_64/test-avocado (100%)
rename tests/docker/dockerfiles/{centos8.docker => centos9.docker} (82%)
delete mode 100644 tests/docker/dockerfiles/ubuntu2004.docker
[PATCH v2 00/13] Drop old distros, bump glib and switch to glib URI parsing code
Posted by Thomas Huth 2 weeks, 3 days ago
In the QEMU 9.1 development cycle, we can drop the support for
Ubuntu 20.04 and CentOS 8 since the following major versions of
these distributions are available since 2 years already.

This allows us to bump the minimum version of glib to 2.66 which
comes with a nice set of URI parsing functions. By switching to
these parsing functions, we can finally drop our own URI parsing
code in util/uri.c.

NB: We also need to update some of the custom runners in our CI
environment first (since they still use Ubuntu 20.04).

v2:
- Added Paolo's patch to bump the external CI runners
- Added patch to drop more glib compatibility hunks
- Use g_autoptr() in the URI patches for simplification
- Don't allow port 0 in the URIs

Paolo Bonzini (1):
  ci: move external build environment setups to CentOS Stream 9

Thomas Huth (12):
  tests: Remove Ubuntu 20.04 container
  tests/lcitool/libvirt-ci: Update to the latest master branch
  tests/docker/dockerfiles: Run lcitool-refresh after the lcitool update
  tests: Update our CI to use CentOS Stream 9 instead of 8
  .travis.yml: Update the jobs to Ubuntu 22.04
  Bump minimum glib version to v2.66
  Remove glib compatibility code that is not required anymore
  block/gluster: Use URI parsing code from glib
  block/nbd: Use URI parsing code from glib
  block/nfs: Use URI parsing code from glib
  block/ssh: Use URI parsing code from glib
  util/uri: Remove the old URI parsing code

 meson.build                                   |   16 +-
 include/glib-compat.h                         |   27 +-
 include/qemu/uri.h                            |   99 --
 block/gluster.c                               |   71 +-
 block/nbd.c                                   |   76 +-
 block/nfs.c                                   |  110 +-
 block/ssh.c                                   |   75 +-
 qga/commands-posix-ssh.c                      |   12 +-
 util/error-report.c                           |   10 -
 util/uri.c                                    | 1466 -----------------
 .gitlab-ci.d/buildtest.yml                    |   16 +-
 .gitlab-ci.d/container-core.yml               |    4 +-
 .travis.yml                                   |   13 +-
 .../stream/{8 => 9}/build-environment.yml     |   31 +-
 .../stream/{8 => 9}/x86_64/configure          |    4 +-
 .../stream/{8 => 9}/x86_64/test-avocado       |    0
 scripts/ci/setup/build-environment.yml        |   44 +-
 tests/docker/dockerfiles/alpine.docker        |    3 +-
 .../{centos8.docker => centos9.docker}        |   35 +-
 .../dockerfiles/debian-amd64-cross.docker     |    3 +-
 .../dockerfiles/debian-arm64-cross.docker     |    3 +-
 .../dockerfiles/debian-armel-cross.docker     |    3 +-
 .../dockerfiles/debian-armhf-cross.docker     |    3 +-
 .../dockerfiles/debian-i686-cross.docker      |    3 +-
 .../dockerfiles/debian-mips64el-cross.docker  |    3 +-
 .../dockerfiles/debian-mipsel-cross.docker    |    3 +-
 .../dockerfiles/debian-ppc64el-cross.docker   |    3 +-
 .../dockerfiles/debian-riscv64-cross.docker   |    3 +-
 .../dockerfiles/debian-s390x-cross.docker     |    3 +-
 tests/docker/dockerfiles/debian.docker        |    1 +
 .../dockerfiles/fedora-win64-cross.docker     |    3 +-
 tests/docker/dockerfiles/fedora.docker        |    1 +
 tests/docker/dockerfiles/opensuse-leap.docker |    1 +
 tests/docker/dockerfiles/ubuntu2004.docker    |  157 --
 tests/docker/dockerfiles/ubuntu2204.docker    |    1 +
 tests/lcitool/libvirt-ci                      |    2 +-
 tests/lcitool/mappings.yml                    |   20 -
 tests/lcitool/refresh                         |    3 +-
 tests/vm/centos                               |    4 +-
 util/meson.build                              |    2 +-
 40 files changed, 265 insertions(+), 2072 deletions(-)
 delete mode 100644 include/qemu/uri.h
 delete mode 100644 util/uri.c
 rename scripts/ci/org.centos/stream/{8 => 9}/build-environment.yml (75%)
 rename scripts/ci/org.centos/stream/{8 => 9}/x86_64/configure (98%)
 rename scripts/ci/org.centos/stream/{8 => 9}/x86_64/test-avocado (100%)
 rename tests/docker/dockerfiles/{centos8.docker => centos9.docker} (82%)
 delete mode 100644 tests/docker/dockerfiles/ubuntu2004.docker

-- 
2.44.0