-
Notifications
You must be signed in to change notification settings - Fork 687
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
merge "ManifestDescriptor" and "Descriptor" types #618
Comments
@stevvooe @jbouzane Based on the description of this ticket:
We need to update both spec and struct definition, however I think #620 only updates the struct definition, we need another PR to update spec (descriptor.md and image-index.md)? |
@qianzhangxa oops, for some reason I thought that had already been done, sorry. Feel like putting up a PR? <edit: never mind, just saw #638> |
Actually, this was a conscious decision not to. The alternative fields can be ignored outside the context of processing a manifest index. We only merge the Go datatype to make usage easier in practice. |
@jonboulle Can we close this or did you want me to add some clarification on the difference between the spec and datatype? |
@jonboulle Ping. |
I'd still like to see the tweak discussed in #638 - @qianzhangxa @q384566678 either of you feel like taking this on? |
Sure. I have submitted #649 for it. |
I think it should be explained for the difference. #649 looks good to me. |
I think the |
right on |
Currently, we have
ManifestDescriptor
andDescriptor
types. The only difference is the inclusion of the platform field. For making generic processors that filter based on platform type, this creates a number of complexities (see https://github.com/docker/containerd/pull/638 for an example of this pattern).We'll simply need to merge these types in the specification and struct definitions.
The text was updated successfully, but these errors were encountered: