Pip install from git in Docker
27/03/2019
Ian Stuart's picture

Following on from my article about pip installing development code, I thought I'd also share the various ways of installing from a get server.

Read more...
Adding a text-string as a file to a gzip'd file
27/03/2019
Ian Stuart's picture

I had reason to add a timestamp file to an archive - a nice simple file, with the time of creating as a single line, so nothing complicated..... but this is python, and there are more solutions out there than I've had hot dinners (well, maybe not - but certainly more than I've had Vindaloo curries.)

None of them worked for me.

I don't think that my archive was an in-memory "file"

This does:

Read more...
The awesomeness that is `git bisect`
17/12/2018
Ian Stuart's picture

So you've been working away on some code, and it works great. You then rebase on master, and it breaks.

aarrgghhhh!!!! Steam-from-the-ears!!! pulling-of-hair!!!

Until now, I'd either be checkoing out one branch at a time & testing, or doing some kind of cherry-picking into a new branch - either way, it's a pain keeping track of what's working & what's not.

Read more...
Sweetness when developing, lesson number 427
06/12/2018
Ian Stuart's picture

The Senario

You are developing a plugin to an extension for a product, and you need to test functionality as you write.

Read more...
Impact of a Rancher upgrade
05/09/2018
Ian Stuart's picture

Rancher (https://rancher.com) is a Kubenetes Cluster management tool.

When deployed as a single-node install, upgrades have consiquences - in the case of Rancher, the cluster goes off-line for a few seconds.

The Proof is in the pudding

Read more...