The recent drush download provided by drush.ws as of March 26th is broken when using Drush Make, reverting back to the March 6th dev version works though. Should also mention running drush make through msysgit.

$ drush make "https://raw.github.com/Web-Experience-Toolkit/Drupal7-WET-Distro/master/...
uild" directory_name -v
Loading release_info engine. [notice]

explode() expects parameter 2 to be string, array given [warning]

make.download.inc:99
reset() expects parameter 1 to be array, null given [warning]

make.download.inc:99
Executing: which wget
preg_match() expects parameter 2 to be string, array given [warning]

exec.inc:295
Executing: curl -s -L --connect-timeout 30 -o "C:\\Users\\userdir\\AppData\\Loca
l\\Temp\\dow8B2E.tmp" "Array"
file_get_contents(C:/Users/userdir/AppData/Local/Temp/make_tmp_1333116764_4f75bf
5cbc287/): [warning]
failed to open stream: No such file or directory
make.utilities.inc:454
unlink(C:/Users/userdir/AppData/Local/Temp/make_tmp_1333116764_4f75bf5cbc287/):
[warning]
Invalid argument drush.inc:792
Invalid or empty make file: [error]

https://raw.github.com/Web-Experience-Toolkit/Drupal7-WET-Distro/master/...
uild
Command dispatch complete [notice]

Comments

moshe weitzman’s picture

Category: bug » support
Status: Active » Fixed

Please try most recent installer. was posted this week.

sylus’s picture

Issue summary: View changes

Mods

sylus’s picture

Version: 7.x-5.0 »
Category: bug » support
Status: Active » Fixed

Thanks for the quick reply Moshe ^_^

This was the most recent on drush.ws at http://drush.ws/drush_windows_installer

I labelled the bug report as using -dev instead of 7.x-5.0

sylus’s picture

Issue summary: View changes

Changes

sylus’s picture

Category: support » bug
Status: Fixed » Active

Marking back to bug as is using the latest version.

sylus’s picture

Version: » 7.x-5.0

Changing the label as incorrectly stated was using -dev.

moshe weitzman’s picture

Issue tags: +Windows

Sorry, I misread the filename. You do have latest. Would be helpful if someone could verify and debug this.

sylus’s picture

Status: Fixed » Active

Marking as active

wmostrey’s picture

I have the same issue using the Drush 5.0 Make on any external url, on Mac OS X 10.6.8:

$ drush make "http://drupalcode.org/project/adfs_standard.git/blob_plain/refs/heads/7.x-1.x:/adfs_standard.make" test
explode() expects parameter 2 to be string, array given make.download.inc:99                                                     [warning]
reset() expects parameter 1 to be array, null given make.download.inc:99                                                         [warning]
preg_match() expects parameter 2 to be string, array given exec.inc:295                                                          [warning]
escapeshellarg() expects parameter 1 to be string, array given exec.inc:308                                                      [warning]
file_get_contents(): Filename cannot be empty make.utilities.inc:454                                                             [warning]
unlink(): No such file or directory drush.inc:792                                                                                [warning]
Invalid or empty make file: http://drupalcode.org/project/adfs_standard.git/blob_plain/refs/heads/7.x-1.x:/adfs_standard.make    [error]
$ drush make "https://raw.github.com/Web-Experience-Toolkit/Drupal7-WET-Distro/master/distro.build" test
explode() expects parameter 2 to be string, array given make.download.inc:99                                                     [warning]
reset() expects parameter 1 to be array, null given make.download.inc:99                                                         [warning]
preg_match() expects parameter 2 to be string, array given exec.inc:295                                                          [warning]
escapeshellarg() expects parameter 1 to be string, array given exec.inc:308                                                      [warning]
file_get_contents(): Filename cannot be empty make.utilities.inc:454                                                             [warning]
unlink(): No such file or directory drush.inc:792                                                                                [warning]
Invalid or empty make file: https://raw.github.com/Web-Experience-Toolkit/Drupal7-WET-Distro/master/distro.build                 [error]

Both url work perfect on Drush 4.5 + Drush Make.

moshe weitzman’s picture

Category: support » bug
Issue tags: -Windows
wmostrey’s picture

Issue tags: +Windows

This issue appears to be fixed on the master version.

moshe weitzman’s picture

Status: Active » Fixed

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Log