Comment 13 for bug 1973303

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to charms.openstack (stable/caracal)

Reviewed: https://review.opendev.org/c/openstack/charms.openstack/+/918739
Committed: https://opendev.org/openstack/charms.openstack/commit/b956245392babe61f401f09979db07f98e9cb29b
Submitter: "Zuul (22348)"
Branch: stable/caracal

commit b956245392babe61f401f09979db07f98e9cb29b
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
    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.

    Related-Bug: #1973303

    Change-Id: I138f61312efb728544276483b1a459b9eeecafdb
    (cherry picked from commit 55f98e80e430b1112c38b90d88e10bd0923daa6f)