Skip to content

Fix checksum failures#759

Merged
brson merged 2 commits intorust-lang:masterfrom
brson:chk
Oct 21, 2016
Merged

Fix checksum failures#759
brson merged 2 commits intorust-lang:masterfrom
brson:chk

Conversation

@brson
Copy link
Copy Markdown
Contributor

@brson brson commented Oct 14, 2016

Fix checksum failures with new self-update process

This changes the update process in the following ways: the current
version is read from the server at /rustup/stable-release.toml; if the
version is different from the running version then rustup downloads
the new release from the archives at /rustup/archive/$version/.

Fixes #524

This is intended to be a temporary solution until the full solution detailed here is implemented.

r? @alexcrichton

Temporary hack to avoid issues with consistent checksumming on the
CDN.

Issue rust-lang#524
@brson
Copy link
Copy Markdown
Contributor Author

brson commented Oct 14, 2016

I was pretty sleepy when I implemented this. Please read it closely.

@alexcrichton
Copy link
Copy Markdown
Member

Looks good to me! It's intentional right that the sha256 file isn't downloaded and checked though, right?

Other than that after the compile error is fixed r=me

This changes the update process in the following ways: the current
version is read from the server at /rustup/stable-release.toml; if the
version is different from the running version then rustup downloads
the new release from the archives at /rustup/archive/$version/.

Fixes rust-lang#524
@brson brson merged commit d32ae1a into rust-lang:master Oct 21, 2016
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.

2 participants