Skip to content

Vendoring from a git repository should include files as if they were published #7051

@glandium

Description

@glandium

When we vendor forked versions of crates from git repositories in Firefox, cargo vendor adds plenty of files that wouldn't be there if the crate had been published on crates.io, like CI files, .gitignore, etc. Even Cargo.toml is normalized, and this makes vendoring more noisy than necessary.

See e.g.
https://phabricator.services.mozilla.com/D18767
https://phabricator.services.mozilla.com/D20289

(originally filed as alexcrichton/cargo-vendor#203)

Summary Notes

Generated by triagebot, see help for how to add more

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-vendorS-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions