-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Add support to the updater to toggle auto-updates on and off. #12202
Add support to the updater to toggle auto-updates on and off. #12202
Conversation
This also adds the updater script to our native packages.
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.
LGTM
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.
Docs: It seems that you are committing changes that are already online. Could you rebase to make sure you're committing on top of the newest version?
It is up to date, the documentation changes got caught in #12182 as collateral damage, and this PR is re-adding them. |
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.
Docs: Looks good to me
Summary
This restores a subset of the changes that were reverted in #12182 that are generally known to be clean and working correctly.
Specifically, it re-adds the code in the updater script for toggling automatic updates on and off, the changes in the packaging code that include the updater script in our native packages, and the associated documentation changes for both parts.
The kickstart script integration will be handled in a separate PR at some point later this week.
Test Plan
Testing of the new
--enable-auto-updates
and--disable-auto-updates
options can be done trivially on any existing static or locally built install by downloading the copy of the script from this PR and simply running it with the appropriate option.