elbow patches

Friday, November 13, 2015 - 16:02

This week I've been playing about with a neat tool by Dave Reid, called Drush Patch File, for tracking and applying patches to contrib modules on Drupal projects. We've found ourselves patching a few modules recently on several projects, including the Drupal 7 backport of Navbar so that the drop-downs work better on desktop.

Read more

keep calm and drush cc

Wednesday, May 6, 2015 - 16:23

Our latest Ansible adventure has been the creation of a task structure which we can use to easily manage multiple Drupal websites on multiple servers.

It's easy enough to use the Ansible command module to run drush commands on a bunch of Drupal sites, using the following code (where sites is just a list of Drupal root locations):

name: Run drush cc all on each site listed
command: "drush cc all chdir=/var/www/{{ item }}"
  - sites

Read more