-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[master] Fix detection of Salt codename by "salt_version" execution module. #64554
[master] Fix detection of Salt codename by "salt_version" execution module. #64554
Conversation
This PR still need some changes. I set [WIP] tag and will update it soon. |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
9 similar comments
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
What does this PR do?
This PR fixes an issue and some kind of mess we have around Salt version detection and codename resolution.
Currently, the codename resolution (
salt_version.get_release_number
andsalt_version.equal
) seems broken in Salt:Previous Behavior
As mentioned above, the
salt_version.get_release_number
andsalt_version.equal
execution module functions (and probably others) are not working fine.Other codenames seems working fine:
After some debugging, I've noticed the following situations:
salt/version.py
, as they map the version codename to the300X.0
release but not to the entire300X
. This causes problems on codename detection.can_have_dot_zero
function that causes wrong a detection of Salt versions.New Behavior
Salt version resolution works fine now and versions are detected as expected:
Merge requirements satisfied?
Commits signed with GPG?
Yes
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.