drush

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
jacobson's picture

Drush Deprecating Commands With Spaces

I discovered during my installation of Aegir 0.3 that one of the commands that the wizard instructs to be issued during the installation:

php /var/aegir/drush/drush.php --uri=http://aegir.silverdeerllc.com hosting setup

fails with the most recent beta release of Drush because commands with spaces have been deprecated in Drush. The deprecation can be overriden for the time being by changing a configuration parameter in drushrc.php; namely

# $options['allow-spaces-in-commands' = 1;
Read more
tsaw's picture

DRUSH Ver 2 verses Ver 3 Beta

I just noticed something that I hadn't seen before in Drush...

Using Version 2 - I downloaded ckeditor and that worked fine. I then installed using drush en ckeditor - and it actually downloaded and install the extra software into the library folder for me. Love it!!!

Then on another site - I installed Ver 3 beta and tried the same - it downloaded ckeditor but when I tried to enable it - all it did was enable and not download and install the extra software into the library folder. I had to do that manually.

Any thoughts?

Read more
adrian's picture

Aegir 0.4 alpha 6 released

The Aegir project is proud to announce the sixth alpha of our 0.4 release cycle. The focus of this release was to refactor the hosting front end to more cleanly map to the multi-server requirements for this major release. We also have some usability improvements, and some new platform management features included in this release.

Read more
tusharkanta's picture

Drush enable module command automation

Drush enable command for enabling modules requires some human intervention with input to type in Y/N when prompted. Is there any way to do it fully automatically through some api or script calls?

Read more
tolland76's picture

checking to see if we are running under drush?

Hi,

I had been using firePHP debugging in some of my install scripts and now I am using drush I am seeing some problems with headers like;
"Cannot send log data to FirePHP. You must have Output Buffering enabled via ob_start() or output_buffering ini directive."

so I want to wrap my debugging function to check that its the browser or drush, is there a good strategy to do that??

Thanks,

Tom

Read more
Summitt Dweller's picture

To DRUSH or Not to DRUSH

For almost a year now I've been developing Drupal sites using an old desktop PC (running Ubuntu 9.04) as my dev platform. Now I have reason to take my development on the road so I picked up a cheap laptop, configured it to dual boot Windows and Ubuntu 9.10, and managed to get my dev environment for one site setup on it last night.

I've got 6-7 other Drupal sites that I need to setup on it now and am once again pondering if I should load drush and try to get comfy with it. I know what some of you will tell me...'bout time, eh?

Read more
sambojambo's picture

Development style - settings.php file and Drush

Hi everyone,

Hope I'm posting in the right place for this question/discussion. I'm starting to use Drush frequently. I find it a great natural extension to the way I work as I develop on Linux.

I've come up against a bit of a problem though. I'm not sure but I assume that drush parses the settings file to do it's stuff. The way I develop I usually work with a number of sub domains , dev , test , staging.

My settings file deals with this by looking at the $_SERVER['SERVER_NAME'] to determine which domain the code is on and defining which DB to connect to.

<?php

Read more
equintanilla's picture

seo_checklist and Drush not playing well in my sandbox - any other Austin folks notice this?

out of curiousity - has anyone seen this while using Drush and SEO Checklist? Apparently, they are not playing well together on my sandbox area. Drush works great if I remove the seo_checklist module.

Just curious before I open a bug issue and not sure if it is with Drush or SEO_checklist,

Your friendly product manager who is dangerous with Drupal,

Elizabeth

Elizabeth-Quintanilla:all elizabethquintanilla$ drush status
Duplicate entry 'sites/all/modules/seo_checklist/seochecklist.module' for key 1 [error]

Read more
Chris Charlton's picture

Run Drush commands in Eclipse IDE

Eclipse has a built-in feature that can save and run Drush commands for projects easily. It's just like running the shell command. The feature in Eclipse is known as the "External Tools" feature.

Only local images are allowed.

  1. Click the following menu: Run > External Tools > External Tools Configurations...
  2. Under "Program", click "New Launch Configuration"
  3. Name: Anything
  4. Location: point to the drush software (for example, /home/drupal/drush/drush)
  5. Arguments (Mac): -i /home/drupal/drush/drush/includes -v -r /Users/you/Sites/DEVELOPMENT/DRUPAL/drupal.development cache clear
  6. Click "Apply", then "Run".
  7. Repeat the command by clicking the "External Tools" icon (pictured below). I setup a favorite for clearing a site cache, and getting status of a site.
Read more
ChrisRut's picture

Using Time+Drush+Devel to benchmark user/content/taxonomy creation times

I am in the market for a VPS in the $15-$30/mth range, and I've been shopping it around with the help of some feedback I've received from the WebHostingTalk forums. So I came up with a few new benchmarking tests that I haven't seen mentioned before. The results of my benchmarks can be found here: HTML format and Spreadsheet format

The new tests using time+drush+devel I came up with are:

  1. time drush generate users 2000 - This test will give you the amount of time it took to create 2000 users on your drupal site
  2. time drush generate content 5000 2 - This test will give you the amount of time it took to create 5000 nodes (page,story,book,blog,forum) with 7500 comments
  3. time drush generate taxonomy 15 250 - This test will give you the amount of time it took to create 15 vocabulary with 250 terms
Read more
Subscribe with RSS Syndicate content