Skip to content
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

kctrl: default version flag to ">= 0.0.0" for installations #1587

Closed
100mik opened this issue Jul 12, 2024 · 0 comments · Fixed by #1588
Closed

kctrl: default version flag to ">= 0.0.0" for installations #1587

100mik opened this issue Jul 12, 2024 · 0 comments · Fixed by #1588
Assignees
Labels
carvel-accepted This issue should be considered for future work and that the triage process has been completed enhancement This issue is a feature request

Comments

@100mik
Copy link
Contributor

100mik commented Jul 12, 2024

Describe the problem/challenge you have
[A description of the current challenge that you are experiencing.]
A traditional package manager would pick the latest version if one is not specified. kctrl should default to using a constraint that picks the maximum version in case a version is not specified.

Describe the solution you'd like
[A clear and concise description of what you want to happen. If applicable a visual representation of the UX.]
We should make the version flag optional and default the value to ">= 0.0.0". We should however log a message to indicate that we are defaulting to this to call out the change in behaviour to older users who might have missed the flag.
For existing users, it is not a breaking change as not supplying this flag would lead to an error so far.

Updates should continue behaving as they have so far.


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.

@100mik 100mik added enhancement This issue is a feature request carvel-triage This issue has not yet been reviewed for validity carvel-accepted This issue should be considered for future work and that the triage process has been completed and removed carvel-triage This issue has not yet been reviewed for validity labels Jul 12, 2024
@100mik 100mik self-assigned this Jul 12, 2024
@100mik 100mik changed the title kctrl: default version flag to ">= 0.0.0-" for installations kctrl: default version flag to ">= 0.0.0" for installations Jul 12, 2024
@github-project-automation github-project-automation bot moved this to Closed in Carvel Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
carvel-accepted This issue should be considered for future work and that the triage process has been completed enhancement This issue is a feature request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant