Provide the LINBO helpers expected by the current sync endpoints#8
Open
amolani wants to merge 1 commit intolinuxmuster:lmn73from
Open
Provide the LINBO helpers expected by the current sync endpoints#8amolani wants to merge 1 commit intolinuxmuster:lmn73from
amolani wants to merge 1 commit intolinuxmuster:lmn73from
Conversation
Extend the existing config and image modules with the start.conf accessors and image manifest scanner that the current LINBO API router and change tracker already call. The change stays inside the maintainer's current module layout: no package import magic, no API-side workaround, and no broader refactor of the legacy helper functions. Constraint: The current linuxmuster-api router already depends on these helpers in linuxmusterTools.linbo Rejected: Move the logic back into linuxmuster-api | would duplicate business logic across repos Rejected: Rework the linbo package structure | unrelated to the broken helper contract Confidence: medium Scope-risk: moderate Reversibility: clean Directive: Keep config.py as the canonical home for start.conf listing/raw access helpers used by changes.py and the API router Tested: python3 -m py_compile on config.py and images.py; targeted helper smoke tests; make deb Not-tested: Installation on a clean LMN server and end-to-end Docker sync against that server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extend the existing config and image modules with the start.conf accessors and image manifest scanner that the current LINBO API router and change tracker already call.
The change stays inside the maintainer's current module layout: no package import magic, no API-side workaround, and no broader refactor of the legacy helper functions.
Constraint: The current linuxmuster-api router already depends on these helpers in linuxmusterTools.linbo
Directive: Keep config.py as the canonical home for start.conf listing/raw access helpers used by changes.py and the API router
Tested: python3 -m py_compile on config.py and images.py; targeted helper smoke tests; make deb
Not-tested: Installation on a clean LMN server and end-to-end Docker sync against that server