Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have placed drush_make in
~/.drush/
~/drush/
~/drush/commands/
drush on its own works, but it will not find drush_make no matter where I place it or how I call it. I am trying to generate a makefile from a live site but with ZERO success. I could write my own .make file but rather than do all that work only to find that drush cant find make would be more wasted time. Please advise what is not clicking in my mind that others are grasping.
As expected, drush is unaware of make or any other command from drush_make 2.3, 2.3-dev
Comment | File | Size | Author |
---|---|---|---|
#4 | 1298086-4.patch | 537 bytes | mikeker |
Comments
Comment #1
helmo CreditAttribution: helmo commentedHaving a filepath like "~/.drush/drush_make/drush_make.drush.inc" should work.
When you call "drush --debug" does it then mention anything about make?
Normally it would state something like: Initializing drush commandfile: drush_make
Comment #2
jonhattanIF using drush 5.x probably you need to perform
drush cc drush
.Comment #3
helmo CreditAttribution: helmo commentedComment #4
mikeker CreditAttribution: mikeker commentedGeneralized the title since this happens for
drush make
as well and it took me forever to find this issue... #2 worked like a charm!Attached is a patch (against the 3.x branch) that adds a few lines to INSTALL.txt about this. +1 for also adding it to the project page.
Comment #5
jyr CreditAttribution: jyr commentedI run drush cc drush, but for me not works
Any suggestions?
Comment #6
helmo CreditAttribution: helmo commented@jyr: What version of drush and drush make do you have. And where have you installed it?
@mikeker: thanks for the patch, please note: Drush make is moving into drush core (#1310130: Put drush make in drush core). So I doubt it will be added to 3.x, but it might in the meantime still be useful for the 2.x branch.
Comment #7
helmo CreditAttribution: helmo commented[ Powered by #1115636: Issue Macros and Templates - Drush Make]
Drush make is being merged into drush core (discussed in issue:#1310130: Put drush make in drush core)
This means that the issue queue is also moving. The Drush project has a component called 'Make' for this purpose.
We would like to take this opportunity to leave behind old/obsolete issues, allowing us to focus on a stable make command in core. E.g. one of the major tasks ahead is making more use of the Drush core code for handling downloads and decompression.
If you feel that this issue is still relevant, feel free to re-open and move it to the Drush queue.
More information will be posted on the drush_make and drush project pages.
Comment #8
jyr CreditAttribution: jyr commentedSorry, my guilt.
The patch is works me
Comment #9
mikeker CreditAttribution: mikeker commentedSince Drush Make is being included in Drush core, the solution above (
drush cc drush
) will only be needed when moving from a 5.x-dev build without Drush Make to one with Drush Make.As per #7, this is an issue that can be left behind. Thanks for the clarification, helmo.
Comment #9.0
mikeker CreditAttribution: mikeker commentedupdated problem