Skip to content

Proposal - Change artifact manifest artifactType field from SHOULD to MUSTΒ #968

@lachie83

Description

@lachie83

Initial Slack conversation started in the following thread from @shizhMSFT

Hi, while implementing image-spec v1.1.0-rc2, we find that the artifactType field is inconsistent in artifact.md and artifact.go. The artifactType field is marked as SHOULD in the markdown file while is NOT marked as omitempty in the go struct. Therefore, I am curious when we will have an empty value for the artifactType field. Where can I find an example for such a scenario?

Possible approaches for a fix:

  1. Revise artifact.md and mark artifactType field as MUST.
  2. Revise artifact.go and add omitempty tag to the artifactType field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions