Weeknotes: June 12th

Local development with Windows and WSL 2

As a long-time Linux and macOS user, the last couple of weeks have been my first experience of using the Windows operating system for some time. After some research, I’ve been using the WSL 2 (Windows Subsystem for Linux) functionality built into Windows 10, with Ubuntu 20.04 installed within it. The codebase that I’m currently working on is using Lando, and that seems to be running fine within this setup after following some instructions on the Lando documentation and a blog post by Cal Evans.

I spend most of the day working within the WSL 2 environment which is a lot more familiar for me for development, but also for more simple tasks like generating SSH keys and cloning and configuring my dotfiles.

Re-organised dotfiles

It was easy to clone my Dotfiles repository into the WSL 2 container but they still required to be symlinked into the correct place for them to be used. I’d previously used rcm, a tool from Thoughtbot, to do this but I wanted to review other approaches.

I decided to try an approach of using a local bare Git repository and using Git’s worktree functionality to clone the files into my home directory. This means no more symlinks, and no additional tool to manage the files. The structure of my dotfiles repo is now a lot simpler, though I do miss the grouping of files by ‘tag’ so I might look to re-implement this somehow in the future.

DrupalCon Europe kick-off meeting

This week was the kick-off meeting for the DrupalCon Program Track Chair team, which I’m a part of this year.

I’ve been proud to speak at the last two DrupalCon Europe conferences (2019 in Amsterdam, and online in 2020) and this year I wanted to contribute in a different way.

I’m part of the Open Web & Community track and I’m looking forward to reviewing all of the sessions and experiencing DrupalCon in a new way again this year.

Inviqa blog post published

My final task before leaving Inviqa a few weeks ago was to upgrade the inviqa.com and inviqa.de sites, which I co-developed, to Drupal 9.

I wrote an article for the Inviqa blog, Drupal 9 upgrade from Drupal 8, which was published this week.

I wrote my own post, Upgrading the Dransible project to Drupal 9 last year where I reviewed the commands and steps that I ran to upgrade one of my personal projects, whereas this post covers more about the process that we took, and the differences between this upgrade and previous Drupal upgrades that I’ve done.