Skip to content

fix(boil): Improve VersionExt::is_floating impl#1571

Merged
Techassi merged 2 commits into
mainfrom
fix/boil-relax-is-floating-tag
Jul 7, 2026
Merged

fix(boil): Improve VersionExt::is_floating impl#1571
Techassi merged 2 commits into
mainfrom
fix/boil-relax-is-floating-tag

Conversation

@Techassi

@Techassi Techassi commented Jul 7, 2026

Copy link
Copy Markdown
Member

This commit contains two improvements to the VersionExt::is_floating function:

  1. It relaxes the requirements for 0.0.0-dev versions to be able to include extra tag data, eg. 0.0.0-dev-pr123
  2. It now uses a regular expression to check whether the prerelease string is considered floating. The previous solution was too limited to catch more complicated patterns.

Came up in https://github.com/stackabletech/actions/actions/runs/28854067368/job/85576153193?pr=116.

This commit contains two improvements to the VersionExt::is_floating
function:

1. It relaxes the requirements for 0.0.0-dev versions to be able to
   include extra tag data, eg. 0.0.0-dev-pr123
2. It now uses a regular expression to check whether the prerelease
   string is considered floating. The previous solution was too
   limited to catch more complicated patterns.
@Techassi Techassi self-assigned this Jul 7, 2026
@Techassi Techassi moved this to Development: Waiting for Review in Stackable Engineering Jul 7, 2026
sbernauer
sbernauer previously approved these changes Jul 7, 2026
Comment thread rust/boil/src/utils.rs
@Techassi Techassi moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Jul 7, 2026

@NickLarsenNZ NickLarsenNZ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Techassi
Techassi added this pull request to the merge queue Jul 7, 2026
Merged via the queue into main with commit 28fbf05 Jul 7, 2026
8 checks passed
@Techassi
Techassi deleted the fix/boil-relax-is-floating-tag branch July 7, 2026 10:26
@sbernauer sbernauer moved this from Development: In Review to Development: Done in Stackable Engineering Jul 7, 2026
@lfrancke lfrancke moved this from Development: Done to Done in Stackable Engineering Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

4 participants