opencontainers / distribution-spec

OCI Distribution Specification
https://opencontainers.org
Apache License 2.0
828 stars 205 forks source link

Add handling of unknown fields to conformance tests #311

Closed imjasonh closed 2 years ago

imjasonh commented 2 years ago

This change also removes the direct dependency on Go types defined in the image-spec repo, since this made it difficult to define new fields.

Instead, the types are copied into this repo and modified to remove unused fields, and add a new unspecified field for use in the test.

Signed-off-by: Jason Hall jasonhall@redhat.com


Note: I haven't run this against any real registries yet, I wanted to get feedback about the general direction before proceeding too much further.

cc @jdolitsky our beloved conformance czar 👑