Skip to content

feat(oci): use interfaces from repositories module#421

Merged
fabianburth merged 16 commits into
open-component-model:mainfrom
fabianburth:feat/use-repositories-interfaces-in-oci
Jul 18, 2025
Merged

feat(oci): use interfaces from repositories module#421
fabianburth merged 16 commits into
open-component-model:mainfrom
fabianburth:feat/use-repositories-interfaces-in-oci

Conversation

@fabianburth

@fabianburth fabianburth commented Jul 16, 2025

Copy link
Copy Markdown
Contributor

What this PR does / why we need it

Related to: #403

This PR added the ocm repository interfaces to a module that is intended to only work on the abstraction level of ocm repositories (and therefore, does not have storage technology specific code) and can be imported by oci.

Which issue(s) this PR fixes

@fabianburth fabianburth requested a review from a team as a code owner July 16, 2025 11:42
@github-actions github-actions Bot added kind/feature new feature, enhancement, improvement, extension size/m Medium labels Jul 16, 2025
Comment thread bindings/go/oci/repository.go Outdated
Signed-off-by: Fabian Burth <fabian.burth@sap.com>
Signed-off-by: Fabian Burth <fabian.burth@sap.com>
Signed-off-by: Fabian Burth <fabian.burth@sap.com>
Signed-off-by: Fabian Burth <fabian.burth@sap.com>
@fabianburth fabianburth force-pushed the feat/use-repositories-interfaces-in-oci branch from 7d17e99 to 4d6a5b6 Compare July 17, 2025 07:07
`localblob` access type no longer has to be registered manually, as it is now registered as part of `v2.MustAddToScheme()`

Signed-off-by: Fabian Burth <fabian.burth@sap.com>
Comment thread bindings/go/oci/repository.go Outdated
Comment thread bindings/go/oci/integration/integration_test.go Outdated
Comment thread bindings/go/oci/repository.go Outdated
Signed-off-by: Fabian Burth <fabian.burth@sap.com>
Signed-off-by: Fabian Burth <fabian.burth@sap.com>
Signed-off-by: Fabian Burth <fabian.burth@sap.com>
Comment thread bindings/go/oci/repository/provider/provider.go Outdated
Signed-off-by: Fabian Burth <fabian.burth@sap.com>
Signed-off-by: Fabian Burth <fabian.burth@sap.com>
Signed-off-by: Fabian Burth <fabian.burth@sap.com>
Signed-off-by: Fabian Burth <fabian.burth@sap.com>
Signed-off-by: Fabian Burth <fabian.burth@sap.com>
# Conflicts:
#	bindings/go/oci/repository.go
Signed-off-by: Fabian Burth <fabian.burth@sap.com>
@fabianburth fabianburth merged commit 9e399fe into open-component-model:main Jul 18, 2025
19 checks passed
@fabianburth fabianburth deleted the feat/use-repositories-interfaces-in-oci branch July 18, 2025 09:00
fabianburth added a commit that referenced this pull request Jul 18, 2025
<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it
So far, the plugin module and the oci module duplicated the ocm
repository interfaces.
- In
#403, a
dedicated module for those ocm repository interfaces was introduced.
- In
#421,
the oci module is adjusted to use those interfaces.

This PR adjusts the plugin module to also use those centrally defined
ocm repository interfaces.

#### Which issue(s) this PR fixes
<!--
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

---------

Signed-off-by: Fabian Burth <fabian.burth@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/m Medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants