Pantheon Mercury 1.1 install problem with Drush makefile and BZR branch

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

Suddenly having quite a bit of trouble with the mercury make file attempting to branch pressflow from launchpad... works in command line and using get and full url in makefile. been at the problem for awhile...

I did this yesterday and tried again today...

Please see the last two items in this thread...

(oh and I'm using rackspace cloud servers as usual, which are usually flawless with your instructions... everything else goes smoothly!)

Thanks!


I tried to install mercury 1.1 today and I got stuck when trying to download pressflow with this error:
root@pantheon.obj-a:~# drush make --working-copy /etc/mercury/mercury.make /var/www/
Project information for apachesolr retrieved. [ok]
Project information for memcache retrieved. [ok]
Project information for varnish retrieved. [ok]
Unable to branch pressflow from lp:pressflow. [error]
Please set the CVSROOT variable in your shell environment when using the --working-copy option. [ok]
mercury checkout from contributions/profiles/mercury/. [ok]
apachesolr downloaded from http://ftp.drupal.org/files/projects/apachesolr-6.x-1.2.tar.gz. [ok]
memcache downloaded from http://ftp.drupal.org/files/projects/memcache-6.x-1.8.tar.gz. [ok]
varnish downloaded from http://ftp.drupal.org/files/projects/varnish-6.x-1.x-dev.tar.gz. [ok]
SolrPhpClient downloaded from http://solr-php-client.googlecode.com/files/SolrPhpClient.r22.2009-11-09.... [ok]
An error occurred at function : drush_drush_make_make


I've been trying lots of different combinations in the make file to get around this...!!! I can get bzr to pull pressflow stright on the command line, just something is suddenly wrong with the config on the mercury makefile:

; Pressflow

projects[pressflow][type] = "core"
projects[pressflow][download][type] = bzr
projects[pressflow][download][url] = lp:pressflow

I also used get method, but later it angers Hudson build process which fails cause it knows darn well it isn't a branch. This silly little thing has gone on for hours... Help...

...please.

=)

Comments

Really? Nothing... Greg must be away on vacation.

redhatmatt's picture

I've seen others complaining of this, and it very well might be something with Pressflow's setup on their bzr repo... but pinging again, as this has to be the most heavily, presently installed version of pantheon mercury, right all?

thanks for at least A response...

redhatmatt's picture

I was under the impression 1.2 is not stable at all, the documentation for install is not posted like 1.1, but if you are saying u are using it, I'll roll up my sleeves and dig in...

So do you have 1.2 loaded and it works good?

It took a long time, but

AntiNSA's picture

It took a long time, but finally I can say it is awesome! check it out at thecenterofthenet.com ... The first times I tried it was not working at all that great. But now it seems cool after 2 days....

i've got 1.2 on ubuntu lucid

redhatmatt's picture

I cannot for the life of me figure out where the web root is, I can see that apache is running and can hit the domain... but cannot find the webroot?

Can you tell me where it is to start? Everywhere I check it's wrong, I have not found a decent README with any type of semi real instructions... if there is anything like that can you tell me what you followed?

a workaround

rerooting's picture

if its what you are looking for, you can do a temporary workaround with:

projects[pressflow][type] = "core"
projects[pressflow][download][type] = "get"
projects[pressflow][download][url] = "http://files.pressflow.org/pressflow-6-current.tar.gz"

I tried this as you can see in my description...

redhatmatt's picture

...it doesn't work cause hudson wants it branched... see my original full write up.

i see what you are saying!

rerooting's picture

yeah the same thing is happenning for me, despite docs all over recommending that url (lp:pressflow)

does the --working-copy flag help?

Also - Pantheon installation

rerooting's picture

Also, I wanted to ask real quick how you guys are 'buiding' pantheon mercury - are you doing something similar to this:

git clone git://github.com/pantheon-systems/mercury.git -b master /opt/pantheon
cd /opt/pantheon
python setup.py

I am following bozteks thread

AntiNSA's picture

I am following bozteks thread on how to get started quickly on a linode node and it works very well. See it a couple of threads down.

thanks!

rerooting's picture

yes these threads were super helpful for us a couple weeks back :)

I managed to get it working

Dean Reilly's picture

I managed to get it working by doing this. After you run this command:
sudo drush make --working-copy /etc/mercury/mercury.make /var/www/
and you receive an error message run this one:
bzr branch --use-existing-dir lp:pressflow /var/www

Then continue the installation as normal and everything should work correctly.

awesome!

rerooting's picture

this is very useful, as our sysadmin is running into issues with hudson and the 'get' workaround i suggested above as well.

it seems this is quite a temporary fix - is a submission to the drush_make issue queue in order? or?

Dean, thanks a bunch for

lobo235's picture

Dean, thanks a bunch for sharing this tip. I was able to get it to work by running the following command after the drush make reported errors:

sudo bzr branch --use-existing-dir lp:pressflow/6.x /var/www

Mercury

Group organizers

Group categories

Post Type

Group notifications

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