Closed (won't fix)
Project:
Drush
Version:
8.x-6.x-dev
Component:
Make
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Jan 2013 at 14:03 UTC
Updated:
11 Sep 2013 at 11:57 UTC
Hi,
I have read the make documentation and searched the issue queue without finding anything useful, so here I go:
There are situations were you want to apply a patch after everything have been installed/download (by Drush make). Is that doable? Port/packaging systems for various operating systems have a post install target that handle such stuff.
Comments
Comment #1
jhedstromI'd be curious as to the use case. Normally, patches target single projects, so the drush make workflow supports specifying patches against projects. If a patch includes changes to multiple projects, that is currently not supported, but could potentially be a feature addition.
Comment #2
hansfn commentedI kind of expected that question. In addition to the obvious use case that you mention, I just stumbled upon another use case - patching modules in an installation profile. I know I can work-around this various ways, but it would be really nice to just say that this patch should be applied at the end.
PS! One of the work-arounds is to add the module in question explicitly to my make file (over-riding the module in the profile) and set a patch for that module. This doesn't work that well since the patch isn't written for the module, but for the installation profile. I don't think I currently can tell Drush to strip 2 or 3 directory levels when patching?
Comment #3
greg.1.anderson commentedBoth drush make and drush iq try only -p0 and -p1 when applying patches. drush iq is more flexible than drush make in that if you give it a patch number that you want to apply, then it will try to find the correct module directory to apply the patch in. I would suggest trying to run drush iq manually after drush make; if that works, you might try using a post-make hook to invoke drush iq.
If drush iq can't find modules in a profile, then move this bug to the iq queue, or open a new issue there, and I'll fix it.
Comment #4
greg.1.anderson commentedThis issue was marked
closed (won't fix)because Drush has moved to Github.If you still need help, please ask your question again on Drupal Answers and then post a link here to the new question. Please also change the status of this issue to
closed (duplicate).Use our Github project for contributing code, or reporting bugs, or requesting features.