Skip to content

Conversation

@jakobmoellerdev
Copy link
Member

@jakobmoellerdev jakobmoellerdev commented Oct 14, 2025

What this PR does / why we need it

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.

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

@github-actions github-actions bot added kind/feature new feature, enhancement, improvement, extension size/m Medium component/ocm-spec Open Component Model Specification labels Oct 14, 2025
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]>
@jakobmoellerdev jakobmoellerdev force-pushed the index-based-oci-artifacts branch from 738a236 to 7ce6b75 Compare November 12, 2025 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/ocm-spec Open Component Model Specification kind/feature new feature, enhancement, improvement, extension size/m Medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant