Following #1658128: Make it possible to build a project from d.o., the included make files should be referenced with the direct url to the make file instead of a local make file, as using the local make file only makes it possible to build directly on drupal.org.

CommentFileSizeAuthor
#1 issue-1749990.patch577 byteslsolesen
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lsolesen’s picture

FileSize
577 bytes
lsolesen’s picture

Status: Active » Needs review
c_archer’s picture

I have been having trouble with the beta2 release as well with Aegir I have got a platform installed however when I try and install a site to it I get these errors:

The external command could not be executed due to an application error.

Drush command terminated abnormally due to an unrecoverable error. Error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /var/aegir/platforms/commerce_kickstart-7.x-2.x-dev/profiles/commerce_kickstart/modules/contrib/message_notify/message_notify.module, line 75

Drush was not able to start (bootstrap) the Drupal database. Hint: This error often occurs when Drush is trying to bootstrap a site that has not been installed or does not have a configured database. Drush was attempting to connect to : Drupal version : 7.15 Site URI : chris1.shoeboxsites.com Default theme : garland Administration theme: garland PHP configuration : /usr/local/lib/php.ini Drush version : 4.6-dev Drush configuration: /var/aegir/platforms/commerce_kickstart-7.x-2.x-dev/sites/chris1.shoeboxsites.com/drushrc.php /var/aegir/platforms/commerce_kickstart-7.x-2.x-dev/drushrc.php Drush alias files : /var/aegir/.drush/chris1.shoeboxsites.com.alias.drushrc.php /var/aegir/.drush/server_localhost.alias.drushrc.php /var/aegir/.drush/server_master.alias.drushrc.php /var/aegir/.drush/platform_commerce_kickstart7x2xdev.alias.drushrc.php /var/aegir/.drush/dev.leo.shoeboxsites.com.alias.drushrc.php /var/aegir/.drush/platform_001.alias.drushrc.php /var/aegir/.drush/dev.chris1.shoeboxsites.com.alias.drushrc.php /var/aegir/.drush/chris3.shoeboxsites.com.alias.drushrc.php /var/aegir/.drush/dev.build.shoeboxsites.com.alias.drushrc.php /var/aegir/.drush/waggle-marketing.shoeboxsites.com.alias.drushrc.php /var/aegir/.drush/test1.shoeboxsites.com.alias.drushrc.php /var/aegir/.drush/eden-health-matters.shoeboxsites.com.alias.drushrc.php /var/aegir/.drush/platform_Commerce715.alias.drushrc.php /var/aegir/.drush/freerangeartists.shoeboxsites.com.alias.drushrc.php /var/aegir/.drush/platform_sb_brochure712v2.alias.drushrc.php /var/aegir/.drush/dev.chris.shoeboxsites.com.alias.drushrc.php /var/aegir/.drush/platform_sb_brochure712v1.alias.drushrc.php /var/aegir/.drush/dev.commerce.shoeboxsites.com.alias.drushrc.php /var/aegir/.drush/platform_spark7x10alpha4.alias.drushrc.php /var/aegir/.drush/test.shoeboxsites.com.alias.drushrc.php /var/aegir/.drush/chris2.shoeboxsites.com.alias.drushrc.php /var/aegir/.drush/platform_commerce715v3.alias.drushrc.php /var/aegir/.drush/johnstone-clark-heating.shoeboxsites.com.alias.drushrc.php /var/aegir/.drush/platform_sb_music715.alias.drushrc.php /var/aegir/.drush/platform_commerce715v1.alias.drushrc.php /var/aegir/.drush/platform_hostmaster.alias.drushrc.php /var/aegir/.drush/hostmaster.alias.drushrc.php Drupal root : /var/aegir/platforms/commerce_kickstart-7.x-2.x-dev Site path : sites/chris1.shoeboxsites.com Modules path : sites/chris1.shoeboxsites.com/modules Themes path : sites/chris1.shoeboxsites.com/themes File directory path: sites/chris1.shoeboxsites.com/files %paths : Array You can select another site with a working database setup by specifying the URI to use with the --uri parameter on the command line or $options['uri'] in your drushrc.php file.

Any ideas?

AquaticDisorder’s picture

c_archer’s picture

I managed to get it working by upgrading my local version of PHP which Aegir uses for Drush commands.

lsolesen’s picture

Title: Support for Aegir installs » Support for Aegir installs directly from the web interface
c_archer’s picture

Status: Needs review » Fixed
bojanz’s picture

Status: Fixed » Active

Full aegir support will require effort from our side.
I'll update the issue summary later.

alexxo’s picture

+1

acouch’s picture

This breaks being able to use 'drush make http://drupalcode.org/project/commerce_kickstart.git/blob_plain/refs/hea...' . Why is that an improvement if you need to download the full repository first? Am I missing something?

bojanz’s picture

Because that's how drupal.org requires make files to be structured nowadays.
See http://bojanz.wordpress.com/2013/05/29/distribution-drush-make for ways to get around this.

garethhallnz’s picture

This should do the trick

api = 2
core = 7.x

projects[commerce_kickstart] = 2.x
projects[commerce_kickstart][type] = core
lsolesen’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)
theohawse’s picture

Check out how I do it: http://cgit.drupalcode.org/sandbox-theohawse-2157275/tree/ck7/build-ck7....
-it calls a stem makefile which grabs the install profiles separately.
Use that as the makefile in aegir and it should work pretty good.