Description
Currently, the manifests don't include all the files available in the release, meaning that promote-release
has to whitelist extra paths to preserve in its pruning code (introduced by rust-lang/rust#78196 and #21).
Namely, they don't include the rustc-{channel}-src.{ext}
tarballs. Those tarballs are problematic since they are not installable through rustup, as they don't follow the standard format (for example here is the rust-src
component.
rust-src-1.47.0.tar.xz
├── components
├── install.sh
├── rust-installer-version
└── rust-src
├── lib
│ └── rustlib
│ └── src
│ └── rust
│ ├── Cargo.lock
│ └── library/
└── manifest.in
rustc-1.47.0-src.tar.xz
├── Cargo.lock
├── Cargo.toml
├── config.toml.example
├── configure
├── CONTRIBUTING.md
├── COPYRIGHT
├── git-commit-hash
├── library/
├── LICENSE-APACHE
├── LICENSE-MIT
├── README.md
├── RELEASES.md
├── src/
├── vendor/
├── version
└── x.py
A way to solve this issue cleanly would be to figure out a way to include the rustc-{channel}-src
tarballs in the manifest, thus making sure that all files we ship are referenced in a single manifest file. The best way to include those files is still an open question.
Once this is fixed this snippet can be removed.