-
Notifications
You must be signed in to change notification settings - Fork 26
Conversation
Requires latest version of the v2 script, which currently lives on edunham's github.
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
I want to test this live with rustup before merging and deployment. |
lgtm, makes me want even more to get the buildmaster under docker or ansible or something like that to automate these changes to install dependencies and whatnot. |
rustup.sh can install from the v2 manifests in dev now, but there are some issues with the output still that prevent it from installing std. Some of these were in the pasted example, and some only in the live version. I should have looked at the example more closely earlier. https://dev-static.rust-lang.org/dist/2015-11-16/channel-rust-nightly.toml No rust-std package. The section for the Extra rust-std-$triple package. I didn't notice this was in the example you shared too. This is probably a result of interpreting a components file to make the package list. Looks like [pkg.rust-std-x86_64-pc-windows-msvc]
available = true
version = "1.6.0-nightly (00aa3cbec 2015-11-09)" Incorrect rust-std package name in rust component list. Proboably related to above issues with rust-std. Should be Missing targets for non-rust packages. cargo, rust-docs, and rustc don't have any target information or urls to their installers. Only in dev. Example looks fine. Missing mingw packages. Only in dev. No extensions listed. This only happens in dev. Incorrect extensions. The only packages that should be extensions are Missing extensions. The live version of the manifest lists no extensions. Available flag is at the wrong level. This flag needs to indicate which tarballs don't exist, but today the available flag is at the package level not the package.target level. In dev I'd expect to see the installers for e.g. darwin to be |
To make this all work reliably you may need to hardcode exactly what packages for which targets you expect to see, though maybe that can be derived from information rust-buildbot has. It confusing and sad that in rust-buildbot 'component' means yet another thing from in rust-installer. |
I fixed each of @brson's specific points from #44 (comment) yesterday, however we figured out that the manifest builder also needs to search back through previous dates until it finds a Cargo if there wasn't a Cargo built that night. Working on that this morning. There won't be any additional commits necessary on this PR to make that change; it's all going into https://github.com/edunham/v2_rust_metadata/ right now which is then installed to the virtualenv. I'll comment again here once I have it examining the cargo-dist/* folders to find the most recent cargo. |
I talked with Alex last week about how to correctly structure this; current PR will actually run the script at the wrong time. Correct solution:
|
@alexcrichton If you're still looking to get the buildmaster under CM, I've been helping the Servo team with the Salt configuration they use to coordinate their Buildbot setup. I'd be happy to help create a similar Salt configuration for this repo if you'd like. |
Closing in favor of #66. |
Invokes https://github.com/edunham/v2_rust_metadata/ to build channel--.toml. It'll look like https://gist.github.com/edunham/d21384cdce5824bd603c when the latest version gets run (instead of the old version that ran last nightly, because I accidentally had a commit instead of branch name pinned in the installation line in requirements.txt)