Hello team, It's sad that you can't use '@' in ta...
# help
m
Hello team, It's sad that you can't use '@' in tags for something like "model-name@v0.1.2" You can create such tag, but it will give you "ref: invalid value: validation error" when you try to do something with it.
n
Sounds like a nasty bug. Would you mind submitting a bug report with full reproduction steps?
a
The list of allowed characters in a tag is limited, because some characters can be used in a ref expression. In this case, a
@
may appear after a branch name to mean "latest committed". So while your tag name would be unambiguous, we prohibit at-signs to avoid a tag named
model-name@
, which would be ambiguous with an expression meaning "the latest committed version of branch `model-name`". I realize that these rules can be frustrating in this case. You might still open that issue, perhaps we could still find a more open set of rules that would be less frustrating.
In any case, if the tag name is not allowed then we must not allow creating it, rather than failing when you try to use it. So there's a bug here. Just a note that we might not be able to resolve the bug in the way that you might prefer. Sorry.
m
That's ok, no problem. Not allowing to create such tags is fine fix.
👍 1
👍🏽 1
👍🏼 1