I am using Drush 7
When I run the command to build my distribution, it finds awssdk.make and tries to check out the libraries but that no longer works. It used to work on Drush 5.x
I did some debugging and found that Drush will ignore two entries for the same module.
i.e.
on the distribution I have
projects[awssdk][version] = 5.4
projects[awssdk][subdir] = contrib
Then, on awssdk
projects[awssdk][type] = library
projects[awssdk][download][type] = git
projects[awssdk][download][url] = https://github.com/amazonwebservices/aws-sdk-for-php.git
projects[awssdk][download][tag] = 1.5.10
In other words, same key.
I have done some tests and changed awssdk to
libraries[awssdk][download][type] = "file"
libraries[awssdk][download][url] = https://github.com/amazonwebservices/aws-sdk-for-php/archive/1.5.10.zip
It works well.
I am not changing the version of the library here, it has been proposed on the issues below, If needed, we can change the version to the last stable release.
https://www.drupal.org/node/1996352
https://www.drupal.org/node/2146429
Another problem that I fixed here:
The entry for libraries also conflicts with the entry on the distribution make file
projects[libraries] = 2.2
This has already been requested
https://www.drupal.org/node/2198909
https://www.drupal.org/node/1240610
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | awssdk-drush_make-2654126-4.patch | 591 bytes | davidgrayston |
| #2 | awssdk-drush_make-2654126-2.patch | 531 bytes | marcelovani |
Comments
Comment #2
marcelovaniComment #3
davidgrayston commentedPatch #2 has fixed the issue for me.
The
awssdklibrary is now being placed in the/librariesdirectory.Tested on drush 5.x and 7.1.0
Comment #4
davidgrayston commentedHere's an alternative patch to download using git
Comment #5
lpeabody commented+1 Patch in #4 works great.
Comment #7
marcelovani