Skip to content

Include all shipped files in the manifest #22

Closed
rust-lang/rust
#78486
@pietroalbini

Description

@pietroalbini

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-optimizationIssue that affects the speed or resource usage of promote-releaseC-new-featureA new feature that we could implement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions