Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/version_utils.pm: Support short is_leap("16+") without ".0" #21067

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

Vogtinator
Copy link
Member

is_sle("16+") is supported, but is_leap requires 16.0 as version, which has led to multiple breakages in the past. Make the expected input consistent.

Related: #21066

No VR, covered by unit tests.

is_sle("16+") is supported, but is_leap requires 16.0 as version, which has
led to multiple breakages in the past. Make the expected input consistent.
Copy link

Great PR! Please pay attention to the following items before merging:

Files matching lib/**.pm:

  • Consider adding or extending unit tests in t/

This is an automatically generated QA checklist based on modified files.

@michaelgrifalconi
Copy link
Contributor

+1 to make it consistent!

@grisu48 grisu48 merged commit bce298f into os-autoinst:master Jan 28, 2025
10 checks passed
@Vogtinator Vogtinator deleted the lpshortversion branch January 29, 2025 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants