Skip to content
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

Consistent handling of spec versions #364

Merged
merged 16 commits into from
May 23, 2023

Conversation

mandelsoft
Copy link
Contributor

@mandelsoft mandelsoft commented May 10, 2023

What this PR does / why we need it:

Changes on the CPI-level, only

  • rework the handling of different spec versions for specification kinds (for example RepositorySpecs)

  • provide version support for all kinds of specifications for all context types

  • redesign of embedding of groups of OCM repository specs based on code (used for supporting all OCI repo types as OCM repo type). Be prepared for multiple such groups (for example for an BlobStore content type).

  • migrate runtime package to generics to achieve type safeness for realm based schemes, decoders and converters,

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release Notes:

@mandelsoft mandelsoft force-pushed the runtime branch 3 times, most recently from 939ed97 to ac4171c Compare May 10, 2023 15:12
@mandelsoft mandelsoft force-pushed the runtime branch 7 times, most recently from df0f2a9 to e77ad7c Compare May 17, 2023 09:28
@mandelsoft mandelsoft merged commit 902e742 into open-component-model:main May 23, 2023
@mandelsoft mandelsoft deleted the runtime branch May 23, 2023 09:28
@mandelsoft mandelsoft restored the runtime branch May 25, 2023 10:30
robertwol pushed a commit that referenced this pull request Sep 25, 2023
* rework multiversion registries

* provide versionsupport for repos in all contexts

* generalize OCM repository spec factory delegation.

* simplify converter

* redesign runtime package and introduce clear consistent names

* improve conversion

* scheme support for types

* cleanup action interface

* get rid of scheme package

* mv action def to using context

* cv access for resource access

* get rid of prototypes in spec type object creation

* tweak type list in CLI  reference doc

* doc for runtime package

* docu for OCM delegation registry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants