-
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
[3006.x] Add support for Debian 12 #65116
[3006.x] Add support for Debian 12 #65116
Conversation
Issues for Debian 12: cron.service does not exist
I'm going to troubleshoot this and see if we need to get UPDATE: Verified
Failing to install nano@s0undt3ch Can't tell if this is a problem with
salt/tests/pytests/functional/modules/test_pkg.py Lines 541 to 563 in 5d86ead
Failing to use pkgrepo for expected Debian 12 salt repo location@s0undt3ch Am I understanding this output below correctly? Seems like a chicken/egg problem. Am I supposed to change my PR to make up for this, and to add it in sometime after a release makes these?
|
5f999b6
to
e5ed5e9
Compare
5b24aa5
to
106b294
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.
So reviewed this this morning, and major additions - feel like - hit me up when it is done.
This is supposed to be adding Debian 12, so add Debian 12, and use another PR for refactoring how things are built. That way, adding a new platform is a simple C & P from the last for whoever has to add a platform later.
Lastly, these files have way too much
nox-version: 2022.8.7
python-version: "3.10"
use of magic numbers. When the change from to a different version for nox or python, invariably one entry will be missed. This has been bad practice for decades, and should be fixed with global, or variable at head of file. Understand inherited this, but that is a problem waiting to happen.
So, how do you know the OS you added passes tests, or build packages, etc, if you don't do the necessary changes to run tests through it on the PR adding it?
This is not a problem as the variables you're referring to, although it doesn't look like it, is using "magic numbers", ie, the values are templatized and when we need to change them, we change them in one single place. |
What does this PR do?
Adds Debian 12 to Salt test suite and package publishing
What issues does this PR fix or reference?
Fixes: #64223