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

Comments

marcelovani created an issue. See original summary.

marcelovani’s picture

Status: Active » Needs review
StatusFileSize
new531 bytes
davidgrayston’s picture

Status: Needs review » Reviewed & tested by the community

Patch #2 has fixed the issue for me.

The awssdk library is now being placed in the /libraries directory.

Tested on drush 5.x and 7.1.0

davidgrayston’s picture

StatusFileSize
new591 bytes

Here's an alternative patch to download using git

lpeabody’s picture

+1 Patch in #4 works great.

  • marcelovani committed 122083e on 7.x-5.x
    Issue #2654126 by marcelovani, davidgrayston: Drush make doesn't check...
marcelovani’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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