fix(binary): improve bundle installation documentation and release versioning#5554
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request refines the installation documentation and CLI version output for the Cluster Toolkit. The changes ensure consistency with canonical developer guides and improve the clarity of version information displayed by the binary. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the README installation instructions to use the 'cluster-toolkit' directory and removes redundant chmod commands. It also modifies the versioning logic in 'cmd/root.go' to label builds as an official binary distribution when tag information is missing but commit info is present. Feedback suggests that this change in version reporting may be misleading for developers building from source on local branches, as it could incorrectly identify non-official builds as official distributions.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request introduces a GitIsOfficial flag to the build process, allowing the tool to identify itself as an official binary distribution when no specific version tag is present. Additionally, the documentation is updated to reflect a new default extraction directory for pre-built bundles and removes unnecessary permission changes. I have no feedback to provide.
0be95cb
into
GoogleCloudPlatform:develop
This PR introduces documentation updates and addresses feedback raised in b/506109771 to improve the pre-built bundle installation.
NOTE
Post-merge action required: Upon merging this PR, the Louhi Google Cloud Build (GCB) pipeline configuration will need to be updated to pass GIT_IS_OFFICIAL=true during the gcluster compilation steps.