Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.When deploying a new CiviCRM platform using the example drush makefile in 7.x-3.x-dev, the resulting sites/all/modules/civicrm directory only contains the files and directories from the l10n package. No errors are reported during the platform creation process.
core = 7.x
api = 2
projects[] = drupal
translations[] = fr
defaults[projects][l10n_url] = http://ftp.drupal.org/files/translations/l10n_server.xml
projects[drupal][patch][] = "file:///var/aegir/patches/letsencrypt_challenge.patch"
projects[front][subdir] = contrib
projects[logintoboggan][subdir] = contrib
projects[views][subdir] = contrib
projects[ctools][subdir] = contrib
projects[civicrm][type] = "module"
projects[civicrm][directory_name] = "civicrm"
projects[civicrm][download][type] = "get"
projects[civicrm][download][url] = "http://downloads.sourceforge.net/project/civicrm/civicrm-stable/4.6.14/civicrm-4.6.14-drupal.tar.gz"
libraries[civicrm_l10n][destination] = "modules"
libraries[civicrm_l10n][directory_name] = "civicrm"
libraries[civicrm_l10n][download][type] = "get"
libraries[civicrm_l10n][download][url] = "http://downloads.sourceforge.net/project/civicrm/civicrm-stable/4.6.14/civicrm-4.6.14-l10n.tar.gz"
libraries[civicrm_l10n][overwrite] = TRUE
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | example_makefile-2699211-8.patch | 2.23 KB | helmo |











Comments
Comment #2
lavamind CreditAttribution: lavamind commentedComment #3
helmo CreditAttribution: helmo at Initfour websolutions commentedI can confirm this, with drush 8.0.5
I tried removing the '[overwrite] = TRUE' option... no luck.
The --help info from drush make mentions 'Overwrite existing directories. Default is to merge' but it does not apear to be doing that.
Comment #5
bgm CreditAttribution: bgm at Coop SymbioTIC commentedI updated the example makefile for CiviCRM 4.7.6 (it was really outdated!), however, initially I ran with "drush make civicrm.make --debug", and saw that tar was running out of disk space in /tmp.
The l10n tar is pretty big, and sometimes it's common practice to have a pretty small /tmp (100-200 MB).
Can you run with --debug and see what the error was?
Comment #6
helmo CreditAttribution: helmo at Initfour websolutions commentedJust tried the updated makefile in drush 8.0.5 and drush 8.1... Same.
Last part of the verbose log:
The Undefined property can be fixed by adding
libraries[civicrm_l10n][type] = "libraries"Comment #7
ergonlogicHere's a more-or-less stock makefile for a CiviCRM platform: https://github.com/nditech/NDIplatforms/blob/0.4.x/makefiles/stock/civic.... It uses the new .make.yml format, which is recommended now.
Comment #8
helmo CreditAttribution: helmo at Initfour websolutions commentedHere's a patch that moves us to a make.yml file based on @ergonlogic's example.
Comment #9
bgm CreditAttribution: bgm at Coop SymbioTIC commentedSeems good, please merge!
Comment #11
helmo CreditAttribution: helmo at Initfour websolutions commentedComment #12
ergonlogicI just updated the release version included in the makefile, and added some explanatory docs: http://cgit.drupalcode.org/hosting_civicrm/commit/?id=f2bb3b82b091118f6c...