Skip to content

feat(repository): add GetRepositorySpecForComponent method#1887

Merged
fabianburth merged 7 commits into
open-component-model:mainfrom
fabianburth:fix/repository-get-spec-for-component
Mar 3, 2026
Merged

feat(repository): add GetRepositorySpecForComponent method#1887
fabianburth merged 7 commits into
open-component-model:mainfrom
fabianburth:fix/repository-get-spec-for-component

Conversation

@fabianburth

@fabianburth fabianburth commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it

Introduces a new method to retrieve the repository specification for a given component version, enhancing the transfer operations.

Which issue(s) this PR fixes

Contributes to open-component-model/ocm-project#905

Testing

How to test the changes
Verification
  • I have tested the changes locally by running ocm

Manual tests will be performed as part of the follow up TGD adjustment PR: #1888

Introduces a new method to retrieve the repository specification for a given component version, enhancing the transfer operations.

Signed-off-by: Fabian Burth <fabian.burth@sap.com>
@github-actions github-actions Bot added kind/feature new feature, enhancement, improvement, extension size/s Small labels Mar 3, 2026
…s deprecated

Added deprecation notice for GetComponentVersionRepositoryForSpecification
to inform users about the fallback resolver's compatibility mode.

Signed-off-by: Fabian Burth <fabian.burth@sap.com>
… resolver

Replace generic 'contributions welcome' message with concrete guidance to use
the path matcher resolver with 'resolvers.ocm.software/v1alpha1' configuration
as the replacement for deprecated fallback resolvers.

Signed-off-by: Fabian Burth <fabian.burth@sap.com>
@fabianburth fabianburth force-pushed the fix/repository-get-spec-for-component branch from f28c3a2 to 2a397c8 Compare March 3, 2026 10:12
Signed-off-by: Fabian Burth <fabian.burth@sap.com>
@github-actions github-actions Bot added the size/m Medium label Mar 3, 2026
…sitorySpecificationForComponent

Updated method names for consistency and alignment in the resolver interface.

Signed-off-by: Fabian Burth <fabian.burth@sap.com>
@fabianburth fabianburth force-pushed the fix/repository-get-spec-for-component branch from 918f006 to ec96663 Compare March 3, 2026 10:38
@fabianburth fabianburth marked this pull request as ready for review March 3, 2026 10:42
@fabianburth fabianburth requested a review from a team as a code owner March 3, 2026 10:42
…tGetRepositorySpecificationForComponent

This change aligns the test function name with the updated method name for clarity and consistency.

Signed-off-by: Fabian Burth <fabian.burth@sap.com>
@fabianburth fabianburth enabled auto-merge (squash) March 3, 2026 11:30
@fabianburth fabianburth merged commit 6f2e3a7 into open-component-model:main Mar 3, 2026
15 checks passed
@fabianburth fabianburth deleted the fix/repository-get-spec-for-component branch March 3, 2026 12:01
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/m Medium size/s Small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants