-
Notifications
You must be signed in to change notification settings - Fork 32
feat: support index based reading of OCI artifacts #1646
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
Merged
jakobmoellerdev
merged 22 commits into
open-component-model:main
from
jakobmoellerdev:index-based-oci-artifacts
Jan 20, 2026
Merged
feat: support index based reading of OCI artifacts #1646
jakobmoellerdev
merged 22 commits into
open-component-model:main
from
jakobmoellerdev:index-based-oci-artifacts
Jan 20, 2026
Conversation
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
5 tasks
Refactored `ComponentVersionContainer` to allow fetching OCI manifests from top level OCI Image indexes. This is preparation for allowing the reference of native OCI Manifests that are themselves referenced via index first. This is prep work to allow native storage in OCI registries for local blobs that might themselves be stored previously as OCM Artifact Sets. They could now be accessed natively instead. Signed-off-by: Jakob Möller <[email protected]>
Added support to synthesize artifact blobs for nested OCI image manifests or indexes in cases where fewer references are provided. Updated error handling and blob synthesis logic accordingly. Signed-off-by: Jakob Möller <[email protected]> Signed-off-by: Jakob Möller <[email protected]>
738a236 to
7ce6b75
Compare
Signed-off-by: Jakob Möller <[email protected]>
Signed-off-by: Jakob Möller <[email protected]>
Signed-off-by: Jakob Möller <[email protected]>
Signed-off-by: Jakob Möller <[email protected]>
Signed-off-by: Jakob Möller <[email protected]>
Signed-off-by: Jakob Möller <[email protected]>
2e9d7c1 to
9f95f98
Compare
frewilhelm
reviewed
Dec 23, 2025
Signed-off-by: Jakob Möller <[email protected]>
…ifacts Signed-off-by: Jakob Möller <[email protected]> # Conflicts: # go.mod # go.sum
147e88c to
e14ac45
Compare
Signed-off-by: Jakob Möller <[email protected]>
Signed-off-by: Jakob Möller <[email protected]>
Skarlso
reviewed
Jan 5, 2026
Skarlso
reviewed
Jan 5, 2026
…ifacts Signed-off-by: Jakob Möller <[email protected]> # Conflicts: # go.mod
Signed-off-by: Jakob Möller <[email protected]>
Signed-off-by: Jakob Möller <[email protected]>
piotrjanik
reviewed
Jan 20, 2026
piotrjanik
reviewed
Jan 20, 2026
Signed-off-by: Jakob Möller <[email protected]>
Signed-off-by: Jakob Möller <[email protected]>
piotrjanik
approved these changes
Jan 20, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component/ocm-cli
OCM Command Line Interface
component/ocm-spec
Open Component Model Specification
kind/dependency
dependency update, etc.
kind/feature
new feature, enhancement, improvement, extension
size/l
Large
size/m
Medium
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
Refactored
ComponentVersionContainerto allow fetching OCI manifests from top level OCI Image indexes. This is preparation for allowing the reference of native OCI Manifests that are themselves referenced via index first. This is prep work to allow native storage in OCI registries for local blobs that might themselves be stored previously as OCM Artifact Sets. They could now be accessed natively instead.Which issue(s) this PR is related to
This allows native reading of OCM Artifacts created with the new v2 library that can use indexes to store artifacts natively
final stepping stone to prepare ADR for open-component-model/ocm-project#680
fixes open-component-model/ocm-project#717