fix: incompatibilities between v1 and v2#1992
Merged
jakobmoellerdev merged 13 commits intoJun 29, 2026
Merged
Conversation
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
539adc2 to
4eb9072
Compare
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Contributor
|
looks ok from my side and should cover everything #1881 missed out. |
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
…to compat-v1-v2-access-types
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
jakobmoellerdev
approved these changes
Jun 29, 2026
1634092
into
open-component-model:main
36 of 47 checks passed
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.
What this PR does / why we need it
OCM v2 accepts a broader set of canonical and alias type names than v1 currently registers — for example
OCIImage,OCIImageLayer,LocalBlob, and/v1-suffixed variants of every input type. This PR teaches v1 to decode, recognise, and round-trip those names so descriptors written by v2 deserialize correctly through the v1 stack.GetKind() == localblob.Typecomparisons withlocalblob.Is(a)incomparch,genericocireg, andvirtualrepository implementations.OCIRepository->OCIRegistry), adds--tmpfs /tmp:execto the docker invocations, and bumps the CLI image to:latest.Which issue(s) this PR is related to
Contributes to #1979