Suggestion: Homebrew Support for kubectl-ai Installation
Wouldn't it be better to run homebrew install kubectl-ai to get the latest version instead of downloading the binary every time?
I’m happy to help with the Homebrew configuration if needed.
It will ofc will be better :)
Will it add extra manual steps to our release process ?
@droot
We can automate this using GitHub Actions. I have a reference implementation in my repository.
The build step triggers homebrew build
Like the automation setup. @tuannvm pl. go ahead whenever convenient. No rush.
@droot We have two options:
-
If you can help fork the official repo
https://github.com/Homebrew/homebrew-casktoGoogleCloudPlatform, then the installation would be:brew install --cask kubectl-ai -
If you prefer to start from scratch, then we can have a new repo at
https://github.com/GoogleCloudPlatform/homebrew-kubectl-ai, then do:
# Add the tap
brew tap GoogleCloudPlatform/kubectl-ai
# Install the package
brew install kubectl-ai
Interesting. Creating a new repo under GoogleCloudPlatform is probably not feasible in the short term. Any other options ?
Plan B :)
https://github.com/GoogleCloudPlatform/kubectl-ai/pull/150
@droot please take a look. Thanks!
+
With these two distribution channels available, Homebrew become less important. Close the issue for now. https://github.com/GoogleCloudPlatform/kubectl-ai/issues/181 https://github.com/GoogleCloudPlatform/kubectl-ai/pull/150
Please re-open. brew is one of the world's most popular package managers. Myopic to think it's less important.