Repository navigation
Releases
dockhand v0.9.0
dockhand v0.9.0, the seventh release of dockhand v3, records branch requests, update edits,
submission steps, and check cleanup so the next command can pick up interrupted work. This release
uses commit e856bb24. See the
README for what dockhand does and
what it needs.
Branches and updates
- Branch requests carry forward. A branch keeps the options you give
update,bump, and
shipuntil the submission that uses them finishes. A latershipuses each port's saved release
without looking for a newer one. It reportsjq goes on with 1.8.1, the release kept. If you name
a version, dockhand replaces the saved release and says so. A latershipalso uses the saved
--tounless you give it a new one. It reports
stays at --to check, as kept; ship --to submit goes further. - Saved flags fill in omitted options. An explicit flag replaces the saved value and dockhand
reports the replacement. Omitting the flag leaves its saved value in place. Ifshipstops before
a later stage, it reports the flags saved for that stage, for example
Kept for the check: --on sequoia, --tests required.Whencheckorsubmituses flags you
omitted, it reports them, for example
Taken from what the branch's request kept: --draft, --type bugfix. The new
dockhand usage flagspage lists every flag and how long it lasts. - Unusable flags stop work on the branch.
--source releasesstops work if the release has no
usable source.--follow-movesstops work if the update did not follow the repository name GitHub
returns. This includescheckandsubmityou run yourself. To continue, give dockhand a choice
it can apply. Changes to certain flags are also refused once the version edit is on disk, as
listed under Known issues.dockhand statusnames the refused flag. - Interrupted updates can resume.
updaterecords its edit before writing the files. The next
command on the branch finishes the record if all files were written, or writes them if none were.
If only some were written, it stops and names the command that can finish the update. For example,
jq: update to 1.8.1 was cut short: textproc/jq/files/fix.diff aren't written yet; dockhand update jq finishes it.
Dockhand never overwrites a file you've edited since the interruption. - Unfinished branch preparations appear in status.
dockhand ship -b <branch>finishes the
preparation using the release already chosen for each port. At its daily scan,serveresumes its
own unfinished preparations and leaves yours for you. Unattended commands stop before committing,
checking, or submitting an unfinished preparation. - Source and dependency changes work on current ports. On a port already at its newest version,
update --source releasesorupdate --source archiveswitches the source and writes the new
checksums while keeping the version and revision (#121).--with-obsoletemoves the obsolete
stub,--follow-movesfollows a moved repository, and--revbump-dependentsbumps the ports that
link against the updated port. Dockhand reports whether each change was made or was already in
place. It refuses--closesif there is nothing else to change. - Either version spelling selects the release. Use the upstream tag or the port's version. If
the Portfile turns2026-11-23into20261123, either form selects that release. - Ship reports update findings before committing. Holds appear first, followed by informational
findings. - Port and subport updates can share a release.
ship tree-sitter tree-sitter-cliupdates the
port and moves the subport to the shared release with it. - Repository moves update Go module paths.
--follow-movesalso writes the new repository name
into thego.setupmodule path. - Hand edits report the branch.
update --hand-editnames the branch it wrote to and
what it did not refresh. - Checksum refreshes continue across macOS releases. If reading checksums for a release requires
a Mac running that release,updatenames the release, keeps its existing checksums, and continues
with the releases it can read. - Cargo updates hold on missing or stale lockfiles. If the new source has no
Cargo.lockand
cargo.updateis off,updatenow writes the version, checksums, and patches, leaves
cargo.cratesunchanged, and raisescrates-unlockedeven if a check passes. If the locked
version of a local package differs from itsCargo.toml, the update raisescargo-lock-stale.
Checks
- Cancellation stays pending until the work stops. Canceling stops and deletes a Tart clone,
cancels every run of a GitHub check, or stops alocalbuild or script shell with its entire
process group. Dockhand then restores the local prefix where applicable. This also works after the
check's dockhand process was killed. Until cancellation finishes,statusshowscancelingand
givesdockhand cancel check-Nas the next step.servechecks again on each pass. - Root local builds can be canceled once sudo passes a probe. Dockhand runs the probe on this
Mac at your account's first root build. Until it passes, cancellation gives the command to stop
the build by hand.dockhand usage checksdocuments the probe's requirements. - Terminal and SSH disconnects stop foreground checks. Closing the terminal or losing the SSH
session stops the check as Ctrl-C does. - Waiting Tart checks reclaim slots after a check is killed. While waiting for one of the Mac's
two VM slots, a check removes and reports a running clone left by a check from this checkout
whose dockhand process was killed. It leaves clones kept fordockhand shelland your own VMs alone. - GitHub checks use separate branches.
--on githubpushes
dockhand-check/<commit>-<check ID>. Two checks of the same commit get separate runs, and
canceling one only stops its own runs. Dockhand removes the branch when the check's attempts end.
dockhand cleanand the daily cleanup remove leftover branches. In-flight runs share one listing
per poll. - GitHub API capacity defaults to 20.
[providers.github] capacityincreased from 2 to 20. It
governs use of your hourly API budget and does not cap concurrent checks. - Stale build results explain why they no longer count. If a tag moved, a Git source could not
be read, or a dependency's source moved,statusshows the port as not run andsubmitholds.
Both give the same explanation, for example
built by check-1 from v4 at 1a2b3c4, which now names 5d6e7f8, so it doesn't count; dockhand check builds it again. - Detailed status identifies results from earlier files. If the latest check passed for an
earlier version of the files, detailedstatuslabels those results with the check and lists
ports it did not build asnot checked by check-<n>. - Unreadable check environments hold unattended work. When dockhand cannot read an environment's
identity, for example when Tart does not answer,serveandship --yeshold with
identity-unread. Asubmityou run yourself reports it and continues. - Reused results refresh Portfile lint. Dockhand lints again after a comment, a blank line, or a
declared dependency the build already had.statusshows the Portfile's own lint lines (#258). - Environment mismatches name the difference. A request for an environment the running check
does not build is refused as an environment difference. The old message suggested an upstream tag
might have moved (#259). - Check plans distinguish changed and sibling subports.
Changedlists the subports the change
affects.Siblingslists the untouched subports from the same Portfile that the check also
builds. - Dependent builds select a prerequisite's configured build. A dependent uses the prerequisite's
default build from the same check, or the only configured build. If two builds remain eligible,
planning stops and names both. Changing a prerequisite's variants rebuilds the ports that consume
it. The first check after upgrading rebuilds, once, ports that depend on another port built in the
same check. - Logs accept a port, and attempts identify their check.
logs jq --phase installuses the
branch's latest check when given just a port. Given an attempt,artifactsandshellname the
check to run them on. - Kept Tart clones are listed and removable. Failed checks you run yourself keep their clones
fordockhand shell. Checks started byserveor with--yesno longer keep failed clones by
default. Failure clones expire after seven days, and each Tart home keeps the four newest. Use
--keepto keep a clone with no age limit. It survives later checks of the branch and stays until
you remove it withdockhand clean --kept. Usedockhand clean --kept check-12or select a
branch with--keptand-b,-p, or--pr. This removes clones and leaves the branch in
place. The final check notice andstatuslist each kept clone and its size. JSON output lists
them underkept_clones. - Tart 2.41.1 is the minimum supported version. Setup and checks about to start a VM refuse
older versions and tell you how to upgrade.
Review and submission
- Portfile evaluation requires approval on someone else's pull request.
reviewlists the
changed Portfiles and PortGroups and asksEvaluate them. Enterdto see the diff first. The
default answer is no, which gives a text-only review that says what it left out. Dockhand
remembers a yes for the pull request at the author's commit and asks again after a new push.
check,tidy,submit, and the authoring commands ask the same question on adopted branches.
In scripts, usereview --evaluateordockhand adopt --pr 35174 --evaluate.--yesnever
grants evaluation permission.serve...
dockhand v0.8.1
This release uses commit a45b4c4, v0.8.1-rc1's code (b52b8b1) with its finished notes. What dockhand does, and what it needs, is in the README.
Five fixes on v0.8.0 for bugs that could cause harm. Nothing else changes
what a command does, and the database is the same as v0.8.0's.
Fixes
- An empty
--noteis refused. Onsubmit,shipandbump, an
empty--note, or one of only spaces, removed the note already in the
pull request's description without a word, which is what a shell
substitution of a missing file passes. It's now refused, and the new
--no-noteremoves a note. The two together are refused (#272). - A branch rebased with Git doesn't claim master's ports. What a branch
changes was read from its recorded base, so a branch you rebased onto a
newer master yourself counted every port master changed since as its
own:outdatedsaid they were in it,shipcould edit one into its
worktree, anddockhand rebasereplayed master's commits and stopped on
a conflict. A branch's own commits now leave out what master already
has,rebasereplays only those and records the new base, and reading
never moves the base (#280). - An update's held finding stays with the branch. A finding that
updateholds for you to look at (manifest-hook,mirror-conflict,
and an unfollowedupstream-moved,upstream-renamed-portor
upstream-transferred) was dropped by one more commit or a rebase, and
thenserveorship --yescould submit without it. It now stays while
the branch still changes the port, througharchive --undotoo, until a
later update of the port replaces it (#242). --accepttakes the build it names. Where a port is checked under
more than one set of variants,submit --accept <port>could accept one
variant's failure as another's. A build's full name accepts that build,
a bare port name takes the one failed build, or else the one with lint
warnings, the submission records the builds it took, and lint on a
variant build is accepted by that build's name (#235).- archive names a pull request only where there is one. Its last line
said the pull request remained for a branch that never had one.
abandonisn't a command; typing it now suggestsarchive(#279).
Known issues
v0.8.0's known issues stand, except those fixed above: #272, #280, #242
and #235.
dockhand v0.8.0
dockhand v0.8.0 is the sixth release of dockhand v3. It adds a branch console, clearer MacPorts maintainer and builder information, more precise check reuse, and improvements to updates, checks, and submission. This release uses commit 3671bc8, which is v0.8.0-rc4's code (3727171) with its finished notes. See the README for what dockhand does and what it needs.
Branches and pull requests
Branch console
dockhand console replaces status --watch with a live table sized to the terminal. Rows show branch, ports, state, pull request, and the next command, ordered by what needs attention. The journal's latest events appear in a pane. Use the arrow keys and paging keys to select rows, Enter to show branch details, and l, c, t, or s to run logs, check, tidy, or submit on the selected branch.
Use --plain, or run without a terminal, to print status and then journal events as lines. This supports scrollback, SSH, and screen readers.
Pull request merge information
Status details and the console pane show each port's maintainers, people mentioned in the pull request description, approvers, and whether MacPorts' maintainer timeout has passed. A port waits for a maintainer or author to merge unless it is nomaintainer, a maintainer opened the pull request, or a maintainer approved it. openmaintainer does not shorten the timeout. Draft pull requests are identified as drafts. The PR column shows the timeout state.
Maintainers come from MacPorts' current port index or the branch's change record; the newer reading wins. New ports get their maintainers from check --plan. Status identifies the source of maintainership information and, when applicable, its master revision. Mentions come from the pull request description; dockhand does not read MacPorts bot notifications. No pull request is added.
Submission and branch handling
Every submission from submit, ship, or serve fetches master before pushing. If master changed a port directory that the branch changes since its base, dockhand does not push or open a pull request. If the files match, the changes are already on master; otherwise, review dockhand rebase --plan. Changes to other directories do not stop submission.
When a hand-renamed port has its old stub, dockhand compares the new port with its predecessor and upstream. A subport renamed in its own directory is recorded as one changed subport. Branch titles identify several ports updated to the same version, without requiring submit --title.
Clean and archive explain that dockhand clean --delete <branch> forgets a branch for good, including when clean refuses an open branch or archived branches keep their Git branches.
Port information and updates
MacPorts builder history
impact reports where MacPorts builders most recently built or failed each changed port. When offering a baseline after a failed check, dockhand also reports where builders failed the same release, which can avoid a baseline build. If ports.macports.org does not answer, dockhand reports no builder result and does not fail the command.
Moved repositories
For current ports, dockhand follows GitHub's redirect to report renamed or transferred repositories. The notice appears in the row from outdated --current and in the single-port output from outdated <port>. If the repository name changed, dockhand notes that it may be a different project. These lookups run alongside the rest of the outdated check and do not hold it up.
PortGroups and check reuse
Branch change records identify changed PortGroup files under _resources and the ports they affected; status lists these changes first. Evaluations record the PortGroups they read, including version and content. Dockhand checks whether the PortGroup options and procedures it relies on are present. If a PortGroup drops one, affected evaluations are inconclusive. An unchecked PortGroup version is reported. A job replays dockhand's evaluation corpus against macports-ports master to identify PortGroup changes that alter dockhand's answers.
Check results and passing-check reuse are keyed to the PortGroups MacPorts loaded for each port rather than all of _resources. Changes to unused PortGroups leave a result valid; changes to loaded PortGroups invalidate it, and the baseline identifies the relevant PortGroup. Dependencies built from source contribute their own loaded PortGroups; dependencies installed from archives do not. A kept dependency archive is offered only while its build's PortGroups remain unchanged, and the check explains when it cannot be reused.
outdated and update
- Ports with
replaced_byare not looked up byoutdated; they appear under Not checked with the replacement name.updatenames the replacement instead of treating the stub as a held major update. - A version captured from a prerelease name is identified as a prerelease. A port on a stable release passes it over, and a look whose only match is a prerelease reports the port as current with an explanation.
- A newer tag that does not match
github.setup's tag prefix is reported; offered versions still follow the port's prefix. - Before reporting patch failures,
updateidentifies aworksrcdirmissing from the new source. outdatedrefuses multiple names in one argument with a single explanation.- The php PortGroup's PECL ports are checked, including ports previously left unchecked by
outdated.
GitHub release source archives
By default, an update keeps the port's source selection. Ports using GitHub tarballs continue to move to GitHub's tag archive as before. When a GitHub release includes a qualifying source archive, dockhand reports it and can select it with --source releases or --source choose (also configurable as [update] source = "choose"). Qualification is based on the archive contents, repository build files at the tag, paths named by the Portfile, and Git submodules when applicable, not the archive name.
When selected, the update adjusts fields such as distname, extract.suffix, use_ options, and worksrcdir as needed, removes Git fetching and submodule hooks where appropriate, fills checksums, and records the source change in the commit body and pull request. It does not write a Portfile comment. Dockhand explains when a qualifying source was not selected. --source keep retains the current source; --source archive selects GitHub's archive. [update] source sets the behavior for updates. checksums also writes missing checksums for main ports.
Other update improvements
A renamed port is compared with its predecessor. Several ports updated to one version get a title naming those ports and the version.
Checks and diagnostics
Check queue and results
logs reports when a check was queued, its wait for a slot, and its completion; status shows the wait for each started check. Batch, serve, and foreground checks share one capacity. Batch wait messages name the checks using the slots.
When tests exceed their configured bound, the check says that the tests were ended and identifies the configuration key. A local check names the providers.local key for its bound. Missing kept archives, such as in a database copy without the archives, are reported once with a count.
A stalled Tart target is retried when its log stops growing. The check reports the stall and retry, rather than leaving a hung guest holding the slot until the build timeout.
Faster outdated checks
outdated reads open branches once and shares a MacPorts session for a port. GitHub repository tags are obtained with git ls-remote, outside the API limits.
Serve and database copies
Each serve worker reports a problem when first found and again after it clears, rather than repeating it on every refresh. The daily look runs alongside serve's loop, so a check that ends during the look does not wait for it.
A DOCKHAND_DB copy used on the original database's checkout no longer reuses the original's tidy checkpoint names, which previously caused a reference-already-exists error.
SSH command provider
docs/command-provider.md describes a [providers.command] script that builds check targets on a Mac over SSH and its limitations. A test runs the example to keep it current.
Tools and output
--tool name=path, an environment variable, or the [tools] configuration table selects the executable dockhand uses for git, port-tclsh, tart, go2port, cargo2port, xcodes, gh, patch, or diff, ahead of PATH. The variables are GIT_BIN, PORT_TCLSH_BIN, TART_BIN, GO2PORT_BIN, CARGO2PORT_BIN, XCODES_BIN, GH_BIN, PATCH_BIN, and DIFF_BIN. If a named program is missing, the command stops before running anything. setup and dockhand config show the selected programs. See dockhand usage configuration.
Shell completion scripts, planned Portfiles and diffs, bump and revbump plans, tidy review output, and submit previews and descriptions are no longer wrapped to terminal width. This preserves long lines, Portfile modelines, and sourced fish and bash completions (#88, #93).
GitHub check details include each MacPorts workflow runner's macOS version, architecture, Xcode, and MacPorts versions as recorded in its log. If a runner fails before recording those details, its macOS release is still shown (#100).
When evaluating a Portfile for a macOS release other than the host's, dockhand uses that release's full version. This gives ports whose behavior depends on the minor version, such as py-numpy's +accelerate on macOS 13, the variants used by MacPorts builders. C++20 ports get the builders' compiler choice rather than the host Mac's clang choice. An SDK absent from the facts table is reported missing instead of being looked up on the host Mac (#105, #106, #108).
Upgrading from v0.7.0
- Ordinary checks now build each port...
dockhand v0.7.0
Dockhand v0.7.0 expands the port-maintenance workflow with port renames and category moves, recorded decisions on submission holds, richer build comparisons, and concurrent batch checks. It also improves patch handling, local-prefix recovery, GitHub Actions results, and the information available in reports and JSON output.
This release uses commit 47f00138, the same commit as v0.7.0-rc7. Read Upgrading from v0.6.0 before opening an existing database or reusing your configuration.
Port maintenance
Rename ports and move them between categories
Two new commands handle the mechanical parts of reorganizing a port:
dockhand rename <port> <new-name>
dockhand move <port> <category>rename moves the Portfile and files/ directory, updates the port's name, and leaves an obsolete stub with replaced_by at the old location. The stub retains the old version and raises its revision so installed copies can upgrade to the replacement.
The command preserves the upstream source. It reports references to the old name, uses of ${name} or ${subport} that now resolve differently, and dependent ports that may need attention. Review these before proceeding.
move relocates the port to another category and updates the leading category where appropriate.
Checks, commit preparation, and submission recognize these operations as a single change. A renamed port is compared with its original Portfile rather than treated as a new port, and its obsolete stub is not built. Rename and version-update changes can be combined in one commit.
When an upstream project's rename also calls for a port rename, updates raise upstream-renamed-port and suggest dockhand rename. A standing moves = "follow" setting does not bypass this hold. An explicit --follow-moves can still follow the repository rename while retaining the port's existing name.
Update related subports together
update accepts several ports and updates each to its newest release in one branch:
dockhand update kubectl-1.34 kubectl-1.35 --newAn explicit version remains available for a single-port update. Versioned subports look for releases within their own series.
Selections made through update --mine, ship, and serve now group ports sharing one Portfile into one branch. tidy normally creates a commit for each recorded update, in update order. When one commit covers several subports, its subject names them. User-supplied commit messages for Dockhand's edits are preserved.
Select ports by maintainer and category
outdated, update, and ship now accept --maintainer, --category, and --not-maintainer alongside --mine, using MacPorts' selection semantics.
The corresponding service settings are serve.maintainers, serve.categories, and serve.not_maintainers. When neither maintainers nor categories are configured, serve selects your maintained ports.
More useful updates and new-port generation
- Updating to a version MacPorts orders below the installed version raises the epoch and explains why. The new
version-ordercommit rule catches hand edits that omit the necessary epoch change. - Generated update commit bodies identify the previous version and link to an upstream release or comparison page when available.
- Stealth updates report whether the archive's contents changed.
- Assessments identify moved Go
-Xtargets, higher upstream C++ requirements, newly introduced Homebrew library paths, project renames, and repository moves whose old owner name has been reassigned. - An uncertain release candidate is kept uncertain when upstream has changed version schemes or a repository now represents another project.
- A livecheck URL returning 404 produces an explanation and, where applicable, suggests naming the version explicitly.
create go:<module>supports modules below a repository's root, such asgolang.org/x/tools/gopls. Cargo workspace programs are discovered from their members.create --planprints the proposed Portfile without writing it.- Self-hosted GitLab source archives support instance URLs containing a path. GitLab rate limits are reported with their reset time rather than silently waited out.
Patches and Portfile quality
Refresh patches against the new source
Dockhand checks patches in order, applying each to the tree left by its predecessors.
A patch that applies at an offset can be regenerated against the new source while preserving its introductory comment. Hunks already present upstream can be removed. The regenerated patch is checked to ensure it produces the intended result.
Fuzz requires more attention:
- An unattended update holds on
patch-fuzz. - An attended update can regenerate the patch and identifies the fuzzed hunks for review.
- A patch that cannot apply raises
patch-rejectedand stops an unattended ship before spending time on its check.
Patch handling also understands Git's quoted filenames and extract.mkdir yes. Patches affecting only Cargo.lock are described as lockfile refreshes that the new release's own lockfile may make unnecessary.
Fix predictable formatting problems
When writing a Portfile, Dockhand fixes supported lint problems on added or changed lines: trailing whitespace, leading tabs under MacPorts' modeline, malformed continuations that absorb the next option, and maintainers openmaintainer without a maintainer.
Version updates using GitHub-generated tarballs switch to github.tarball_from archive while regenerating checksums, and identify release-provided archives when available.
check applies the same deterministic fixes before capturing its inputs, so the files built match those tidy will commit. Saved tidy plans also handle an untracked patch named by patchfiles correctly.
For deliberate formatting of entire changed Portfiles, use:
dockhand tidy --restyleThis creates a separate whitespace commit. A Portfile is left unchanged if restyling changes its evaluated ports.
Additional review notices
tidy, submission previews, and reviews identify:
- declarations already supplied by a PortGroup (
restated); - dependencies commonly expressed with a
path:alternative (path-style); - Trac references that belong in commit trailers (
ticket-trailer); - SPDX license names that differ from MacPorts' spelling (
license-spdx); - architecture-independent ports with unsuitable platform declarations (
noarch-platforms); - newly added commented-out Tcl (
commented-code); - files added under
files/without a Portfile reference (unreferenced-file).
These notices do not themselves hold submission. Maintainer instructions found in Portfile comments are also quoted for review.
update, ship, and bump accept --closes <ticket> and write the corresponding Closes: trailer.
Upgrade plain-HTTP links where HTTPS works
Updates, new-port creation, and checksum refreshes can switch literal HTTP links in homepage, master_sites, and livecheck.url to HTTPS after checking that the relevant destination answers. Master-site checks verify the distfile URL and preserve site tags and ordering.
This can change links outside the lines otherwise touched by the update. Links expressed through variables or quoted forms are left alone.
Set [update] keep_http = true, or use --keep-http on update, bump, ship, create, or checksums, to skip these probes and preserve HTTP links. serve reads the configuration setting.
Checks and build evidence
Concurrent checks and clearer waits
Tart now uses the Mac's VM capacity instead of a configurable count of checks. It can admit two checks, while each VM still waits for an available slot. Other running VMs count against that capacity, and a slot is released only after macOS has released the VM.
Multi-port ship batches run queued checks concurrently within provider capacity. Each change advances when its own check finishes, including submission when requested. Reports explain which checks can overlap and what a waiting check is waiting for.
A request matching an already-running check follows it when the existing check covers the requested environments, targets, variants, test policy, and freshness. Otherwise, Dockhand explains the mismatch and offers --replace, preserving completed results while replacing the remaining work.
Compare installed results
Successful builds record installed files and library install names. Dockhand compares these with an earlier build in the same environment, or with master's binary archive when no earlier build is available.
Reports identify added or removed files, changed library install names, affected dependents, and changes in configure summaries that may indicate an optional dependency stopped being detected. These findings appear in the check report, detailed status, and pull request description.
A library change can suggest update --revbump-dependents. Rebuild commits are ordered after the library change they depend on, including when that change was made by hand.
A build linking another port's library without a declared depends_lib dependency raises the unattended hold link-undeclared. Libraries belonging to the target's own Portfile are excluded from that notice.
Submission uses the environments explicitly requested
After an explicit --on or --build check covering every changed port, submission requires that selection. A check explicitly run on local no longer also requires Tart's default host environment.
The newest full-scope request for the same files governs the required coverage. A check narrowed with --only contributes results without replacing that request. Relevant failures still need a pass or eligible acceptance.
If you explicitly check a branch prepared by serve, that branch is left for you to submit.
GitHub Actions results are recorded per macOS release
Each macOS release named by MacPorts' workflow has its own environment and ...
dockhand v0.6.0
The fourth release of dockhand v3, tagged on b89e8ca, the commit of v0.6.0-rc8. The stage ran eight candidates, rc1 to rc8. rc2 let update --hand-edit start from a port that github.setup versions, and fixed two things rc1's acceptance found in status; rc3 added the local provider and had submit's preview say what serve would hold; rc4 took the acceptance harness's fixes; rc5 kept serve from proposing again an update a maintainer closed unmerged; and rc6 fixed Portfiles that read source_date_epoch, as syft's does, and took nine small fixes and a review of dockhand's wording; and rc7, cut on the branch release/v0.6 from rc6's commit, fixed two things Codex's review of main found in rc6: two local checks on one prefix, whoever ran them, could each put back the other's half-built state, and a license whose terms changed by a few repeated words was said as its party's rename, which holds nothing; and rc8, on the same branch, kept a GitHub check whose matrix had a job no runner took from reading as a pass, where Codex's review of main's workflow found rc7 recorded one runner's green build as the whole matrix's.
v0.6.0's acceptance ran on the M1 MacBook Pro used for v0.5.0, on macOS 27 with MacPorts 2.12.7, as a fresh test user and a GitHub test account, and ended with no harm open. It covered:
- upgrading from rc5 under a running serve, whose first look made again what rc5 left incomplete;
- the quick stage, and
update --planof syft, uv, and cloudflared, which rc5 refused; - the full stage, then B7 and C1 overnight: on rc6, the quick stage's 49 rows and the full stage's 79 passed;
- on rc7, the
localrows, the license-hold row, and two checks on one prefix at once, one as each of two users; - on rc8, A7 from rc7 to rc8 under serve, C1's eight hours of renewal with no serve, and the sitting: SSH with a locked Keychain,
port selfupdatemid-check, a reboot under serve, and thelocalprovider in /opt/local, its check put back exactly (72 active ports the same), kept with--keep, and killed mid-build with its root guest, then put back by the next check. B9's GitHub provider row verified rc8's fix: macOS 26's job got no runner three times, and rc8 recorded no pass where rc7 would have.
/opt/local was left exactly as it was before the local rows. What the stage found that isn't harm, and what was found since, is under Known issues.
What dockhand does, and what it needs, is in the README. To build this release, clone its tag:
git clone --branch v0.6.0 https://github.com/herbygillot/dockhand.git
cd dockhand
make buildWhat's new since v0.5.0
- Checks on this Mac's MacPorts, with
--on local. A Mac without Tart, or an Intel Mac, can now record a check like any other provider.check --on localbuilds in /opt/local, and--on local:<prefix>in a prefix of your own; several--onflags must all pass. The branch reaches MacPorts through a macports.conf of the check's own, read throughPORTSRC, so the prefix's etc/macports is never written. dockhand takes aport snapshotfirst and puts the active ports back after;--keepleaves the branch's versions active. A check that stopped part way is said by status, as "your MacPorts is as check-3 left it; sudo port restore --snapshot-id 12 puts it back". serve skipslocalunless[providers.local] serve = true. An adopted pull request is refused there, since its Portfile would run as root. See docs/local-provider.md. - Holds for one port.
[holds.ports."<port>"]overridesmajorsandallowfor that port, and addsmoves = "follow", which follows a moved repository in unattended runs, andafter = ["harfbuzz-devel"], which holds the port's unattended submission until the named port is at the same version or has a pull request open at it. submit's preview says what serve would hold, underServe, and the submission goes ahead. update <port> --hand-edit. Where the plan refuses, an attended update with--hand-editstarts the branch with dockhand's best attempt, the version, the checksums it fetched, and the dependency blocks it could write, recorded as your hand edit with the refusal's reason. status says "By hand", the pull request says it, and serve and bump never take it.- The baseline in every check's path.
check.baseline = truenow runs the baseline forcheck -d, ship's, and serve's checks too, not only a foreground check. A baseline stands across a rebase where nothing master's build read has changed, and where something did, the offer names it. - Less of GitHub's hourly allowance. Each GitHub read keeps its answer and sends it again with its ETag, so a read of something that hasn't moved costs nothing:
outdatedover ten ports spent 20 requests, and the same look again spent 1. The answers are kept on disk, so the next command's look is nearly free too. Signed out, a refresh reads only open pull requests, newest first, one request each, and stops about ten requests short of the limit, saying how many it left unread. The spend line names each request the cache didn't answer. - serve doesn't propose a closed update again. An update whose pull request was closed unmerged is left alone at that version, as "jq: 1.8.1's pull request #123 was closed unmerged, in jq-1.8.1; a newer release lifts this". An attended
updateorbumpgoes ahead and says the earlier close. - MacPorts' modeline. Every Portfile an update, bump, ship, or serve edits gets the modeline
port lint --nitpickexpects, added where line 1 has none and replaced where it says the same settings another way. A modeline with other settings stays.--keep-modelineleaves line 1 as it was.tidyleaves it alone. - A check off a terminal says each step. At the default level, a foreground check off a terminal, as under an agent, prints each step as it changes, as v0.4.0 did. A target whose log hasn't grown for ten minutes is said once, "arowpp's log hasn't grown in 10 minutes (destroot)".
check --helpsays that-dwith no serve runs the check in the background. - Waits say whose. A wait for Tart's capacity names the check that holds it, its process, and how long it has run; a wait for the Mac's VMs names the checks running them, or your own VMs.
status -vnames each running VM with the Tart home to reach it, asTART_HOME=~/.dockhand/tart tart exec <vm> …. revbump says what it waits on before it waits. - Checks on GitHub. A fork whose Actions workflow is missing or disabled is refused before the push, naming the fork's Actions page, where it waited ten minutes; setup's github line says the workflow's state. A job GitHub cancelled before any runner took it says so, with the run's address, where it reported a 404 on the job's log.
- An upgrade looks again. An assessment that couldn't finish records the build that made it, and a newer dockhand makes it again, so an open branch doesn't keep an old "couldn't compare" hold after an upgrade. A complete one stands.
- Authoring fixes.
checksumswrites a subport's own declaration where it has none, and where the port's unnamed declaration would otherwise be read as the subport's. A revision set through one variable, as mysql9'srevision ${revision_client}, resets. A port whose git.url points at a fork is compared at the fork's commit. An explicit prerelease on a stable port is said, "this takes jq out of stable (1.7.1 → 2.0-rc1)". A licensor's rename in a license file is said and holds nothing. - Smaller fixes. A baseline of a
--variantscheck builds the same variants at master.subject-portaccepts a subject naming a subport the branch adds. Off a terminal, and always under serve, git's ssh fails at once rather than asking for a passphrase.-vprints a plan's lists whole. A link scan that couldn't read says why, in one line. A grid cell from an earlier check says once that it stands. serve's stop says each unfinished run before it waits, and no error its own stop caused. The advice to copy the database sayssqlite3 <database> ".backup <file>". - Wording. dockhand's messages, help, and pull request text were reviewed and made plainer, with commands and values unchanged. "Needs you" is "Needs attention", and a held ship says "needs review, so nothing was submitted", then "After review: ".
- Fixes the candidates found: status ran
git remotefor each branch (rc2); status checked out again a removed worktree of a branchupdate --hand-editstarted (rc2); submit's preview didn't say serve's holds (rc3); serve opened a closed update's pull request again each day undership_to = "submit"(rc5); and a Portfile readingsource_date_epoch, as syft's, uv's, and cloudflared's do, refused to evaluate (rc6). - Fixed from v0.5.0's known issues: GitHub's signed-out limit spent by one open pull request,
submitreplacing a collaborator's commit after a reset, a moved project read as current, a squash's trailer written twice, the silent check off a terminal, a rejected login said as GitHub unreached, and setup offering a login under a locked Keychain. - For developers. The Portfile corpus,
make test-corpus, gained the other shapes' exemplars and a CI job. A weekly CI job runs the evaluator's tests against MacPorts base's master.
Upgrading from v0.5.0
- The database,
~/.dockhand/dockhand.db, is migrated forward, from schema 39 to 42, the first time v0.6.0 opens it, and a copy of it as it was is kept beside it. v0.5.0 can't open it after; its refusal now names the build that migrated it and the copy. Any command migrates it,statusincluded. A development or candidate build asks before it migrates a database a release last opened, and refuses without a terminal. To try a newer build without touching your datab...
dockhand v0.5.0
The third release of dockhand v3, tagged on 6246e4b, the commit of v0.5.0-rc5. The stage ran five candidates, rc1 to rc5. rc2 fixed Rust updates that list their crates, which rc1 refused; rc3 took the fixes from an architecture review of rc1's commit, among them serve holding a source whose current commit it couldn't read; rc4 said a wait for a VM slot at every level; and rc5 fixed Go updates whose go.vendors carries its checksums.
v0.5.0 was accepted on rc5 (6246e4b), on an M1 MacBook Pro running macOS 27 with MacPorts 2.12.7, as a fresh test user and a GitHub test account. The full stage ran across rc4 and rc5, unattended and in a sitting:
- planning, submit, batch (25 ports prepared, 8 stopped with reasons) and link rows;
- serve overnight as a launchd agent, with the login renewing itself, with and without serve running;
- a schema-32 database migration;
- refusing to replace someone else's push;
- a revoked login, and a token for another account named before any push;
- sleep and reboot during a check, with serve resuming it after login;
- a check over SSH with the Keychain locked;
- sources.conf changes and selfupdate during a check.
No row found harm.
What dockhand does, and what it needs, is in the README. To build this release, clone its tag:
git clone --branch v0.5.0 https://github.com/herbygillot/dockhand.git
cd dockhand
make buildWhat's new since v0.4.0
- Output says what changed, and
-vsays the rest. By default a command says what changed, a line per stage with its outcome, what needs you, and oneNext:: a cleanbump jq's 46 lines in v0.4.0 become a line per stage. Each stage's full report, a check's attempts and provider steps, the processes table, and GitHub's request count are-v's;-vvis as before. A stage that held or failed, or asks, still shows its report.ship --mineprints a row per port, its stages as cells, then "Needs you". - Marks and width.
✗is broken,!look at this,✓done, and⋯under way, in every command; a hold is said as "held". On a terminal the marks alone are coloured, and a table's widest cell is cut with…. Off a terminal, underNO_COLOR, and with--json, nothing is coloured or cut, and prose wraps atCOLUMNS, else 100. - An overview for
status,outdated,clean, andsetup.statusgroups branches under "Needs you" and "Working", with the pull requests waiting on reviewers as a count with CI's tally;status -vlists every branch, the checks, and the dockhand processes working on the checkout.outdatedgroups ports into Ready to ship, Held, Not checked, and Current.cleansays what it did in one line. explainfor checks and branches.explain check-42says where a check failed, the failed step's last lines, and whether a baseline can say more;explain -b <branch>says where a branch stands and what clears it. A failed check'sNext:names it.- The command contract. Every command takes
--json, or says why not, and keeps--planapart from--yes.bump --planandclean --planshow what a run would do.checksumsandrevbumpplan on master without a branch, asupdatedoes. A refusal says its kind, which decides its exit code, and ends with itsNext:steps: "couldn't reach GitHub" is said as the network's, not as git's words. - One verdict on a branch. status, tidy, submit, serve, and the hold list read one judgment of a branch's state, where each judged it for itself.
status --jsongives each branch'scheck_standing.submitcommits edits not yet committed, astidywould, and submits them. - Strict fidelity in
update's plan. Each edit predicts what it changes, and the result must equal the prediction. A sibling that moves with the version is a finding--shared-releaseanswers, not a refusal, and a sibling that fetches its own archives, as xapian-core's bindings do, has them fetched and its checksums written. A commit pin, as wezterm's, moves to the branch's head or a commit named; a version in several literals, as openjdk's, moves together; and LyX's revision and checksums, set in each branch of anif, are found. - Standing acceptance of a failure.
submit --accept <port> --standingaccepts a dependency failing to install on an image, keyed to the dependency's version and the image: later checks name it, and submit, bump, and serve take it until either changes. A failed result names the dependency and its version.holds.allowlists rules whose concerns an unattended update says and goes on past. - The libraries a build links. A passed build on Tart records what each installed Mach-O links under the prefix, and the port that provides it. A link to a port
depends_libdoesn't declare is a notice, in the check's report and the branch's detail; a clean scan says so, as "crystal links 5 ports, each declared in depends_lib". - Working on a check.
check --keepkeeps each Tart clone where its guest finished, passed or failed, anddockhand shell check-Nruns a command or a shell in it;shell --testreruns the port's test phase.logs --followprints a running target's log as it grows, andlogs --phaseone step of it. A failed test phase brings back the tests' own logs and names the tests that failed.check -dwith no serve leading starts a background drain. - Waiting is said. A check waiting for a VM slot says so at every level, with or without a terminal.
- serve holds on an unknown current commit. A source whose current commit couldn't be read holds serve, and a person's submission shows it.
- CI failures by cause. status reads a pull request's failed CI jobs' logs, and says a fetch failure as one, as "failed fetching jni-sys-macros-0.4.1.crate (mirror.sjtu.edu.cn answered 403)";
retry --ci -b <branch>runs the failed jobs again, with write access. - Branches and cleanup.
clean --deleteforgets an archived branch, its Git branch, worktree, and record, listing its unmerged commits first. A command naming a branch finds its checkout from outside the ports tree.outdatedasks before a look past GitHub's hourly allowance, and refuses without a terminal unless--over-allowance. - Fixes the candidates found: a Rust update listing its crates refused on
dist_subdir(rc2); a Go update whosego.vendorscarries its checksums refused (rc5); a Go module's major-version suffix, as direnv's/v2, read as a moved module (rc5); and a longgo.vendorsblock, as opkssh's, passing the RPC frame limit (rc5). - Fixed from v0.4.0's known issues: a license file gaining labels or copyright lines, status during a passed check's baseline, a configure.ac library named by a variable, the baseline offered for new tests, the 97 ports refused for a PortGroup reading the host, wezterm's panic,
tidyleaving out a new patch, a diagnostic check's extra releases, build files below the source's top,--follow-moveson a branch at the version, andlogsbefore a branch's first check. - For developers: a Portfile corpus.
make test-corpusreplays MacPorts' own last bumps of 12 Go and Rust ports throughupdate --planand compares the version, checksums, and dependency blocks. rc4 matched 5 of 12, rc5 matches 12. It needs the network.
Upgrading from v0.4.0
- The database,
~/.dockhand/dockhand.db, is migrated forward, from schema 32 to 39, the first time v0.5.0 opens it, and a copy of it as it was is kept beside it. v0.4.0 can't open it after; a migration is refused while a dockhand process on the older schema is working, unless you answer it. Any command migrates it,statusincluded. To try a newer build without touching your database, point DOCKHAND_DB at a copy of it. Acceptances move into the decision record unchanged in meaning. - Scripts that read a check's progress at the default level, such as "runs here" or "attempt 2 of", pass
-v: off a terminal it's-v's now. The same goes for each stage's full report fromship,bump, and serve's batch. submiton a branch with edits not yet committed commits and submits them, where it refused;submit --planshows the commits it would make, and--headsubmits the committed head alone, as before.- A commit rule's warning is said and holds nothing in serve, as
tidykeeps the commit; an error still holds.
Known issues
Each harms nothing a look wouldn't catch, and each has a workaround. The README's known issues list them in full, as they stand in this release. Those marked are fixed on main, for the release after v0.5.0:
checkbuilds on this Mac's release unless told otherwise, and MacPorts CI also builds on macOS 14 and 15.submitand the pull request say which releases no check covered;--build macports-cichecks on all three, andbuild.default = "macports-ci"makes it the default.- A batch of submits, with serve watching their pull requests, can spend GitHub's hourly limit of requests; dockhand says when it lifts. Signed out, the limit is 60 requests an hour, and serve's watch of a single open pull request spends it all. Sign in with
dockhand setup github. Fixed on main: signed out, a refresh reads each open pull request's state alone, and stops short of the limit. - On a new macOS release, before MacPorts' builders have archives of a Rust or Go toolchain, the first Tart check of a Rust or Go port there builds the toolchain from source, for hours. The check says so first. Check such a port on the previous release,
--on tahoe, or let the first check run. - After you pull a collaborator's commit to a branch's pull request and discard it with a reset,
submitreplaces their commit with yours. Its preview says so on its Push line; read it before you confirm. Fixed on main: a commit replaces theirs only when it'...
dockhand v0.4.0
The second release of dockhand v3, tagged on 5897a82, the commit of v0.4.0-rc5. It passed the full acceptance stage on an M1 Mac, in its own test account, with dockhand installed from its own Portfile. The stage ran five candidates, rc1 to rc5, and covered an upgrade from rc4 while serve ran, a 24-hour soak of serve across 1102 ports, sleep and reboot during a check, and use over SSH with nobody at the screen. The one harm it found, on rc1, was status failing outright after a Git rename landed on an archived branch's name; it was fixed for rc2. Nothing on rc5 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.4.0 https://github.com/herbygillot/dockhand.git
cd dockhand
make buildWhat's new since v0.3.1
shipandbump.dockhand ship <port>takes a change from a new release to its pull request: the update, one commit, a check, and the submission, asking once on a terminal.dockhand bump <port>is the same asking nothing, and stops wherever a person should look.ship --minetakes your ports with newer releases, andship --passingsubmits the branches whose checks passed.- Holds. A change nobody looks over waits for a look where one is due: a new major version (
holds.majors), another open pull request for the port, what comparing the upstream archives found, and a commit rule's finding. It also holds a repository transferred or renamed upstream, untilupdate --follow-movespoints github.setup at it; a revision that raises a port's darwin floor ormacosx_deployment_target; and an archive name MacPorts' mirror already holds another file of under a shareddist_subdir, as gopls's was, namingdist_subdir ${name}as the fix. Each says the command to run after the look. - Build profiles. Where a check builds is a profile:
host,minmax(each port's oldest and newest release),macports-ci(the releases MacPorts' CI builds on),all, or one of your own under[build.profiles].build.defaultandbuild.unattendedname which. - Baselines and accepted failures. After a failed check,
check --baselinebuilds the ports that failed at master, andsubmit --accepttakes a failure master shares, which the pull request says. - Scripts. A refusal is one sentence and exits 1,
--yesanswers the questions, and the exit codes are named.checksums --planplans on master, and exits 3 naming each distfile that doesn't match. statusandserve.statusreads stale pull requests itself, in one GraphQL request it shares withserve. serve's daily look notifies when the ports it found changed, andserve --installand--uninstallwait for launchd.- Progress. A check shows the Tart guest's progress as it goes, and says which dependencies build from source. A command that waits says what it's waiting on.
- Branches. A command in a checkout dockhand doesn't track offers to track it. Starting a branch on an archived branch's name offers to rename the old one aside.
adoptnames the ports not yet committed. submit. A commit made on, or amending, someone else's push now submits.--accepttakes a changed port whose baseline fails the same way, and the description says why each accepted failure was accepted.- Updates and fetches. Go toolchain ports, as go-1.26's
go_toolchain.setup, update. A redirect is followed with no Referer, which fixes SourceForge mirrors that served an HTML page. Mirrors behind a new release are said, and tried again later.outdatedcounts the ports it didn't check by reason, says a release that isn't ready, and lists in MacPorts' name order. - Tart and checks. A new image installs this Mac's MacPorts, and one note names stale images.
checkmarks the untracked files in the ports it builds. - The command surface is final for v0.4.0.
-bnames only an existing branch;--new=<name>starts one.shipreplacesupdate --submit,update --outdated,submit --check, andsubmit --passing, andserve.ship_toreplacesserve.for_outdatedandserve.submit_passing.queueandwatchfold intostatus(status --watch).status,path,archive, and the run commands take-b,-p, and--pr.logs --all,outdated --all, anddiff --archivebecome--full,--current, and--source.- The hidden
authcommand is gone:setupnames your GitHub login, andsetup --jsonreports it.
- Fixed from v0.3.1's known issues: a GitHub tag moved after its check, the account a
GH_TOKENsubmits as, who requested changes insubmit --json,dockhand pathfor a merged branch whose worktreecleankept, terraform's stub wording, an old Tart incheckandserve, a deleted base image's restore, and a guest's error tried again three times where it isn't the VM's.
Upgrading from v0.3.1
- The database,
~/.dockhand/dockhand.db, is migrated forward the first time v0.4.0 opens it, and a copy of it as it was is kept beside it. v0.3.1 can't open it after; a migration is refused while a dockhand process on the older schema is working, unless you answer it. - A configuration that names
serve.for_outdatedorserve.submit_passingis refused, with theserve.ship_tothat replaces it:for_outdated = "draft"isship_to = "commit", andsubmit_passing = trueisship_to = "submit". - Scripts that ran
update --submit,submit --check, orsubmit --passingrunshiporbumpinstead. - dockhand builds for macOS and Linux only.
Known issues
Each harms nothing a look wouldn't catch, and each has a workaround. The README's known issues list them in full, as they stand in this release. Ten were found after rc5, and are fixed on main for v0.5.0:
- An update whose license file keeps its licenses but gains labels, copyright lines, or terms of its own, as libxkbcommon 1.13.2's did, holds, saying the file "now reads as no license that's known". Read the license file's change with
dockhand diff --source, then submit after a look. - While a baseline of a passed check runs,
statussays the branch is checking, andserveandship --passingwait to submit it. Let the baseline finish, ordockhand submit --branch <name>. - An update whose configure.ac names a library through a shell variable, as GraphicsMagick 1.3.49's does, says that library was removed. Read configure.ac's change before submitting after a look.
- A failed check offers
check --baselinefor tests the branch adds and master doesn't run, where a baseline has nothing to compare. updaterefuses a port whose PortGroup reads the host as it loads, as qmake5's does, saying the version probe is inconclusive, though its version line and archives read nothing of the host: about 100 ports, LibreCAD, cpi, and the PyQt5 and Qt 5 ports among them. Edit the version line by hand, then rundockhand checksums <port>.dockhand update <port>for a port that pins its source to a commit and tracks a branch, as wezterm does, stops with a Go panic before it changes anything. Edit the commit and the version by hand, asoutdatedsays, thendockhand checksums <port>.tidycommits a Portfile whosepatchfilesnames a new patch that Git doesn't track yet without the patch, and the check then fails fetching it.git adda new patch beforetidy.checkwarns of an untracked file in a port it builds, butshipdoesn't.- A diagnostic check of some of a branch's ports on a release
build.defaultdoesn't name makessubmitask for every port of the branch there. Check the other ports on that release too, or make a diagnostic check on a branch of its own. - The upstream comparison reads build files only at the top of a port's source, so a port that builds from a directory below it, as i2pd's
cmake.source_dirdoes, can say "no build file changes" where that directory's changed.dockhand diff --source --statlists it; read its change before submitting. update --follow-moveson a branch already at the version changes nothing, andsubmitstill holds on the move. Pass--follow-moveson the update that moves the version, or edit github.setup's owner by hand.
One more was found on rc5 itself and is fixed on main (dc5cf24):
- In a branch's worktree before its first check,
dockhand logs <port>says to name a check, as if run outside the worktree. The branch has no check yet: rundockhand checkfirst.
Not covered by the acceptance stage
- A non-English locale, a clock a few minutes off, and the daily look across the US clock change (F10) weren't run again. v0.3.0's stage passed them, and the code they cover hasn't changed since.
- A port whose new release is on Codeberg alone (C4), and a fixture MacPorts master can't hold (D-N2), weren't run.
serverefreshing pull request states overnight had no open pull request to refresh. Updating a pull request was covered bysubmitandship.- Tart checks ran on macOS 27 only, the one release the Mac had images for. Other releases were covered by GitHub Actions on the fork, and by
check --onrefusing them with thesetup tartthat adds them. - Downloads from SourceForge mirrors were covered by field testing on this commit, not by the stage: scons 4.11.1, GraphicsMagick 1.3.49, libpng 1.6.59 and freetype 2.15.0.
- Some rows ran on rc4 and weren't repeated on rc5: device login, uninstall and reinstall, a revoked login, another account's
GH_TOKEN, a pull request updated after review, andport selfupdateduring a check. rc5's rerun repeated the rows its changes touch.
dockhand v0.3.1
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.
setuptakes a guest MacPorts newer than it asked for (147dc4a), where a newer release than the one pinned was refused.submit --checkruns the check an earlier one left unfinished (b1ac0ce).submitsays a--noteit kept from an earlier submit, and one that repeats the commit body (4ea079d).submit --rewrite-descriptiontakes 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 buildKnown 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 withGH_TOKENnaming no account (c10e2ea);submit --jsonand requested changes (82d7548);dockhand pathand a merged branch's kept worktree (5d60f62);checkandservewith a Tart older than 2.39.0 (d0ca2b0). - Better, not fixed:
createfor a Go module before go 1.17 still drafts an emptygo.vendors, and now names each row to add, with its lock (f13ca92). - Open: with a base image deleted and its golden copy kept,
checkstill sayssetupmakes it, wheresetuprestores it in about a minute.
The README lists the rest. One more is v0.3.1's:
update <port> --new --planfor 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).
dockhand v0.3.0
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 buildKnown 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
submitsays it passed, though the archive at that tag has changed. If upstream has retagged a release, rundockhand checksums <port>, thendockhand check --fresh. - With
GH_TOKENorGITHUB_TOKENset,submit's preview doesn't name the account that will open the pull request.submitstill refuses to push to a fork that account doesn't own.dockhand auth status, the old login command, hidden from--helpbut kept for this, names the account and where its login comes from. submit --jsondoesn't say who requested changes on the pull request, or whether they were asked to review again. The text output says both.dockhand pathsays there's no tracked branch for a merged branch whose worktreecleankept, because its fork branch moved after the merge.status --alllists it, andgit worktree listshows where its worktree is.checkandservedon't refuse a Tart older than 2.39.0, assetupdoes.dockhand setup tartsays when Tart is too old; update Tart before checking.createfor 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 emptygo.vendors, and exits 0. Itschecksums_problemnames the modules to add. Add their rows before checking.- With a base image deleted and its golden copy kept,
checksaysdockhand setup tart <release>makes it, which reads as a full build of an hour or more.setuprestores 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.