Cargo: Make https://static.rust-lang.org/cargo-dist browsable (i.e. add indexes)

Created on 2 Aug 2016  Â·  15Comments  Â·  Source: rust-lang/cargo

It’s kinda hard to find what snapshots are available when static.rust-lang.org doesn’t provide indexes.

Related to: https://github.com/rust-lang/rust/issues/31322#issuecomment-236466490

Most helpful comment

All 15 comments

cc @brson, @edunham

(I forget how the script otherwise runs here)

I've modified update-rust-dist-index.sh on the build master to generate indexes for cargo-dist and ran it. Should be fixed.

It's not, https://static.rust-lang.org/cargo-dist/ still returns an error message.

@brson it looks like it's just uploading the same index twice, rather than regenerating for the cargo-dist dir?

Uh, wow. My previous fix for this was all kinds of wrong. Should be working now. I've done the CDN invalidation on the main index.html but it could be 24 hours until some of the other pages are refreshed.

It looks like no builds from 2017 show up in the listing yet?

We're no longer using buildbot for nightlies, so those archives won't be populated any more

Yeah, nightlies are now on totally unpredictable URLs… 😕

The historical process for building Cargo nightlies has been discontinued. There is a current process uploading to deterministic URLs at:

We plan on also maybe discontinuing this process as the main rust-lang/rust repository will be responsible for building Cargo and distributing it.

So how can we easily get the latest nightly...?

rust-lang/rust isn't buliding musl cargo binaries

@alexcrichton https://static.rust-lang.org/cargo-dist/index.html seems to have fossilized ... Somewhere around 2016.

Was this page helpful?
0 / 5 - 0 ratings