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

fix artifact set tagging #1033

Merged
merged 4 commits into from
Nov 6, 2024
Merged

fix artifact set tagging #1033

merged 4 commits into from
Nov 6, 2024

Conversation

mandelsoft
Copy link
Contributor

What this PR does / why we need it

Because the new OCI references now always contain the digest in addition to the tag, the artifactset creation
is not able anymore to provide appropriate meta data.

This is fixed by a new ArtVersion type able to handle the combination of digest and tag.

Which issue(s) this PR fixes

api/oci/ociutils/ref.go Outdated Show resolved Hide resolved
api/oci/ociutils/ref.go Show resolved Hide resolved
api/oci/ociutils/ref.go Show resolved Hide resolved
api/oci/ociutils/ref.go Outdated Show resolved Hide resolved
api/oci/ociutils/ref.go Show resolved Hide resolved
api/oci/ociutils/ref.go Outdated Show resolved Hide resolved
@hilmarf hilmarf added this to the 2024-Q4 milestone Nov 6, 2024
@hilmarf hilmarf merged commit d6a5994 into open-component-model:main Nov 6, 2024
15 checks passed
@mandelsoft mandelsoft deleted the oci branch November 7, 2024 16:38
jakobmoellerdev added a commit that referenced this pull request Nov 12, 2024
<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it
PR #1033 introduced a split of the OCI version info from the repository
part.
The method `Version` checks the inverted condition for an existing
version inf.

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

---------

Co-authored-by: Jakob Möller <[email protected]>
jakobmoellerdev added a commit to jakobmoellerdev/ocm that referenced this pull request Nov 12, 2024
<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it
PR open-component-model#1033 introduced a split of the OCI version info from the repository
part.
The method `Version` checks the inverted condition for an existing
version inf.

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

---------

Co-authored-by: Jakob Möller <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔒Closed
Development

Successfully merging this pull request may close these issues.

3 participants