-
Notifications
You must be signed in to change notification settings - Fork 18
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
feat: Implement get_package_version in hosts/base.py #133
Conversation
As a heads up, this PR is related to SSSD/sssd#7597 and they should work together to detect features. While I find this PR generally fine, I have reservations about SSSD/sssd#7597. Rather than creating a separate test case for each feature, we could streamline with a single test and a table indicating feature presence or absence in each distribution version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My main question is around the static version number format. It may be possible to make it more flexible to handle different types of version numbering.
e4075ef
to
1dc2600
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Find package version and parse it to major, minor, patch, pre-release, update release.
1dc2600
to
fc37af9
Compare
Find package version and parse it to major, minor, patch, release.
This is needed to detect sssd and ipa-client version to match expected features against versions and put workaround for RHEL 10 gating.