Mister Headroom · Workbench

We have a Git

Every MiSTer’s setup lives in one repository, every upstream pinned to a commit, and its card can be rebuilt from it.

A MiSTer setup is made of other people’s work: the MiSTer-devel cores and main binary, Retro Remake’s files for its boards, mt32-pi. The workbench is one repository and one command-line tool, mw, that lists all of it and pins each part to an exact commit.

  • Pinned. Moving a pin is a commit of its own, so the Git history is the changelog: you can always see what changed, and go back.
  • Reproducible. From the pins and a MiSTer’s profile, the workbench puts together its SD card and a list of every file in it, with source, checksum and licence. The same pins give the same bytes.
  • Careful with cards. A card is backed up read-only before anything touches it and checked after every write. The tool never picks a disk by itself; it says which one it means.
  • Boring on purpose. Plain files and Nix, and no service that has to be running for a MiSTer to work.