-
Notifications
You must be signed in to change notification settings - Fork 2.6k
fix(vendor)!: vendor files with .rej/.orig suffix #15569
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
Conversation
Maybe I should do it in reversed order. |
So that it explicitly shows what we really vendor
This is meant to fixes rust-lang#13191 As git sources and registry sources are considered immutable. I don't think there is any reason excluding those files. There might be a little chance local Git repositories might have those, though that is a rare use case. Alternatively, we could reject all `.rej`/`.orig` files but `Cargo.toml.orig`.
Yeah, I'd put the snapshot first |
// Temporary Cargo files | ||
Some(".cargo-ok") => false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that we are doing fresh extractions, is this still needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For git checkouts we still have that, though there is no test exercising that code path. Do you want a test for it in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go ahead and merge this
What does this PR try to resolve?
This is meant to fixes #13191
As git sources and registry sources are considered immutable.
I don't think there is any reason excluding those files.
There might be a little chance local Git repositories might have those,
though that is a rare use case.
Alternatively,
we could reject all
.rej
/.orig
files butCargo.toml.orig
.How should we test and review this PR?
Test updates should be sufficient.
Additional information
This is a follow-up of #15514