rust-lang / rust-lang/rustup

Check if a nightly build for the given date actually exists before attempting to install

Open
#761 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
7k
Forks
1.1k
Avg merge
22h 40m
Merged PRs (30d)
46

Description

$ rustup --version
rustup 0.6.3 (a0e2132 2016-08-28)

$ rustup toolchain install nightly-2016-10-13
info: syncing channel updates for 'nightly-2016-10-13-x86_64-unknown-linux-gnu'
error: no release found for 'nightly-2016-10-13'

$ rustup toolchain install nightly
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: downloading component 'rustc'
 37.2 MiB /  37.2 MiB (100 %)   1.4 MiB/s ETA:   0 s
info: downloading component 'rust-std'
 44.5 MiB /  44.5 MiB (100 %)   1.6 MiB/s ETA:   0 s
info: downloading component 'rust-docs'
  9.2 MiB /   9.2 MiB (100 %)   1.4 MiB/s ETA:   0 s
info: downloading component 'cargo'
  3.9 MiB /   3.9 MiB (100 %)   1.1 MiB/s ETA:   0 s
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'rust-docs'
info: installing component 'cargo'

  nightly-x86_64-unknown-linux-gnu installed - rustc 1.14.0-nightly (098d22845 2016-10-13)

The most recent nightly I'm able to install by date is 2016-10-11.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing rustup toolchain install nightly-2016-10-13 and trace the toolchain installation path that handles dated channels. Compare it with installation of nightly; done means a missing dated nightly is detected before component downloads and produces a clear error, while an existing nightly remains installable.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.