Skip to content

Relax how strict the cime tag matching is? #36

@hkershaw-brown

Description

@hkershaw-brown

Hello,

The check on the cime tag matching uses a slice cime_version = cime_git_tag[4:]

For example, a tag like
vdart-cime6.1.127
fails the check.

How about allowing the cime version in the tag, which would allow prefixes or suffices on the cimeX.X.X?

match = re.search(r"cime(\d+)\.(\d+)\.(\d+)", cime_git_tag)
        assert match, f"Invalid cime git tag: {cime_git_tag}"

        cime_major, cime_minor, cime_patch = map(int, match.groups())

main...hkershaw-brown:visualCaseGen:less-strict-cimetag

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