When packaging, Drush make by default assumes that the Drupal.org project shortname and the .profile file it contains will match. If they don't match, Drush make won't recurse into the profile's Drush make file in all cases.

This is a legacy issue (IMO you generally don't need to add drupal_ to the machine name of stuff that's not core) that we should fix in the Drupal 7 version of Commons by moving the .profile and related install profile variable so that the .profile and project shortname match.

Comments

jp.stacey’s picture

+1 for this. To repeat the issue, save the following as my_commons.make:

api = 2
core = 6.x
projects[] = drupal
projects[] = commons

and run: drush make my_commons.make /tmp/my_commons. Commons is downloaded into /tmp/my_commons/profiles/commons, but none of the dependencies are downloaded (either into profiles/commons or sites/all:

$ drush make my_commons.make /tmp/my_commons
Project information for drupal retrieved.
Project information for commons retrieved.
drupal downloaded from http://ftp.drupal.org/files/projects/drupal-6.22.tar.gz.
commons downloaded from http://ftp.drupal.org/files/projects/commons-6.x-2.4.tar.gz.
$ ls /tmp/my_commons/profiles/
commons  default
$ ls /tmp/my_commons/profiles/commons/modules/
features
$ ls /tmp/my_commons/sites/all/
README.txt