Cannot release repository with build metadata #1409
Labels
bug
This issue describes a defect or unexpected behavior
carvel-accepted
This issue should be considered for future work and that the triage process has been completed
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
What steps did you take:
I tried to release a package repository with build metadata:
What happened:
kctrl
error'd with:In detail:
What did you expect:
As per semver#10 a version can have build metadata which is delimited with a
+
. I would expect that--version
can receive any valid semver. Unfortunately, an OCI image tag cannot contain a+
character. I am aware that presents a challenge, but I would expect that a user ofkctrl package (repository) release
need not be concerned with that issue.Anything else you would like to add:
Maybe
kctrl
could map+
to_
under the hood and reverse the mapping when inferring a version from a tag. In my case:2.6.0-0+git.a65d891.dirty.user.mbrauer
2.6.0-0_git.a65d891.dirty.user.mbrauer
Environment:
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: