brson / multirust

[DEPRECATED] A tool for managing multiple Rust installations
656 stars 36 forks source link

Install `nightly` toolchain as `nightly-$date` also #9

Open huonw opened 9 years ago

huonw commented 9 years ago

Or provide an option to do it.

This would assist with e.g. bisecting bugs, because upgrades would leave a trail of successively nightlies.

brson commented 9 years ago

Good idea. To do this cleanly we need the bots to upload more metadata to associate the current nightly with an archive date. We could crawl the dates in the vicinity of the current date for checksums that match but that's pretty gnarly.

brson commented 9 years ago

Probably want to symlink when on platforms where that's possible.

brson commented 9 years ago

In fact, under this scheme we would probably only install to the dated directory and always make nightly/beta/stable a symlink (except maybe on windows).

brson commented 9 years ago

I might instead make 'stable', 'nightly', and 'beta' special cases that use their archive toolchain directory to avoid having to deal with symlinks on windows.

brson commented 9 years ago

Before this con be fixed in rust-buildbot where the manifests are created, I would be open to just having multirust probe recent dates for matching checksums to discover the archive date.