Skip to content

Commit

Permalink
!OCI Annotations change in Component Descriptor for Component Version…
Browse files Browse the repository at this point in the history
…s: `ocm-artifact` -> `software.ocm.artifact` and introduce `software.ocm.creator` (#987)

<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it

For OCM repositories based on OCI registries, the manifest now gets an
annotation `software.ocm.componentversion` with the component version it
represents.

The image spec
(https://github.com/opencontainers/image-spec/blob/main/annotations.md)
state, that annotation names should use a reverse DNS domain prefix.

Therefore we should adapt the names of the already existing layer
annotations accordingly. This PR prepends the actuals names with
`software.ocm.".

The old layer annotation changes from `ocm-artifact` ->
`software.ocm.artifact`.

#### Which issue(s) this PR fixes
Fixes open-component-model/ocm-project#190
<!--
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
  • Loading branch information
mandelsoft authored Oct 23, 2024
1 parent 98e7b33 commit 71d79e4
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 71d79e4

Please sign in to comment.