-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add additional channel manifest metadata #21243
Comments
Also add a |
Essentially what should happen here is the following:
This file needs to be parsable from shell scripts so I suggest a simple line-oriented key-value format, maybe like:
|
Justification: the version number will help tools know what version is available w/o a download; the archive-date lets tools correlate the build currently-available on the release channels with the build on the archives, so e.g. somebody with today's nightly can know that they also have the nightly from today's archive date. |
Triage: I know metadata has changed, I'm not quite sure how. |
How it has changed: There is now a This has (at the top level):
Packages have:
Targets have two possible forms, one in which the "available" key is true, and the other in which it is false. If the target is available:
Note that there is no It would probably be a good idea to either add one, or declare that Such a change would be backwards-compatible so long as If the target is not available, both keys are blank. Independent of being available, a target may have a The distinction between |
We've now done this with v2 manifests, so closing |
The current channel manifest is just a listing of files. It's already apparent that more metadata is needed. Right now multirust needs to know the archive date of nightlies, and the full version number (as written in rustc's 'version' file) would also be helpful.
Unfortunately I failed to version the existing manifest format so we probably need yet another file, say
channel-rust-nightly-data
that contains this extra metadata. This time make it versioned.The text was updated successfully, but these errors were encountered: