Skip to content

[Tracker] Support standard validation and defaulting #219

@vishh

Description

@vishh

As of now, the Spec does not explicitly state the fields that are required. This can lead to various implementations of the Spec defaulting and validating the Spec in its own manner.
Annotating each field in the Spec with a required or optional tag along with the default value will help with readability. But it does not ensure conformance.
To provide a seamless experience with OCI bundles across various implementations of the Spec, we should provide standard validation and defaulting tools. These tools might have to be platform or OS specific.

Largely happening in https://github.com/opencontainers/ocitools

Goals:
[ ] configuration validation
[ ] environment testing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions