Quick and Easy Drush Debian Packaging

I found a really nice way of packaging up drush as a debian package without having to go through all the hassle of creating all the files for a “true” debian package. You’ll need the following: Git Composer FPM gem You can then run the following commands to setup your base environment for packaging: 1 2 3 4 git clone git@github.com:drush-ops/drush.git cd drush composer install sudo gem install fpm To test to make sure your latest master copy of drush is working quickly run either drush or drush —version...

April 24, 2014 · 1 min · Mike Bell

Override servers version of drush

Recently I had to work on a server that was heavily restricted by a third party company. They were using an archaic version of drush so I decided to change it! I have no access to sudo or any form of root account, this made things even more interesting. No wget either. Download drush 6.2.0 to local machine Download console_table 1.1.3 (has to be this version) scp both drush and console_table to remote server unzip drush to ~/drush-6....

January 23, 2014 · 1 min · Mike Bell

Download Drupal to Current Directory using Drush

This has always bugged me, you can’t easily download Drupal to your current directory using drush. After a quick search I found this issue - https://drupal.org/node/495438 The following command works well - drush dl -d --destination=".." --drupal-project-rename="$(basename `pwd`)" So what’s it doing? –destination - specifies where to download Drupal to –drupal-project-rename - renames the downloaded directory to your current directory

August 27, 2013 · 1 min · Mike Bell