Skip to content

ProjectName normalization #842

@fcx-mrogez

Description

@fcx-mrogez

I wanted to use project name with dots "." in it ("my-compose-app-1.2.3"), but the ProjectName Normalization procedure doesn't allow dots and remove them, which is inconvenient:

r := regexp.MustCompile("[a-z0-9_-]")

I don't see in the specification such restriction about dots in the name: https://github.com/compose-spec/compose-spec/blob/main/04-version-and-name.md#name-top-level-element

I know I can Skip normalization, but doing so will also remove the creation of default network which I rely on.

So are dots acceptable in the name ? Should the specification be modified to include what are acceptable names ?

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