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

Disable gh update checker in our precompiled binaries #6977

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

mislav
Copy link
Contributor

@mislav mislav commented Feb 6, 2023

This is because most people install gh through a package manager, and people usually prefer for their package manager to check for updates instead of the gh process doing that at runtime.

After this, the only people still receiving update notifications would be Homebrew users, since the homebrew-core formula sets main.updaterEnabled explicitly.

Note that this also disables automatic update checking for Windows users who have installed the MSI. After this, MSI users will not learn about gh having new versions unless they perform the check themselves.

Fixes #6966, ref. #6867

This is because most people install gh through a package manager, and people usually prefer for their package manager to check for updates instead of the gh process doing it at runtime.
@mislav mislav requested a review from a team as a code owner February 6, 2023 18:18
@mislav mislav requested review from samcoe and removed request for a team February 6, 2023 18:18
@cliAutomation cliAutomation added this to Needs review 🤔 in The GitHub CLI Feb 6, 2023
The GitHub CLI automation moved this from Needs review 🤔 to Needs to be merged 🎉 Feb 6, 2023
@mislav mislav merged commit 052f567 into trunk Feb 7, 2023
The GitHub CLI automation moved this from Needs to be merged 🎉 to Pending Release 🥚 Feb 7, 2023
@github-actions github-actions bot moved this from Pending Release 🥚 to Done 💤 in The GitHub CLI Feb 8, 2023
@samcoe samcoe deleted the disable-update-checker branch March 27, 2023 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
The GitHub CLI
  
Done 💤
Development

Successfully merging this pull request may close these issues.

Request for option to disable update alerts for minor version upgrades
2 participants