Drush make file for mercury?

Events happening in the community are now at Drupal community events on www.drupal.org.
qbnflaco's picture

I'm currently taking mercury for a test drive to use with my aegir installation for hosting client sites. It would be great if there were a make file for mercury. This would make creating a platform the latest mercury version, a snap. I've never created a make file, so here's my first shot...

projects[pressflow][type] = "core"
projects[pressflow][download][type] = "get"
projects[pressflow][download][url] = "http://launchpad.net/pressflow/6.x/6.16.77/+download/pressflow-6.16.77.tar.gz"

projects[mercury][type] = profile
projects[mercury][download][type] = bzr
projects[mercury][download][url] = lp:pantheon/1.1/Cfg/var/www/profiles/mercury

projects[apachesolr][type] = "module"

projects[memcache][type] = "module"
projects[memcache][version] = "DRUPAL-6--1"

projects[varnish][type] = "module"

PS. I'll test this out later tonight, so anyone with some make exp, please let me know if there is any glaring errors.

Comments

Yes

joshk's picture

We also need to contrib back the "Mercury" install profile.

Apparently you still need to

qbnflaco's picture

Apparently you still need to specify core version. Also fixed varnish version...

core = "6.x"

projects[pressflow][type] = "core"
projects[pressflow][download][type] = "get"
projects[pressflow][download][url] = "http://launchpad.net/pressflow/6.x/6.16.77/+download/pressflow-6.16.77.tar.gz"

projects[mercury][type] = "profile"
projects[mercury][download][type] = "bzr"
projects[mercury][download][url] = "lp:pantheon/1.1/Cfg/var/www/profiles/mercury"

projects[apachesolr][type] = "module"

projects[memcache][type] = "module"
projects[memcache][version] = "1.4"

projects[varnish][type] = "module"

Have to use the long version

qbnflaco's picture

Have to use the long version for the path in bzr to get a subfolder...

core = 6.x

projects[pressflow][type] = "core"
projects[pressflow][download][type] = "get"
projects[pressflow][download][url] = "http://launchpad.net/pressflow/6.x/6.16.77/+download/pressflow-6.16.77.tar.gz"

projects[mercury][type] = "profile"
projects[mercury][download][type] = "bzr"
projects[mercury][download][url] = "http://code.launchpad.net/pantheon/1.1/Cfg/var/www/profiles/mercury"

projects[apachesolr][type] = "module"

projects[memcache][type] = "module"
projects[memcache][version] = "1.4"

projects[varnish][type] = "module"

FYI

joshk's picture

We're going to roll something like this into the next release. Thanks for the great idea! :)

pressflow version

bewhy's picture

over at http://www.lullabot.com/articles/drush-make-and-pressflow

they showed that we can make sure the pressflow version is current instead of specifying which version using:

http://files.pressflow.org/pressflow-6-current.tar.gz

instead of what you have above

what you don't know will inspire you

Mercury

Group organizers

Group categories

Post Type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: