Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Backfill MAJOR.MINOR Rustup channel manifests #949

Closed

Conversation

carols10cents
Copy link
Member

Now that rust-lang/rust#76107 has been merged,
new releases will also write their manifests to channel-rust-1.x.toml as
well as channel-rust-1.x.y.toml to enable rustup install 1.48 to get
the latest patch release in a minor release series.

This commit adds an idempotent function to copy manifests for the last
patch release in every minor release series to the corresponding
minor manifest so that past minor versions will work with the rustup
functionality too.

This function should only need to be run once, but should be safe to run
more than once.

r? @pietroalbini or @Mark-Simulacrum

Now that rust-lang/rust#76107 has been merged,
new releases will also write their manifests to channel-rust-1.x.toml as
well as channel-rust-1.x.y.toml to enable `rustup install 1.48` to get
the latest patch release in a minor release series.

This commit adds an idempotent function to copy manifests for the last
patch release in every minor release series to the corresponding
minor manifest so that past minor versions will work with the rustup
functionality too.

This function should only need to be run once, but should be safe to run
more than once.
@pietroalbini
Copy link
Member

This is missing .sha256s and .asc signatures. Also, we don't have manifests from 1.0.0 to 1.7.0.

I'm wondering if this can be turned into a script we can run locally with AWS credentials, instead of always doing it in the release process.

@carols10cents
Copy link
Member Author

Yep, I can do that! Going to close this in the meantime :) Thank you for the feedback!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants