Skip to content
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

Introduce a configurable order of stripping leading components #137

Closed
mkalkbrenner opened this issue Jun 7, 2017 · 2 comments
Closed

Comments

@mkalkbrenner
Copy link

As described in #133 the hardcoded order of p1, p0, p2 is the worst strategy for drupal core patches.
In #136 it is explained that p4 is missing for Magento root patches.
I suggest to turn the hardcoded order of fallbacks into a free configurable one.
Maybe something like
"strip-leading-components": "p2,p1,p0,p4"
in the extras section.

@cweagans
Copy link
Owner

cweagans commented Jun 2, 2018

Definitely not gonna happen in 1.x, but you'll be able to set the patch depth on a per-patch basis in 2.0.0.

@cweagans cweagans closed this as completed Jun 2, 2018
@cweagans
Copy link
Owner

cweagans commented Jun 2, 2018

(see #93 for what will be included in 2.0.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants