Perhaps this is just part of normal development and/or understanding but this was causing me problems and I thought it might be good to add to documentation. Please correct me if I am misguided.

I was running into problems with automated scripts in drush and having to manually build the platform in Aegir thinking it should be done automatically. I was offered this help by cweagans in irc and I thought I would share it. Perhaps if my understanding is incorrect (being fairly newbish) someone will correct or clarify for me. Here was what I was told:
cweagans:

  • You need a little stub make file like this: http:/​/​drupalcode.org/​project/​drupalorg_testing.git/​blob_plain/​HEAD:/​drupalorg_testing.make.bootstrap (minus the patch lines)
  • Tell it where to get your profile (replace the drupalorg_testing lines with your own information)
  • Run drush make yourfile.make --prepare-install --working-copy /path/to/where/you/want/the/result

The example file looks like this:

; Bootstrap .make file for the profile -- run this if don't have an existing
; core installation to drop the profile into.

api = 2
core = 6.x

projects[drupal][type] = "core"
projects[drupal][download][type] = "git"
projects[drupal][download][revision] = "6.x"

; Patch required to core for SimpleTest module.
projects[drupal][patch][] = "http://git.drupalcode.org/project/simpletest.git/blob_plain/refs/heads/6.x-2.x:/D6-core-simpletest.patch"

; Patch required to core to avoid fatal errors during install due to some modules
; expecting a certain level of bootstrappiness in their .install files.
projects[drupal][patch][] = "http://drupal.org/files/issues/drupal_get_filename-341140-48_p0-D6.patch"

; Run the makefile from the drupalorg_testing.make file in this profile.
projects[drupalorg_testing][type] = "profile"
projects[drupalorg_testing][download][type] = "git"
projects[drupalorg_testing][download][revision] = "master"

The modified code looks like this:

; Bootstrap .make file for the profile -- run this if don't have an existing
; core installation to drop the profile into.

api = 2
core = 6.x

projects[drupal][type] = "core"
projects[drupal][download][type] = "git"
projects[drupal][download][revision] = "6.x"

; Run the makefile from the drupalorg_testing.make file in this profile.
projects[openchurch][type] = "profile"
projects[openchurch][download][type] = "git"
projects[openchurch][download][revision] = "master"

Comments

drupalninja99’s picture

Status: Needs review » Closed (duplicate)