Drush make file for mercury?

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.

Groups:
Login or register to post comments

Yes

joshk's picture
joshk - Wed, 2010-04-28 18:45

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


Apparently you still need to

qbnflaco's picture
qbnflaco - Thu, 2010-04-29 17:53

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
qbnflaco - Thu, 2010-04-29 18:11

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
joshk - Fri, 2010-05-07 20:31

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


pressflow version

BeWhy's picture
BeWhy - Sun, 2011-04-03 16:39

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