-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
kubefirst 2.3.5 #153052
kubefirst 2.3.5 #153052
Conversation
9c489eb
to
a8fe165
Compare
Any guidance you can give on the following would be super appreciated.
|
dab12a5
to
fc8427a
Compare
|
fc8427a
to
b4c05fb
Compare
still working on this. Not expecting linuxbrew to succeed |
b4c05fb
to
cddb9db
Compare
|
So I started testing by installing using the recipe and --build-from-source and... it doesn't work with the recipe but it works when I used the commands from the recipe in my shells. Tested on linux and macos. if I provide the ldflags, it builds fine and the version is displayed as expected, but not when I run the recipe even though the commands I'm running match the recipe. |
69edf99
to
fc8427a
Compare
0394fe5
to
a64c54d
Compare
I can reproduce the same issue with the binaries at: https://github.com/kubefirst/kubefirst/releases/tag/v2.3.5, so this seems like a regression upstream. |
I'd like to add, when building locally, I experience the hanging issue with any |
Is this really ready to merge? The formula has been modified to remove all the bits that caused the hanging, but from what I can tell the hanging still seems to be an issue for any end user. |
My apologies. I didn't see your other comment about the additional hangs. |
lgtm @p-linnane The hanging is something we are going to address on a per command basis as there are times when we actually do want the terminal to hang for experience reasons. Our product just underwent its biggest architecture shift simulataneously with its biggest feature release since its inception and will have more iterations to fine tune the user experience. I think this is ready to merge as is. |
@alebcay can you approve? |
system "go", "build", *std_go_args(ldflags: ldflags) | ||
|
||
generate_completions_from_executable(bin/"kubefirst", "completion") | ||
end |
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.
So just to confirm: shell completions which is being removed here is intentional and will no longer be supported?
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 confirm this @k8swrangler, due to the hanging issue we cannot ship completions out of the box. Users will have to run kubefirst completion > some_file.sh
and Ctrl + C on their own after installing.
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.
To clarify: kubefirst completion
doesn't generate the files. The user would need to pipe that to the appropriate locations and hit Ctrl+C.
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.
Thanks, edited my comment to make that clear.
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.
Shell command completion is one of those things that is almost never used in our app so it's not a priority. This cli is more an initial interface to the actual app which has grown beyond the cli
Apart from Bo's comment/question which should be addressed, I'm 👍 with this (with the understanding that end users may be negatively impacted) as long as we get an issue opened upstream and link to it from this PR or from the formula. It allows contributors/maintainers here to remember that we ran into this and track resolution (can hopefully add completion generation back then), and gives us a place that we can point end users to for root cause. |
I think what I'm getting at is that shell completions for this cli are not valuable to us. Would be better to let it die rather than open an issue and track a feature we will probably never reimplement. |
I've opened konstructio/kubefirst#1902 so that we have a place to point any further user concerns/feedback to. |
🤖 An automated task has requested bottles to be published to this PR. |
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?