Skip to content

dockhand v0.3.0

Choose a tag to compare

@herbygillot herbygillot released this 15 Oct 12:24
· 1753 commits to main since this release

The first release of dockhand v3, tagged on 285a496, the commit of
v0.3.0-rc11, which passed the full acceptance stage on an M1 Mac: nine runs,
from rc1 to rc11, a 24-hour soak of serve, sleep and reboot during a check,
and use over SSH with nobody at the screen, with nothing found that harms
work, logins, pushes, or pull requests.

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

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

Known issues

Each harms nothing, and each has a workaround. All are planned for v0.4.0.

  • A GitHub tag that upstream moves after a check isn't noticed: a later check can reuse the earlier build, and submit says it passed, though the archive at that tag has changed. If upstream has retagged a release, run dockhand checksums <port>, then dockhand check --fresh.
  • With GH_TOKEN or GITHUB_TOKEN set, submit's preview doesn't name the account that will open the pull request. submit still refuses to push to a fork that account doesn't own. dockhand auth status, the old login command, hidden from --help but kept for this, names the account and where its login comes from.
  • submit --json doesn't say who requested changes on the pull request, or whether they were asked to review again. The text output says both.
  • dockhand path says there's no tracked branch for a merged branch whose worktree clean kept, because its fork branch moved after the merge. status --all lists it, and git worktree list shows where its worktree is.
  • check and serve don't refuse a Tart older than 2.39.0, as setup does. dockhand setup tart says when Tart is too old; update Tart before checking.
  • create for a Go module older than go 1.17, whose go.sum names modules its go.mod doesn't, writes a draft with zero checksums and an empty go.vendors, and exits 0. Its checksums_problem names the modules to add. Add their rows before checking.
  • With a base image deleted and its golden copy kept, check says dockhand setup tart <release> makes it, which reads as a full build of an hour or more. setup restores it from the golden copy in about a minute.

The README's known issues list the rest, each as it stands in this release.

Not covered by the acceptance stage

  • A port whose new release is on Codeberg alone (C4), and a fixture MacPorts
    master can't hold (D-N2), weren't run.
  • Changing a kept archive under a reuse (D-T1) had no archive to alter.
  • The GitHub login renewing under a skewed clock is inferred from the code:
    renewal starts five minutes before expiry by the local clock, and a 401
    renews and retries.