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

improve the host OS collector and analyzer #1743

Merged
merged 5 commits into from
Feb 20, 2025

Conversation

laverya
Copy link
Member

@laverya laverya commented Feb 20, 2025

Description, Motivation and Context

The OS version analyzer did not allow checking for things like "redhat 8.x" - this equates to >= 8 && < 9 in the new code.

Also, we previously only collected the OS name (like redhat, centos, or ubuntu) not the OS family (which would be rhel, rhel, and debian for the previous OSes) - this greatly reduces the number of cases required in an analyzer.

Checklist

  • New and existing tests pass locally with introduced changes.
  • Tests for the changes have been added (for bug fixes / features)
  • The commit message(s) are informative and highlight any breaking changes
  • Any documentation required has been added/updated. For changes to https://troubleshoot.sh/ create a PR here

Does this PR introduce a breaking change?

  • Yes
  • No

@laverya laverya added the type::feature New feature or request label Feb 20, 2025
@laverya laverya requested a review from a team as a code owner February 20, 2025 20:15
@laverya laverya enabled auto-merge (squash) February 20, 2025 20:22
@laverya
Copy link
Member Author

laverya commented Feb 20, 2025

@laverya laverya merged commit fb9ea28 into main Feb 20, 2025
22 checks passed
@laverya laverya deleted the laverya/test-centos-7-os-equals branch February 20, 2025 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants