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

Add the "no-self-update" feature #602

Merged
merged 1 commit into from Jul 21, 2016

Conversation

Projects
None yet
2 participants
@inejge
Copy link
Contributor

inejge commented Jul 20, 2016

Cf. #597. In addition to blocking self update, this patch also blocks self uninstall, with the same rationale.

Add "no-self-update" feature
Intended for distro-packaged builds of rustup. The feature disables
"self update" and "self uninstall" commands, erroring out if any of
them is invoked explicitly, and silently skipping self-update for
"update" even if "--no-self-update" is not specified.
@inejge

This comment has been minimized.

Copy link
Contributor Author

inejge commented Jul 21, 2016

Timeout in one Windows build (it hung at the start.)

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Jul 21, 2016

Wow, you are on a roll! Thank you.

@brson brson merged commit fd3e9f1 into rust-lang:master Jul 21, 2016

1 of 2 checks passed

continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@inejge inejge deleted the inejge:no-self-update branch Jul 31, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.