Skip to content

PR244 follow-up: allow overriding non-essential GLOBAL and SITE conf options through include sections #249

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

Conversation

jonasbardino
Copy link
Contributor

@jonasbardino jonasbardino commented Jun 2, 2025

PR #244 follow-up to support certain non-essential GLOBAL option overrides, which will be useful for docker-migrid deployments without exposing every single config option all the way through generateconfs.py and docker-migrid .env. Adds restrictions on the SITE section as well to prevent changes to service-related enable_X options with potential external side effects.

Integrates the added unit tests from PR #248 but adjusted to fit and test these adjusted override restrictions.

Minor style reformatting to avoid autopep8 from removing line continuation markers.

…to support

peripheral options that we e.g. don't expose in generateconfs or can safely
override without daemon interference.
 Minor reformats to avoid autopep8 from removing line continuation markers.
…rides,

which will be useful for docker-migrid deployments without exposing every
single config option all the way through `generateconfs.py` and docker-migrid
`.env`. Adds restrictions on the *SITE* section as well to prevent changes to
service-related `enable_X` options with potential external side effects.
Integrates the added unit tests from PR248 but adjusted to fit and test these
adjusted override restrictions.
…last

pylint sanity check flagged. It most likely is due to the reload flow, but
no need to rely on it and we can just fall back to search in the folder where
the actual conf file is found.

Add `mig_server_home` to the list of override rejects while at it.
@jonasbardino jonasbardino force-pushed the adjust/allow-overriding-certain-peripheral-global-conf-options-through-include-sections branch from 4c3705e to 03bacef Compare June 2, 2025 17:58
Copy link
Contributor

@Martin-Rehr Martin-Rehr left a comment

Choose a reason for hiding this comment

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

Looks good to me

@jonasbardino
Copy link
Contributor Author

Merged through svn

@jonasbardino jonasbardino deleted the adjust/allow-overriding-certain-peripheral-global-conf-options-through-include-sections branch June 3, 2025 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants