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

add linux_distribution to util #63914

Closed
wants to merge 56 commits into from

Conversation

cmcmarrow
Copy link
Contributor

@cmcmarrow cmcmarrow commented Mar 20, 2023

What does this PR do?

add util linx_osinfo to stop dep warrning

What issues does this PR fix or reference?

Fixes: #63904

Previous Behavior

used the dep function distro.linux_distribution()

New Behavior

Move to distro.id(), distro.version() and distro.name()

Merge requirements satisfied?

Commits signed with GPG?

Yes

s0undt3ch and others added 30 commits March 6, 2023 13:05
Signed-off-by: Pedro Algarvio <[email protected]>
Signed-off-by: Pedro Algarvio <[email protected]>
Signed-off-by: Pedro Algarvio <[email protected]>
…-file

Update ssl shared object locations
@cmcmarrow cmcmarrow requested a review from a team as a code owner March 20, 2023 21:04
@cmcmarrow cmcmarrow requested review from Ch3LL and removed request for a team March 20, 2023 21:04
@cmcmarrow cmcmarrow added this to the Sulfur v3006.0 milestone Mar 20, 2023
@cmcmarrow cmcmarrow added Documentation Relates to Salt documentation and removed Documentation Relates to Salt documentation labels Mar 20, 2023
Copy link
Collaborator

@s0undt3ch s0undt3ch left a comment

Choose a reason for hiding this comment

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

Let's implement linux_distribution in salt/utils/platform.py since it previously already imported linux_distribution from distro.

salt/utils/platform.py Outdated Show resolved Hide resolved
salt/version.py Outdated Show resolved Hide resolved
salt/grains/core.py Outdated Show resolved Hide resolved
@cmcmarrow cmcmarrow changed the title add linx osinfo add linux_distribution to util Mar 21, 2023
s0undt3ch
s0undt3ch previously approved these changes Mar 21, 2023
@s0undt3ch s0undt3ch changed the base branch from master to 3006.x March 21, 2023 04:35
@s0undt3ch s0undt3ch dismissed their stale review March 21, 2023 04:35

The base branch was changed.

@s0undt3ch
Copy link
Collaborator

Lets just rebase this PR against 3006.x, I already changed the branch here on the PR, but it can't be rebased automatically.

@cmcmarrow cmcmarrow closed this Mar 21, 2023
@cmcmarrow cmcmarrow removed this from the Sulfur v3006.0 milestone Mar 21, 2023
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.

[3006][RC1][BUG] salt -V , a deprecation warning is shown.
8 participants