Technical information on this site may be out of date : no updates since 2015

Drupal upgrades and patches

October 9, 2010 , posted under drupal svn drush drupal planet patches upgrading

Reading Greg’s post on security upgrades and a few mentions of patches in the following discussion got me thinking about upgrade methods.

The standard Drupal method is to delete existing files and unpack a tarball to replace the old version - I find this method unappealing because: I keep my code in subversion so don’t want to delete the .svn subdirectories, and sometimes I have patches applied that I don’t want to loose.

Read More…

Varnish logs twice

October 5, 2010 , posted under linux varnish

The default configuration of varnish logs every request twice, once for the client and once for the backend communication

edit the line in /etc/init.d/varnishncsa to something like

Read More…

Programatically altering a CCK node type

June 25, 2010 , posted under drupal deployment

I’ve found altering CCK node types as part of a fully scripted deployment phase to be quite challenging.

The best I’ve come up with is to use features for the main config changes and adding fields, but this won’t remove any fields - but CCK provides functions for this.

Read More…