Skip to content

dockhand v0.3.1

Choose a tag to compare

@herbygillot herbygillot released this 15 Oct 23:04
· 1725 commits to main since this release

Upgrade from v0.3.0: since MacPorts 2.12.7, v0.3.0's setup can't make a Tart image, and v0.3.1's can (147dc4a).

A point release of v0.3.0, tagged on 147dc4a, the commit of v0.3.1-rc1, which passed the quick acceptance stage on an M1 Mac: 41 rows passed, 2 refused as they should, 3 weren't run by design, and nothing was found that harms work. Its database migration, schema 30 to 31, and a real prune of history ran clean on the M1's own v0.3.0 database.

What changed

  • Cleanup's history prune reads through indexes, a chunk of branches at a time (3ec7b0e). In v0.3.0 it grew quadratically with history: past five seconds it held up other writers, a running check's result among them, and past thirty it rolled back every day, so archive and journal pruning stopped. Schema 31 adds the indexes it reads through.
  • setup takes a guest MacPorts newer than it asked for (147dc4a), where a newer release than the one pinned was refused.
  • submit --check runs the check an earlier one left unfinished (b1ac0ce).
  • submit says a --note it kept from an earlier submit, and one that repeats the commit body (4ea079d).
  • submit --rewrite-description takes over a description dockhand didn't write, when asked (9343041).
  • An obsolete stub the edit moved already isn't updated again (5eb101a), which failed terraform-1.16's update after its edit.
  • A binary distfile is said by its name (84937cb), not the temporary file it was fetched to.
  • adopt records the worktree on the stored branch (af476dc).

What dockhand does, and what it needs, is in the README, as updated for v0.3.1. To build this release, clone its tag:

git clone --branch v0.3.1 https://github.com/herbygillot/dockhand.git
cd dockhand
make build

Known issues

v0.3.0's known issues stand in v0.3.1, each with the workaround the v0.3.0 release gives. On main, for v0.4.0:

  • Fixed: a GitHub tag moved after its check (64c3cb4); submit's preview with GH_TOKEN naming no account (c10e2ea); submit --json and requested changes (82d7548); dockhand path and a merged branch's kept worktree (5d60f62); check and serve with a Tart older than 2.39.0 (d0ca2b0).
  • Better, not fixed: create for a Go module before go 1.17 still drafts an empty go.vendors, and now names each row to add, with its lock (f13ca92).
  • Open: with a base image deleted and its golden copy kept, check still says setup makes it, where setup restores it in about a minute.

The README lists the rest. One more is v0.3.1's:

  • update <port> --new --plan for a port whose obsolete stub's version moves with its release, as terraform-1.16's does, says the stub "stays at" its old version, while the plan's diff moves it with the release. The diff is right, and the update makes it; read the diff rather than that line. Main fixes it (3415768).