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

Recognize OSMC as Debian-based #62199

Merged
merged 1 commit into from
Sep 18, 2022
Merged

Conversation

nkuttler
Copy link
Contributor

What does this PR do?

This changes recognizes OSMC as Debian based.

What issues does this PR fix or reference?

Fixes: #62198

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

No, sorry

@nkuttler nkuttler requested a review from a team as a code owner June 21, 2022 21:35
@nkuttler nkuttler requested review from dwoz and removed request for a team June 21, 2022 21:35
@nkuttler
Copy link
Contributor Author

nkuttler commented Jun 24, 2022

Should I pull from upstream master and rebase on top? Or add a test somewhere? The change is trivial, please let me know if anything is needed.

@nkuttler
Copy link
Contributor Author

@dwoz Is there anything I can do to make the review easier? The failing check seems unrelated.

@garethgreenaway
Copy link
Contributor

@nkuttler Thanks for the PR. If you check salt/tests/pytests/unit/grains/test_core.py and look for the test test_mendel_os_grains, duplicating that test and swapping in the right bits for OSMC should be a sufficient test to get this merged in.

@garethgreenaway
Copy link
Contributor

@nkuttler Looks like a failure in the test. Looking at the new test and the result, it looks like the expected versions should all be 2020 based on the _os_release_map values. Also could you please add a changelog to the changelog directory? Filename should be 62198.fixed based on the issue you're fixing and should contain a short line of what you're fixing. Thanks!

@nkuttler
Copy link
Contributor Author

@garethgreenaway Thanks a lot for looking into this! I think the one check that fails was not related to my latest commit? But the log is a little overwhelming tbh.

@garethgreenaway
Copy link
Contributor

@nkuttler Nope. not related. Looks like a timeout of sorts. I restarted the test.

@garethgreenaway
Copy link
Contributor

All set. Thanks for the contribution!

@garethgreenaway garethgreenaway merged commit 01146e7 into saltstack:master Sep 18, 2022
@nkuttler nkuttler mentioned this pull request Sep 19, 2022
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.

[BUG] OSMC is not recognized as Debian-based
2 participants