Repository navigation
Merge pkg/distro/generic/ into pkg/distro/defs/ - #2675
Closed
achilleas-k wants to merge 1 commit into
Closed
achilleas-k wants to merge 1 commit into
achilleas-k wants to merge 1 commit into
Conversation
achilleas-k
force-pushed
the
defs-shuffling
branch
from
September 9, 2026 11:12
5c49b45 to
47a0632
Compare
This commit moves everything from pkg/distro/generic/ into pkg/distro/defs/. Import paths have been adjusted throughout the project. The genManifest() function in bootc_test.go was rewritten to not depend on manifestgen since that creates an import cycle. The purpose of this change is to isolate any handling of image definition loading and mentions of YAML to one package, pkg/distro/defs/. In the end, loading functionality and all types initialised from the distro definitions will be defined in pkg/distro/defs/. YAML-specific types will be private and convert to internal types for handling. As much as possible, the properties of these types will be immutable. The GitLab CI config has been updated to test the new paths when explicitly tested.
achilleas-k
force-pushed
the
defs-shuffling
branch
from
September 14, 2026 12:26
47a0632 to
a9cb01c
Compare
Member
Author
|
Needed a rebase |
achilleas-k
enabled auto-merge
September 14, 2026 13:29
supakeen
approved these changes
Sep 14, 2026
Member
Author
|
Closing in favour of #2685. |
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.
This is a simple code-moving PR in preparation for bigger changes in the way we load and handle image definitions.
This commit moves everything from pkg/distro/generic/ into pkg/distro/defs/. Import paths have been adjusted throughout the project.
The genManifest() function in bootc_test.go was rewritten to not depend on manifestgen since that creates an import cycle.
The purpose of this change is to isolate any handling of image definition loading and mentions of YAML to one package, pkg/distro/defs/. In the end, loading functionality and all types initialised from the distro definitions will be defined in pkg/distro/defs/. YAML-specific types will be private and convert to internal types for handling. As much as possible, the properties of these types will be immutable.
The GitLab CI config has been updated to test the new paths when explicitly tested.