This Week's Speed of Light Outage
You may not have even noticed but the website underwent some strangeness this week. Here's what happened:
I posted a link to some amazing Star Wars posters from my laptop while I was away.
When I pushed the article to the website, my migrating script (
Migratron
) crashed and mashed up database.No big deal, because how Colophon works, right? I'll just wipe the database and re-migrate everything. Well not so fast, the script kept crashing and some articles just wouldn't show up.
So what happened? Well it turned out the copy of the app I use to edit my posts was outdated on my laptop, and so there was a bug in the copy which corrupted my article file, which crashed my migration script.
Thankfully, because my entire site is kept in a git repository, all it took to go back before the error was a git revert $COMMIT_HASH
.
The moral of the story is to make sure you keep your software up-to-date and also use source control when ever possible!