qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/13] Drop old distros, bump glib and switch to glib URI parsing code
@ 2024-04-18 10:10 Thomas Huth
  2024-04-18 10:10 ` [PATCH v3 01/13] tests: Remove Ubuntu 20.04 container Thomas Huth
                   ` (12 more replies)
  0 siblings, 13 replies; 17+ messages in thread
From: Thomas Huth @ 2024-04-18 10:10 UTC (permalink / raw)
  To: Alex Bennée, Philippe Mathieu-Daudé, Eric Blake,
	Vladimir Sementsov-Ogievskiy, Peter Lieven, Richard W.M. Jones,
	Paolo Bonzini, qemu-devel
  Cc: Kevin Wolf, Hanna Reitz, Daniel P. Berrangé,
	Konstantin Kostiuk, qemu-block

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).

v3:
- Added Reviewed-bys
- Updated many patch descriptions according to the review feedback in v2
- Change "Illegal" in warning message to "Invalid"
- Removed "." at the end of a warn_report string

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



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-04-19 13:11 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-18 10:10 [PATCH v3 00/13] Drop old distros, bump glib and switch to glib URI parsing code Thomas Huth
2024-04-18 10:10 ` [PATCH v3 01/13] tests: Remove Ubuntu 20.04 container Thomas Huth
2024-04-19 12:57   ` Eric Blake
2024-04-18 10:10 ` [PATCH v3 02/13] tests/lcitool/libvirt-ci: Update to the latest master branch Thomas Huth
2024-04-18 10:10 ` [PATCH v3 03/13] tests/docker/dockerfiles: Run lcitool-refresh after the lcitool update Thomas Huth
2024-04-18 10:10 ` [PATCH v3 04/13] tests: Update our CI to use CentOS Stream 9 instead of 8 Thomas Huth
2024-04-19 13:05   ` Eric Blake
2024-04-18 10:10 ` [PATCH v3 05/13] .travis.yml: Update the jobs to Ubuntu 22.04 Thomas Huth
2024-04-18 10:10 ` [PATCH v3 06/13] ci: move external build environment setups to CentOS Stream 9 Thomas Huth
2024-04-18 10:10 ` [PATCH v3 07/13] Bump minimum glib version to v2.66 Thomas Huth
2024-04-18 10:10 ` [PATCH v3 08/13] Remove glib compatibility code that is not required anymore Thomas Huth
2024-04-18 10:10 ` [PATCH v3 09/13] block/gluster: Use URI parsing code from glib Thomas Huth
2024-04-19 13:10   ` Eric Blake
2024-04-18 10:10 ` [PATCH v3 10/13] block/nbd: " Thomas Huth
2024-04-18 10:10 ` [PATCH v3 11/13] block/nfs: " Thomas Huth
2024-04-18 10:10 ` [PATCH v3 12/13] block/ssh: " Thomas Huth
2024-04-18 10:10 ` [PATCH v3 13/13] util/uri: Remove the old URI parsing code Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).