summary refs log tree commit diff
path: root/src/etc/rustup.sh
AgeCommit message (Collapse)AuthorLines
2015-01-03Download from the combined installerBrian Anderson-1/+1
2015-01-03rustup: Long linesBrian Anderson-1/+4
2015-01-02rustup: Don't do verbose tarball extractionBrian Anderson-1/+1
2015-01-02rustup: Install from the combined installerBrian Anderson-45/+4
2014-12-29rustup: allow the use of either sha256sum or shasum to verify the download hashErick Tryzelaar-2/+16
2014-12-29rustup: Add support for resuming downloadsErick Tryzelaar-2/+15
2014-12-29rustup: allow rust and cargo snapshot dates to be differentErick Tryzelaar-19/+37
2014-12-29rustup: add caching of old nightliesErick Tryzelaar-9/+40
2014-12-29rustup: Add support for verifying remote hashesErick Tryzelaar-0/+32
2014-12-28Split overly long lineJohannes Hoff-1/+3
2014-12-24Better temporary directory nameJohannes Hoff-1/+1
2014-12-24Merge branch 'master' into cfg_tmp_dirJohannes Hoff-61/+86
Conflicts: src/etc/rustup.sh
2014-12-23Merge pull request #19886 from brson/rustupbors-1/+1
rustup: Don't do verbose tarball extraction Reviewed-by: alexcrichton
2014-12-15Add probe and var for fileAaron Friel-1/+2
Was testing rustup on a very minimal Debian installation and got errors during the install process (error occurred in `install.sh` of the Rust nightly.) Noticed that Rustup was downloading the i686 nightly instead of x86-64. Installing `file` fixed the problem, and this patch adds the probe to ensure file is installed before attempting to use it. There may still be an issue with the i686 installation, I did not investigate further.
2014-12-15rustup: Don't do verbose tarball extractionBrian Anderson-1/+1
This creates an enormous amount of spew.
2014-12-03rustup: simplify downloading packagesErick Tryzelaar-8/+9
2014-12-03rustup: extract the tarballs as part of installationErick Tryzelaar-11/+16
2014-12-03rustup: rewrite to protect against truncationErick Tryzelaar-18/+28
This closes #19168. It's possible that if the downloading of `rustup.sh` is interrupted, bad things could happen, such as running a naked "rm -rf /" instead of "rm -rf /path/to/tmpdir". This wraps rustup.sh's functionality in a function that gets called at the last time that should protect us from these truncation errors.
2014-12-03rustup: factor out installing packages into a functionErick Tryzelaar-27/+14
2014-12-03rustup: factor out downloading and extracting the snapshot tarballsErick Tryzelaar-18/+35
2014-12-03rustup: factor out the install flags into a CFG_INSTALL_FLAGS variableErick Tryzelaar-14/+13
2014-12-03rustup: rename TMP_DIR to CFG_TMP_DIRErick Tryzelaar-16/+16
2014-12-03rustup: add a RUST_ prefix to the rust-specific variablesErick Tryzelaar-10/+11
2014-12-03rustup: probe for the existance of tarErick Tryzelaar-2/+3
2014-12-03rustup: make rustup executableErick Tryzelaar-0/+0
2014-12-03whitespace cleanupErick Tryzelaar-1/+1
2014-11-27Fall back to hard coded download directoryJohannes Hoff-1/+13
If mktemp fails, fall back to a hard coded directory, per @nodakai's feedback.
2014-11-22Use mktemp for temporary download directoryJohannes Hoff-7/+1
Using the current directory may not always be appropriate, for example in the case where it will unnecessarily trigger a backup to be made. The only risk with this change is that systems might not have a mktemp. I am not aware of such a system, but have not tested on Windows. It is working on a basic Ubuntu and OS X installation.
2014-10-28Long linesBrian Anderson-1/+2
2014-10-27Untabify rustup.shBrian Anderson-18/+18
2014-10-07Add rustup.sh to the repoBrian Anderson-0/+475
Just to have it somewhere to point to. Updating it will not automatically update the one on static.rust-lang.org.