2026-01-05
jj trunk()
I’ve been refactoring a handful of my personal services,
consolidating to a general markdown+docker+pandoc approach. I used to
use a dokku buildpack built specifically for static site hosting that
was quite opinionated, including copying GitHub’s deploy
branch naming (akin to GH Pages, where the source lives on
main and the rendered output on deploy). Now
these systems use a vanilla docker buildpack, so I can move these
project’s trunk() back to main. I ran into a
minor “problem” while doing that, as described here: https://zettel.thermokar.st/1ef4e751.
As I understand it, when you have a colocated git/jj checkout, the
trunk() is minted at clone time, and doesn’t update at all,
even if you change the default branch on the git side of things. A
simple config tweak seems to have done the job.