rust-lang-deprecated / rust-packaging

Packaging for Rust + Cargo in multiple formats
Apache License 2.0
16 stars 11 forks source link

Fetch Cargo manually from new archives #67

Closed alexcrichton closed 7 years ago

rust-highfive commented 7 years ago

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

alexcrichton commented 7 years ago

The tl;dr; of the scheme I'm envisioning is:

I haven't quite figure out how to deal with Cargo's versioning just yet. Cargo builds all release artifacts on the auto-cargo branch and doesn't have a great way of distinguishing what channel the build is for. Similarly, if we have different names for artifacts in the cargo upload directories we'd need to discover that here as well.

What I envision is that all rust-1.X.Y branches in Cargo are built with --release-channel=stable for Cargo. The artifacts are then named with cargo-<cargo version>-<target>.tar.gz. I guess we can upload some file in each folder with a deterministic name with the contents being <cargo version>?

@brson, thoughts on this?

brson commented 7 years ago

This all sounds fine to me. r+