Skip to content

cmd/oci-image-tool: validation errors and warnings #286

@runcom

Description

@runcom

From #279 (comment)

Action: oci-image-tool validate should soften the error given when an unknown media type is encountered when validating a reference under refs/.

Discussion: does the above work with media types found in manifests as well? Should we just print a warning and exit 0 from the tool? Should we a flag which specifies the warning level to suppress? So, should we have more than just one warning level here? (the second level being a manifest, third being media types in descriptors , etc)

/cc @stevvooe @vbatts @philips

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions