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

Installer updates #22256

Merged
merged 4 commits into from
Feb 16, 2015
Merged

Installer updates #22256

merged 4 commits into from
Feb 16, 2015

Conversation

brson
Copy link
Contributor

@brson brson commented Feb 13, 2015

Highlights:

  • Adds an 'uninstall.sh' script to /usr/local/lib/rustlib/uninstall.sh, the path to which is printed during installation.
  • Components can be deselected during install, like install.sh --without=rust-docs.
  • Components can be listed with install.sh --list-components.
  • Vastly reduces spew during install (but supporting a --verbose option).

Typicall install run looks like:

brian@brianX1:~/dev/multirust⟫ sudo ./install.sh 
[sudo] password for brian:
install: creating uninstall script at /usr/local/lib/rustlib/uninstall.sh
install: installing component 'rustc'
install: installing component 'cargo'
install: installing component 'rust-docs'

    Rust is ready to roll.

Needs to be merged right before corresponding PRs to cargo and rust-packaging.

Fixes #21117
Fixes #20283

@rust-highfive
Copy link
Collaborator

r? @pcwalton

(rust_highfive has picked a reviewer for you, use r? to override)

@brson
Copy link
Contributor Author

brson commented Feb 13, 2015

r? @alexcrichton

@brson
Copy link
Contributor Author

brson commented Feb 13, 2015

cc @steveklabnik This tweaks the very first section of the README and The Book's uninstall instructions.

@brson
Copy link
Contributor Author

brson commented Feb 13, 2015

Oh, if not everything lands together in time for a nightly I expect it shouldn't result in major problems like last time. Now that the installers are versioned they should not clobber each other, but the combined build will probably fail.

@alexcrichton
Copy link
Member

@bors: r+ 9df38bf

Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 15, 2015
 Highlights:

* Adds an 'uninstall.sh' script to `/usr/local/lib/rustlib/uninstall.sh`, the path to which is printed during installation.
* Components can be deselected during install, like `install.sh --without=rust-docs`.
* Components can be listed with `install.sh --list-components`.
* Vastly reduces spew during install (but supporting a `--verbose` option).

Typicall install run looks like:

```
brian@brianX1:~/dev/multirust⟫ sudo ./install.sh
[sudo] password for brian:
install: creating uninstall script at /usr/local/lib/rustlib/uninstall.sh
install: installing component 'rustc'
install: installing component 'cargo'
install: installing component 'rust-docs'

    Rust is ready to roll.
```

Needs to be merged right before corresponding PRs to cargo and rust-packaging.

Fixes rust-lang#21117
Fixes rust-lang#20283
@bors bors merged commit 9df38bf into rust-lang:master Feb 16, 2015
bors added a commit to rust-lang/cargo that referenced this pull request Feb 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade rust-installer Uninstalling Rust downloads the whole Rust again
5 participants