Installing older versions of a Homebrew formula (2018 edition)

For debugging purposes, I recently needed to install an older version of Git on my Mac OS machine. I obviously didn't want to permanently replace the version of Git I was already using, I just wanted them to exist side-by-side and temporarily use the older version. Since Homebrew has the built-in ability to maintain multiple versions of a package simultaneously, it seemed like a good solution.

Configuration import errors in Drupal 8


Depending on your site installation and configuration import workflow, you may occasionally see errors like this when importing configuration:

The import failed due for the following reasons: Entities exist of type (whatever). These entities need to be deleted before importing.

Needless to say, this isn't the most intuitive error message. Here's what's happening.

Developing Composer packages locally using DrupalVM

BLT is a Composer package that acts as a development and testing framework for Drupal sites. I do a lot of work on BLT, so I need a way to hack on it locally while also seeing the real-time effects on a Drupal installation.

All of my Drupal / BLT sites also use DrupalVM for the local development environment, which actually makes this a pretty easy task.

Let's say that my local git checkout of BLT is at /my/package/location. All I have to do is define a new NFS mount for DrupalVM like so (in box/config.yml):


If you are running MySQL in Ubuntu, you may see a message like this whenever you start the MySQL server, followed by a whole bunch of useless information. If you haven't set the root password, then obviously do so. If you have, and still get this message, the culprit is likely AppArmor. Just configure it to allow MySQL access to /root/.my.cnf . (You'll know this is the case if you see an access 'DENIED' message in the syslog whenever you start MySQL)

MS completed, plans for next semester

I'm happy to report that I passed my thesis and oral defense examinations and will be receiving my MS this month! A copy of my thesis is available on the MAHI Lab website. Next semester I will be studying abroad at the University of British Columbia, working on the Haptic Creature project with Karon MacLean. I'm very excited to get to explore a new city (especially one so close to the mountains!), and to try my hand at a new project.