Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

Conversation

@0x0916
Copy link

@0x0916 0x0916 commented Jun 22, 2017

commit opencontainers/image-spec@8ec42b7 namespce
annotations.

This patch does s/org.opencontainers.ref.name/org.opencontainers.image.ref.name/

Signed-off-by: 0x0916 [email protected]

@zhouhao3
Copy link

zhouhao3 commented Jun 23, 2017

LGTM

Approved with PullApprove

@coolljt0725
Copy link
Member

coolljt0725 commented Jun 27, 2017

LGTM

Approved with PullApprove

Edit: before merging this, we need update the image-spec to rc6

@zhouhao3
Copy link

Please rebase.

@zhouhao3
Copy link

@0x0916 Please rebase.

commit opencontainers/image-spec@8ec42b7 namespce
annotations.

This patch s/org.opencontainers.ref.name/org.opencontainers.image.ref.name/

Signed-off-by: 0x0916 <[email protected]>
@0x0916 0x0916 force-pushed the 2017-06-22/annoations branch from bf884d4 to dc60863 Compare July 20, 2017 12:55
@0x0916
Copy link
Author

0x0916 commented Jul 20, 2017

@q384566678 rebase done.

@zhouhao3
Copy link

zhouhao3 commented Jul 20, 2017

LGTM

Approved with PullApprove

@cyphar
Copy link
Member

cyphar commented Jul 21, 2017

Was this not already handled by #163 and the other post-rc6 bumps?

Needs rebase, btw.

@zhouhao3
Copy link

@0x0916 rebase please.

if index.Manifests[i].Annotations["org.opencontainers.ref.name"] != "" {
refs[index.Manifests[i].Annotations["org.opencontainers.ref.name"]] = &index.Manifests[i]
if index.Manifests[i].Annotations["org.opencontainers.image.ref.name"] != "" {
refs[index.Manifests[i].Annotations["org.opencontainers.image.ref.name"]] = &index.Manifests[i]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since #163 bumped image-spec to 1.0.0, you can use AnnotationRefName instead of a string literal.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants