Skip to content

feat(575): make sure that we convert raw to typed in registries#962

Closed
matthiasbruns wants to merge 3 commits into
open-component-model:mainfrom
matthiasbruns:feat/575_registry_refactor
Closed

feat(575): make sure that we convert raw to typed in registries#962
matthiasbruns wants to merge 3 commits into
open-component-model:mainfrom
matthiasbruns:feat/575_registry_refactor

Conversation

@matthiasbruns

Copy link
Copy Markdown
Contributor

On-behalf-of: SAP matthias.bruns@sap.com

What this PR does / why we need it

In #913 we found out that the plugin registries are not prepared to work with runtime.Raw specs. In the current resolver/glob implementation, we do not have a runtime.Typed repo anymore but a runtime.Raw repo. This PR allows the use of runtime.Raw in the plugin registries where needed.

Which issue(s) this PR fixes

Contributes: open-component-model/ocm-project#575

@github-actions github-actions Bot added kind/feature new feature, enhancement, improvement, extension size/s Small labels Sep 30, 2025
@matthiasbruns

Copy link
Copy Markdown
Contributor Author

waiting for @fabianburth pr's

@matthiasbruns matthiasbruns changed the title feat: make sure that we convert raw to typed in registries [BLOCKED] feat: make sure that we convert raw to typed in registries Oct 2, 2025
On-behalf-of: SAP <matthias.bruns@sap.com>

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
On-behalf-of: SAP <matthias.bruns@sap.com>

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
On-behalf-of: SAP <matthias.bruns@sap.com>

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
@matthiasbruns matthiasbruns force-pushed the feat/575_registry_refactor branch from 196140d to 234cbae Compare October 7, 2025 11:19
@matthiasbruns matthiasbruns changed the title [BLOCKED] feat: make sure that we convert raw to typed in registries feat(575): make sure that we convert raw to typed in registries Oct 7, 2025
@matthiasbruns matthiasbruns marked this pull request as ready for review October 7, 2025 11:28
@matthiasbruns matthiasbruns requested a review from a team as a code owner October 7, 2025 11:28

@jakobmoellerdev jakobmoellerdev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe I have this wrong again but didnt we agree that it would be acceptable to instead do this conversion only in the inbuilt types because not all registries have the ability for conversion?

@matthiasbruns

Copy link
Copy Markdown
Contributor Author

Yeah you are right - the first thing I did was rebasing all my PRs.
I wanted to can do it in the warroom today

morri-son pushed a commit to morri-son/open-component-model that referenced this pull request Apr 17, 2026
Aligns with open-component-model#962 UpperCamelCase convention. LocalBlob is now the primary
type for marshaling; localBlob preserved as legacy alias for backward
compatibility. Both descriptor/v2 and descriptor/runtime updated.

Adds scheme resolution tests for all 4 aliases (versioned/unversioned,
primary/legacy), updates marshal/unmarshal assertions, and adds legacy
backward-compat test coverage.

Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
morri-son pushed a commit to morri-son/open-component-model that referenced this pull request Apr 21, 2026
Aligns with open-component-model#962 UpperCamelCase convention. LocalBlob is now the primary
type for marshaling; localBlob preserved as legacy alias for backward
compatibility. Both descriptor/v2 and descriptor/runtime updated.

Adds scheme resolution tests for all 4 aliases (versioned/unversioned,
primary/legacy), updates marshal/unmarshal assertions, and adds legacy
backward-compat test coverage.

Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature new feature, enhancement, improvement, extension size/s Small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants