@@ -864,21 +864,16 @@ are implemented against an OCI registry.
864864
865865** ` AddComponentVersionAlias ` **
866866
867- Implementations ** MUST** resolve ` VersionOrAliasName ` as an OCI tag or digest in the
868- component's repository, validate that the resolved descriptor represents a valid OCM
869- component version, and then push the alias as an OCI tag pointing to that descriptor
870- using the [ OCI Distribution Specification manifest push] ( https://github.com/opencontainers/distribution-spec/blob/v1.1.1/spec.md#pushing-manifests )
867+ Implementations ** MUST** resolve ` VersionOrAliasName ` (a version or existing alias) as an OCI tag in the component's
868+ repository, validate that the resolved descriptor represents a valid OCM component version,
869+ and then push the alias as an OCI tag pointing to that descriptor using the
870+ [ OCI Distribution Specification manifest push] ( https://github.com/opencontainers/distribution-spec/blob/v1.1.1/spec.md#pushing-manifests )
871871mechanism.
872872
873873` AliasName ` ** MUST** be rejected if it is a valid OCM version string.
874874
875- Because ` VersionOrAliasName ` ** MAY** itself be a non-version alias, implementations
876- ** MUST** accept non-semver names there and resolve them to their underlying descriptor
877- before tagging. This enables alias chains: e.g., pointing ` edge ` to wherever ` latest `
878- currently resolves.
879-
880- After a successful push the alias tag in the registry ** MUST** resolve to the descriptor
881- identified by ` VersionOrAliasName ` . If the tag already pointed elsewhere it is overwritten.
875+ After a successful push the alias tag ** MUST** resolve to the descriptor identified by
876+ ` VersionOrAliasName ` . If the tag already pointed elsewhere it is overwritten.
882877
883878** ` RemoveComponentVersionAlias ` **
884879
0 commit comments