Skip to content

Regular expressions missing for name, reference, etc. #183

@vsoch

Description

@vsoch

Heyo! Is there a regular expression for the <name> attribute?

refers to the namespace of the repository. MUST be either (a) the digest of the manifest or (b) a tag name. The MUST NOT be in any other format.

I was using [a-z0-9]+(?:[._-][a-z0-9]+)* but I was under the impression that the name should allow a slash (e.g., owner/repository). Thanks!


Update: we would want the regular expressions for any fields mentioned for the distribution spec to be included here, in a code-agnostic format (e.g., the link below compiles it in golang).

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