Skip to content

[v1] Acceptance: Handle numerical version names in version comparison helpers#2785

Merged
EmilienM merged 2 commits intov1from
bp-v1-8a3a10b-5819dc0
Sep 22, 2023
Merged

[v1] Acceptance: Handle numerical version names in version comparison helpers#2785
EmilienM merged 2 commits intov1from
bp-v1-8a3a10b-5819dc0

Conversation

@gophercloud-backport-bot
Copy link
Copy Markdown

Backport: #2764

There are two changes here:

  • rename the IsReleasesBelow() and IsReleasesAbove() functions to IsCurrentBelow() and IsCurrentAbove() respectively.
  • fix their behavior to account for numerical release names, after zed, and ensure that
    comparing the same version always yields false. Also fixing bugs when comparing to master and add comprehensive tests.

Rename to IsCurrentBelow() and IsCurrentAbove() respectively.
Take into account numerical release names, after zed, and ensure that
comparing the same version always yields false.
@github-actions github-actions bot added the semver:major Breaking change label Sep 22, 2023
@EmilienM EmilienM added semver:patch No API change and removed semver:major Breaking change labels Sep 22, 2023
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 77.421% (-1.7%) from 79.122% when pulling e5568fe on bp-v1-8a3a10b-5819dc0 into 5bf280d on v1.

@EmilienM EmilienM merged commit fc1b8fc into v1 Sep 22, 2023
@EmilienM EmilienM deleted the bp-v1-8a3a10b-5819dc0 branch September 22, 2023 14:32
@pierreprinetti pierreprinetti added the v1 This PR targets v1 label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:patch No API change v1 This PR targets v1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants