Skip to content

Improve checking of tag names #261

@jonc125

Description

@jonc125

Currently we delegate to the git command line for checking whether a tag name is allowed. We could do more checking in Django to give a friendly (& earlier) error. This would also let us give a much more tightly defined URL regex for entity versions. For instance, we could say tag names must be drawn from [-_A-Za-z0-9]. This is more constrained than git allows but probably covers what users would actually want.

Then we could set tag form fields to validate against this regex too.

Follows from #260.

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