It is possible for the version of a package to remain the same
across multiple releases of openstack so this adds support to
get_os_codename_package() to allow this.
If releases A, B and C have version N and we are on release B
this will return release C so that it does not look like there
is an upgrade necessary. The main change here that allows this
is to support matching major and minor version up to X.Y.Z as
opposed to previously only matching the major version X.
Reviewed: https:/ /review. opendev. org/c/openstack /charms. openstack/ +/916791 /opendev. org/openstack/ charms. openstack/ commit/ 55f98e80e430b11 12c38b90d88e10b d0923daa6f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 55f98e80e430b11 12c38b90d88e10b d0923daa6f
Author: Edward Hope-Morley <email address hidden>
Date: Tue Apr 23 14:47:08 2024 +0100
Support same pkg version for multiple releases
It is possible for the version of a package to remain the same os_codename_ package( ) to allow this.
across multiple releases of openstack so this adds support to
get_
If releases A, B and C have version N and we are on release B
this will return release C so that it does not look like there
is an upgrade necessary. The main change here that allows this
is to support matching major and minor version up to X.Y.Z as
opposed to previously only matching the major version X.
Related-Bug: #1973303
Change-Id: I138f61312efb72 8544276483b1a45 9b9eeecafdb