-
Notifications
You must be signed in to change notification settings - Fork 154
Add support for prefix of any character #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Is it realistic to get this pull request merged? |
|
@hashicorp/team-ip-compliance I am here once again asking for a review |
Signed-off-by: Lasse Gaardsholt <lasse.gaardsholt@bestseller.com>
It changes what “a version” meansBefore: After this PR: Example: Before → error (good signal you passed a tag, not a version) The PR says “any prefix”, but it’s not really “any”The PR title says “prefix of any character”.
So these do NOT work: So the wording is misleading, and users will assume broader support than actually exists. go-version has always been strict by design. This PR:
My Observation: go-version has always been strict by design.
|
README.md
Outdated
| > [!IMPORTANT] | ||
| > This repository is archived and will not be updated. The repository will be deleted eventually. We suggest you migrate to [`hashicorp/go-version`](https://github.com/hashicorp/go-version) | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this note.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
I understand the need to be strict in this package. Do you propose that we scrap this PR, or how do we move forward from this? |
Hey! You've made a good point here, so I fiddled and came up with a solution that implements the opt-in functionality without breaking changes. This is what I came up with. Was it something in those lines you were also thinking? |
To support releases with other prefixes than "v", such as the
ingress-nginxhttps://github.com/kubernetes/ingress-nginx/releases