Skip to content

Conversation

@qianzhangxa
Copy link
Contributor

Signed-off-by: Qian Zhang [email protected]

descriptor.md Outdated
This OPTIONAL property contains arbitrary metadata for this descriptor.
This OPTIONAL property MUST use the [annotation rules](annotations.md#rules).

Descriptors pointing to [`application/vnd.oci.image.manifest.v1+json`](manifest.md) SHOULD include the extended field `platform`, see [Image Index Property Descriptions](https://github.com/qianzhangxa/image-spec/blob/master/image-index.md#image-index-property-descriptions) for details.
Copy link
Member

Choose a reason for hiding this comment

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

The link target needs to be image-index.md#image-index-property-descriptions.

Also, if this is going to be merged, I think "This property (platform) SHOULD be present if its target is platform-specific." in image-index.md should be updated to "This property SHOULD be present"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @AkihiroSuda. I have updated the code.

And I think we still need "if its target is platform-specific." in image-index.md since the manifest in a image index can be of other media type (not just application/vnd.oci.image.manifest.v1+json) in which case platform can be absent.

@vbatts
Copy link
Member

vbatts commented Apr 25, 2017

I guess this is fine, but we already have a SHOULD for this IIRC

@wking
Copy link
Contributor

wking commented Apr 25, 2017 via email

@stevvooe
Copy link
Contributor

stevvooe commented May 3, 2017

LGTM

Approved with PullApprove

1 similar comment
@vbatts
Copy link
Member

vbatts commented May 4, 2017

LGTM

Approved with PullApprove

@vbatts vbatts merged commit e6013db into opencontainers:master May 4, 2017
@vbatts vbatts mentioned this pull request May 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants