dockhand

module
v0.5.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2026 License: MIT

README

dockhand logo

Prepare, test, and submit changes to MacPorts ports.

Dockhand helps contributors to macports/macports-ports update ports, test their changes, and open pull requests. It finds upstream releases, updates Portfiles and checksums, builds in clean macOS environments, and prepares commits for MacPorts review.

Each change lives on an ordinary Git branch, with its own working directory. You can edit with your usual tools, review each step, or let Dockhand take a routine update through to a pull request. Pushes go to your fork; you do not need commit access to MacPorts.

These examples use the v0.4.0 command interface, released as v0.4.0; main heads for v0.5.0, and may add to it. Commands may differ in earlier releases. Run dockhand --version to check your build and dockhand <command> --help for its options.

Install

With MacPorts installed:

sudo port install dockhand

You will also need:

  • Git 2.40 or later and a local clone of macports/macports-ports with your fork configured as a remote.
  • MacPorts on your Mac, even if you build remotely. Dockhand uses MacPorts to evaluate Portfiles.
  • GitHub access to open pull requests and use GitHub Actions. Your Git configuration must also allow pushes to your fork without an interactive password prompt, through SSH or an HTTPS credential helper.

For local VM builds, install Tart on an Apple silicon Mac:

sudo port install tart

An Intel Mac can prepare changes and check them through GitHub Actions instead. Some Go and Rust ports also need the MacPorts go2port or cargo2port helper to regenerate their dependency lists.

Build Dockhand from source

Install Go 1.27.1 or later, then:

git clone https://github.com/herbygillot/dockhand.git
cd dockhand
make build
mkdir -p "$HOME/.local/bin"
install -m 755 dockhand "$HOME/.local/bin/dockhand"

Make sure ~/.local/bin is on your PATH. Dependencies are vendored; make build does not need to download Go modules.

Set up your ports checkout

If you already have a ports checkout with your fork as a remote, run this there:

dockhand setup

For a new checkout, fork macports/macports-ports, then clone your fork. Replace YOUR-USERNAME with your GitHub username:

git clone https://github.com/YOUR-USERNAME/macports-ports.git
cd macports-ports
git remote add upstream https://github.com/macports/macports-ports.git
dockhand setup

setup registers the checkout and checks your configuration. In a terminal, it offers to sign in to GitHub, save your maintainer identity, and prepare a Tart image. Creating an image downloads macOS and can use up to 60 GB of disk space; you can decline and set it up later.

You can also run those steps separately:

dockhand setup github
dockhand setup tart

Dockhand saves its GitHub login in the macOS Keychain. Existing GH_TOKEN, GITHUB_TOKEN, or GitHub CLI credentials can also be used; environment tokens take precedence. This API login is separate from Git's authentication for pushing commits.

Run dockhand setup again whenever you want to check what is ready or missing. Existing contributors can keep their remote names: Dockhand identifies upstream and your fork without requiring them to be called upstream and origin.

Make your first update

Choose a port with a newer upstream release available. The examples below use the Rust port ripgrep; substitute the port you want to update. From your ports checkout:

dockhand update ripgrep --new=ripgrep-update
cd "$(dockhand path ripgrep-update)"
dockhand diff

update finds the latest release, edits the version and checksums, and regenerates supported dependency lists. It also compares the old and new source archives for changes worth reviewing, such as licensing or build requirements. If the port is already current, it creates no branch. To select a particular version, use dockhand update ripgrep <version> --new=ripgrep-update instead.

The branch has its own Git worktree: a separate directory sharing your checkout's Git history. Dockhand normally puts these in ~/Source/macports-branches. Its sparse worktrees contain the ports being changed and their shared resources, so you can work on several changes without switching your main checkout between branches.

Review the diff, make any further edits, and build the result:

dockhand edit ripgrep
dockhand check

By default, check builds tracked files as they are on disk, including uncommitted edits. Stage new files or add them with --include <file> so the check sees them too. You do not have to commit before checking.

If you use GitHub Actions instead of Tart, run dockhand check --on github; enable Actions in your fork first.

When the change is ready:

dockhand tidy
dockhand submit --plan
dockhand submit

tidy prepares the commits, normally one per port directory, without changing the final contents of your files. submit --plan previews the destination, publishing account, commits, build results, and pull request description. submit then pushes to your fork and opens or updates the pull request against MacPorts.

Use --plan with update, check, tidy, or submit to preview that step without applying it. Submission normally requires passing checks for the committed files. A build alone does not establish that the programs work correctly or that important variants still work; include the testing you actually performed when preparing your pull request.

If a check fails

Your branch and edits remain available. Inspect the result and log, fix the problem, and run another check:

dockhand status
dockhand logs ripgrep
dockhand edit ripgrep
dockhand check

dockhand check --baseline can help establish whether an install or test failure also occurs on the upstream version. After a reviewer requests changes, use the same edit, check, tidy, and submit cycle to update the existing pull request.

From outside the worktree, dockhand status -p ripgrep and dockhand logs -p ripgrep find the port's branch. Commands that work on a branch also accept -b <branch> or --pr <number>.

Choose where to build

Dockhand runs lint, fetch, checksum, installation, and declared tests. Test failures are advisory by default, matching MacPorts CI. Use --tests required to make failed or timed-out declared tests fail the check; a port that declares no tests can still pass.

Build environment How it works
Tart Builds in disposable macOS VMs on your Apple silicon Mac. The usual host profile selects a VM matching your Mac's macOS release.
GitHub Actions Runs MacPorts' own workflow in your fork. Enable Actions in the fork and select --on github.
Custom command Runs a script you configure for a build machine or VM you manage.

Prepare the images you want to check against. For example, to check on Sequoia and Tahoe:

dockhand setup tart sequoia
dockhand setup tart tahoe
dockhand check --on sequoia --on tahoe

Each selected environment must pass. dockhand check --build macports-ci selects Tart releases based on MacPorts' CI workflow; you need images for those releases. Ports requiring full Xcode need an additional image, prepared with dockhand setup tart --xcode <archive.xip>. Without the required tools, a port is reported as not built.

For a GitHub build:

dockhand check --on github

This pushes a temporary branch to your fork to trigger Actions, even though you have not submitted a pull request. Dockhand saves the logs and removes the temporary branch after it has collected the results. The pull request later includes the recorded build results in its Tested on section.

Eligible passing results can be reused when build inputs and the environment are unchanged. Use check --fresh to rebuild everything.

Run a routine update in one command

Once you are comfortable with the workflow, ship can update, commit, check, and submit a port for you:

dockhand ship ripgrep --plan
dockhand ship ripgrep

In a terminal, ship shows its plan and asks once before proceeding. Use --to check to stop after committing and checking, without opening a pull request:

dockhand ship ripgrep --to check

bump can open a pull request without prompting:

dockhand bump ripgrep

It is the unattended shortcut for a single port, distinct from MacPorts' port bump. Add a version argument to target a specific release. ship --yes and ship outside a terminal also proceed without confirmation. Unattended updates pause for review when they encounter major-version changes, competing pull requests, or other findings that require a decision. They use build.unattended, normally minmax for Tart: each port's oldest and newest supported macOS releases with available images. Use --build or --on to choose explicitly.

Run ship or bump again to resume an existing update. status shows what needs attention and suggests the next command.

Keep up with the ports you maintain

--mine selects ports whose maintainer entry matches your configured identity. It refers to ports you maintain, rather than ports installed on your Mac. setup can suggest the identity from existing ports; you can also set it in ~/.dockhand/config.toml:

maintainer = "{example.org:you @you} openmaintainer"

Replace that example with your own maintainer entry, then:

dockhand outdated --mine
dockhand ship --mine --to check
dockhand ship --passing

The first command lists newer releases. The second prepares and checks an update branch for each eligible port. The third submits passing branches that still need their commits published in a pull request.

For background work, run dockhand serve, or install it as a macOS login agent:

dockhand serve --install

serve processes queued checks, follows pull request reviews and CI, checks your ports for new releases daily, and posts macOS notifications. By default, discovering a release only adds it to status. Automatic preparation and submission are opt-in through serve.ship_to; automatic submissions have a daily limit and cover only branches serve prepared. Use ship --passing for branches you started yourself.

dockhand status --watch keeps the overview current. You can also use Dockhand without serve: checks run in the foreground.

Other port work

Task Command
Start a manual fix dockhand edit ripgrep --new=ripgrep-fix
Bring an existing branch into Dockhand dockhand adopt from that branch's worktree
Draft a port from a GitHub project dockhand create <github-url> --new --category devel
Find affected dependents dockhand impact
Preview library rebuilds for an update dockhand update <port> --revbump-dependents --plan
Compare upstream source archives dockhand diff --source
Refresh the branch against upstream master dockhand rebase
Undo the latest tidy or rebase dockhand undo
Remove merged branches and their worktrees dockhand clean

New Portfiles include # dockhand: unconfirmed markers for inferred values. Review and correct those fields, then remove the markers before submitting. For Go and Rust version updates, prefer update over editing the version and running checksums: checksums alone does not regenerate dependency lists.

Known issues in v0.4.0

Each is rough, harms nothing a look wouldn't catch, and has a workaround. Most are planned for v0.5.0, and those marked are fixed on main already.

  • check builds on this Mac's release unless told otherwise, build.default's host, and MacPorts CI also builds on macOS 14 and 15. submit and the pull request say which releases no check covered; --build macports-ci checks on all three, and build.default = "macports-ci" makes it the default.
  • A Go port whose module moved hosts, as pomo moved from GitHub to Codeberg, is planned without naming the move. Compare the new release's go.mod module path with the Portfile's before tidy. Fixed on main for v0.5.0.
  • Subports that share a Portfile but differ beyond what dockhand reads, such as py-lmdb's, can get a planned edit that needs a person's look. Read dockhand diff before tidy.
  • A revision that changes only a patch's contents, keeping its name, reads as fetching the base's source, so the upstream assessment compares nothing for it, that patch included. A check still applies it, and fails where it doesn't apply, so check after editing a patch. Fixed on main for v0.5.0.
  • A Rust or Go port whose version you edit by hand keeps its old cargo.crates or go.vendors: checksums refreshes only its own archives' checksums. dockhand update <port> <version> regenerates them; undo the hand edit first. Fixed on main for v0.5.0.
  • A batch of submits, with serve watching their pull requests, can spend GitHub's hourly limit of requests; dockhand says when it lifts.
  • On a new macOS release, before MacPorts' builders have made archives of a Rust or Go toolchain, the first Tart check of a Rust or Go port there builds rust and cargo, or go, from source: hours on a VM's two cores. The check says so before it builds, and a later check installs them from the archives dockhand kept, until cleanup forgets them. Check such a port first on the previous release, --on tahoe, or let the first check run.
  • A fetch during update that a server refuses, as a 404 does, holds the branch until a file in it is edited, even once the archive is served again; a rate limit, an outage, or mirrors not yet carrying a release are fetched again at the next look. Editing a file in the port's directory releases it. Fixed on main for v0.5.0.
  • serve has printed a check's "passed" line twice once (check-130). It hasn't recurred, and it changes nothing but the output.
  • 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 exits 0. Its checksums_problem names each row to add to go.vendors, with its lock; add them, with the checksums port -v checksum reports, before checking. 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 dockhand submit --branch <name> after a look. Fixed on main for v0.5.0: the hold names the licenses found and quotes the added terms, and labels and copyright lines no longer count.
  • While a baseline of a passed check runs, status says the branch is checking, and serve and ship --passing wait to submit it. Let the baseline finish, or submit with dockhand submit --branch <name>. Fixed on main for v0.5.0.
  • An update whose configure.ac names a library through a shell variable, as GraphicsMagick 1.3.49's AC_CHECK_LIB([$zstd], ...) does, says that library was removed. Read configure.ac's change with dockhand diff --source before submitting after a look. Fixed on main for v0.5.0.
  • A failed check offers check --baseline for tests the branch adds and master doesn't run, where a baseline has nothing to compare. Skip the hint where the branch adds the port's tests. Fixed on main for v0.5.0.
  • update refuses a port whose PortGroup reads the host while it loads, as qmake5's asks whether Xcode and an SDK are there, with "version probe is inconclusive: modeled context depends on host state", though its version line and archives read nothing of the host: LibreCAD, cpi, the PyQt5 and Qt 5 ports, and about 100 in all. Edit the version line by hand, then run dockhand checksums <port>. Fixed on main for v0.5.0.
  • dockhand update <port> for a port that pins its source to a commit and tracks a branch, livecheck.type git, as wezterm does, stops with a Go panic before it changes anything, and update <port> <version> refuses. outdated says such a port's branch has moved past its pin; edit the commit and the version by hand, as it says, then dockhand checksums <port>. Fixed on main for v0.5.0: update moves the pin to the branch's head, or a commit named, with the version the port's scheme gives it.
  • tidy commits a Portfile whose patchfiles names a new patch that Git doesn't track yet without the patch, and the check then fails fetching it. git add a new patch before tidy. check warns of an untracked file in a port it builds, but ship doesn't. Fixed on main for v0.5.0: tidy commits the patches patchfiles names with their Portfile and lists any other untracked file it leaves out, and check, ship, and serve refuse before a VM starts while a named patch is untracked.
  • A diagnostic check of some of a branch's ports on a release build.default doesn't name, such as check --only ufraw --on ventura, makes submit ask 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. Fixed on main for v0.5.0: outside build.default's releases, a port is asked for only where a check planned it.
  • The upstream comparison reads build files only at the top of a port's source. A port that builds from a directory below it, as i2pd's cmake.source_dir ${worksrcpath}/build does, or with configure.dir, cargo.dir, or build.dir there, can say "no build file changes" where that directory's build file changed. dockhand diff --source --stat lists it; read its change before submitting. Fixed on main for v0.5.0: those directories' build files are compared too.
  • update --follow-moves on a branch already at the version, as after an update said upstream had moved, changes nothing, and submit still holds on the move. Pass --follow-moves on the update that moves the version, or edit github.setup's owner by hand. Fixed on main for v0.5.0: it points github.setup at the move, and the hold goes.

Scope

Dockhand currently supports updating GitHub-hosted Go and Rust ports, individually and in batches. Other port types, shared subport releases, library rebuilds, and variant-by-variant checks are outside the supported scope. They may work, but require closer review of plans and diffs. If Dockhand cannot prepare an edit automatically, it explains the limitation and any manual steps available.

review and adopt --pr are experimental: they evaluate another contributor's Portfiles with MacPorts on your Mac. Read Portfiles you do not trust before using either command; isolated evaluation is not yet available.

Help and contributing

dockhand --help
dockhand <command> --help
dockhand config

For MacPorts contribution practices, see the MacPorts contribution workflow and commit-message guidelines. dockhand explain <code> explains the rule behind a finding reported by tidy or submit; dockhand explain check-42 says why a check ended as it did, and dockhand explain -b <branch> where a branch stands and what clears it.

Report Dockhand bugs and propose improvements in this repository. Include your dockhand --version, the command you ran, and the relevant error or build log. To work on Dockhand itself, build with make build and run its tests with make test.

License

MIT.

Directories

Path Synopsis
cmd
dockhand command
Command dockhand authors, checks, and submits changes to MacPorts ports.
Command dockhand authors, checks, and submits changes to MacPorts ports.
internal
archive
Package archive walks tar and zip source archives without extracting them onto the host.
Package archive walks tar and zip source archives without extracting them onto the host.
atomicfile
Package atomicfile durably replaces local files.
Package atomicfile durably replaces local files.
branchstate
Package branchstate is the one verdict on a branch's state, from what's recorded of it: whether its checks stand for its files, and, as part 4 of v0.5.0 brings each judgment here, what it's ready for, what holds it, and what moves it on, which status, serve, submit, tidy, and ship each judged apart (the direction synthesis's layer 1).
Package branchstate is the one verdict on a branch's state, from what's recorded of it: whether its checks stand for its files, and, as part 4 of v0.5.0 brings each judgment here, what it's ready for, what holds it, and what moves it on, which status, serve, submit, tidy, and ship each judged apart (the direction synthesis's layer 1).
buildenv
Package buildenv is the contract between the engine and the providers of build environments a check builds in (Design v3 §7), which live beneath it: tart, ghactions for github, and script for a person's own command.
Package buildenv is the contract between the engine and the providers of build environments a check builds in (Design v3 §7), which live beneath it: tart, ghactions for github, and script for a person's own command.
buildenv/ghactions
Package actions is the github provider (Design v3 §7): it builds a revision with MacPorts' own workflow, in your fork.
Package actions is the github provider (Design v3 §7): it builds a revision with MacPorts' own workflow, in your fork.
buildenv/script
Package script is the command provider (Design v3 §7): a person's own build script.
Package script is the command provider (Design v3 §7): a person's own build script.
buildenv/staging
Package staging prepares indexed source archives for the providers of build environments that carry a check's files into a guest, as the Tart provider does.
Package staging prepares indexed source archives for the providers of build environments that carry a check's files into a guest, as the Tart provider does.
buildenv/tart
Package tart is the Tart provider (Design v3 §7): it builds a check's targets in a fresh clone of one of dockhand's prepared images, one guest for each release and attempt, in MacPorts CI's order (decisions 11 and 22).
Package tart is the Tart provider (Design v3 §7): it builds a check's targets in a fresh clone of one of dockhand's prepared images, one guest for each release and attempt, in MacPorts CI's order (decisions 11 and 22).
buildinfo
Package buildinfo describes the running dockhand build from the information the Go toolchain embeds: the module version when built from a tagged module, otherwise the VCS revision, marked when the tree was modified.
Package buildinfo describes the running dockhand build from the information the Go toolchain embeds: the module version when built from a tagged module, otherwise the VCS revision, marked when the tree was modified.
buildlog
Package buildlog reads a build's log for what most likely made it fail: the line a person would look for first.
Package buildlog reads a build's log for what most likely made it fail: the line a person would look for first.
command
Package command is dockhand's command line, rebuilt for Design v3 (docs/design-v3.md).
Package command is dockhand's command line, rebuilt for Design v3 (docs/design-v3.md).
command/branchflags
Package branchflags finds the branch a command works in: -b, -p, and --pr (BranchFlags), an authoring command's -b or --new (BranchChoice), the question where several branches change a port, and a run command's named or latest check.
Package branchflags finds the branch a command works in: -b, -p, and --pr (BranchFlags), an authoring command's -b or --new (BranchChoice), the question where several branches change a port, and a run command's named or latest check.
command/checkrun
Package checkrun sees a queued check through for the command line: run here where no serve leads, or followed where one does, its progress and its results reported as they come, and what a failure's log says.
Package checkrun sees a queued check through for the command line: run here where no serve leads, or followed where one does, its progress and its results reported as they come, and what a failure's log says.
command/cmdtest
Package cmdtest is the command line's tests' shared harness: a world of a MacPorts checkout, an upstream, and a fork (NewWorld), each test's stand-ins for compose and the host (Stands, Hosted), command lines run through them (Dockhand, RunFor, JSONOf), and the fakes a test gives the engine.
Package cmdtest is the command line's tests' shared harness: a world of a MacPorts checkout, an upstream, and a fork (NewWorld), each test's stand-ins for compose and the host (Stands, Hosted), command lines run through them (Dockhand, RunFor, JSONOf), and the fakes a test gives the engine.
command/host
Package host is the Mac the command line runs on, or a test's stand-in for it: its clock, identity, notifications, launchd, the background cleanup and drain it starts, its Tart and its login's stores, and the timings serve and status --watch keep (Timings).
Package host is the Mac the command line runs on, or a test's stand-in for it: its clock, identity, notifications, launchd, the background cleanup and drain it starts, its Tart and its login's stores, and the timings serve and status --watch keep (Timings).
command/settings
Package settings is what every command shares: the paths and configuration a command line gives, the engine it opens with them, the places it works in, its --json mark, and the person's editor.
Package settings is what every command shares: the paths and configuration a command line gives, the engine it opens with them, the places it works in, its --json mark, and the person's editor.
command/tidyrun
Package tidyrun is tidy's stage, which tidy, ship, and submit each run: a branch's edits committed as tidy plans them, previewed as tidy previews them, applied unasked where the plan allows (AppliesUnasked), asked on a terminal otherwise, and made through history.Make.
Package tidyrun is tidy's stage, which tidy, ship, and submit each run: a branch's edits committed as tidy plans them, previewed as tidy previews them, applied unasked where the plan allows (AppliesUnasked), asked on a terminal otherwise, and made through history.Make.
command/view
Package view is how the command line shows what the engine returns: the --json shapes, the writers of results, plans, and the queue, the attention rows and their Next lines, and the words they share.
Package view is how the command line shows what the engine returns: the --json shapes, the writers of results, plans, and the queue, the attention rows and their Next lines, and the words they share.
compose
Package compose assembles dockhand for a command: the engine, with its providers, its GitHub runtime, and the readers it's given, from the person's settings and configuration, in one place.
Package compose assembles dockhand for a command: the engine, with its providers, its GitHub runtime, and the readers it's given, from the person's settings and configuration, in one place.
config
Package config reads and writes dockhand's configuration file, ~/.dockhand/config.toml (decision 15; docs/design-v3.md §12).
Package config reads and writes dockhand's configuration file, ~/.dockhand/config.toml (decision 15; docs/design-v3.md §12).
coord
Package coord coordinates dockhand processes that share one database (docs/design-v3.md §11): sessions, fenced leases, one serve leader with standbys, and the event journal observers tail.
Package coord coordinates dockhand processes that share one database (docs/design-v3.md §11): sessions, fenced leases, one serve leader with standbys, and the event journal observers tail.
credential
Package credential defines secret-storage and device-authorization contracts.
Package credential defines secret-storage and device-authorization contracts.
credential/keychain
Package keychain stores credentials in the current user's macOS Keychain.
Package keychain stores credentials in the current user's macOS Keychain.
editprep
Package editprep connects immutable Git sources to Portfile editing.
Package editprep connects immutable Git sources to Portfile editing.
engine
Package engine carries out dockhand v3's operations (docs/design-v3.md): it binds a person's request to the ports checkout, Git, and the store, and does the work.
Package engine carries out dockhand v3's operations (docs/design-v3.md): it binds a person's request to the ports checkout, Git, and the store, and does the work.
evidence
Package evidence says what recorded checks establish about a tree in the environments required now (the architecture review's finding 4): each planned target's result in each environment, as a cell that says what it is; which of an earlier check's results still stand for a newer one (Counts), a blocked result only with what blocked it; and each target's verdict.
Package evidence says what recorded checks establish about a tree in the environments required now (the architecture review's finding 4): each planned target's result in each environment, as a cell that says what it is; which of an earlier check's results still stand for a newer one (Counts), a blocked result only with what blocked it; and each target's verdict.
failpoint
Package failpoint stops dockhand at a named step, as a kill there would, for the acceptance harness's kill rows (the project's plan/acceptance-harness.md, H5).
Package failpoint stops dockhand at a named step, as a kill there would, for the acceptance harness's kill rows (the project's plan/acceptance-harness.md, H5).
fetch
Package fetch performs bounded HTTP transfers using caller-owned requests and clients.
Package fetch performs bounded HTTP transfers using caller-owned requests and clients.
filelock
Package filelock provides context-aware advisory locks for files and external resources shared by Dockhand processes.
Package filelock provides context-aware advisory locks for files and external resources shared by Dockhand processes.
forge
Package forge defines remote repository observations and publication inputs shared by forge adapters and their consumers.
Package forge defines remote repository observations and publication inputs shared by forge adapters and their consumers.
forge/forgetest
Package forgetest is GitHub as the engine's and the command line's tests stand it in: one stateful fake, its fork a local bare repository and its pull requests in memory, so each package's tests drive the same behavior rather than a fake of their own (the test plan's step 1, 2026-10-02).
Package forgetest is GitHub as the engine's and the command line's tests stand it in: one stateful fake, its fork a local bare repository and its pull requests in memory, so each package's tests drive the same behavior rather than a fake of their own (the test plan's step 1, 2026-10-02).
forge/github
Package github adapts GitHub repositories and pull requests to forge contracts.
Package github adapts GitHub repositories and pull requests to forge contracts.
forge/gitlab
Package gitlab adapts GitLab tag observations to forge contracts.
Package gitlab adapts GitLab tag observations to forge contracts.
git
Package git provides repository operations through a configurable Git executable.
Package git provides repository operations through a configurable Git executable.
github
Package github supplies the GitHub client and authentication shared by forge and verification adapters.
Package github supplies the GitHub client and authentication shared by forge and verification adapters.
history
Package history makes a change to a branch's history, a tidy, rebase, or restore, one complete transition (Design v3 §8).
Package history makes a change to a branch's history, a tidy, rebase, or restore, one complete transition (Design v3 §8).
macos
Package macos describes macOS releases and supplies developer-tool, storage, and launchd operations.
Package macos describes macOS releases and supplies developer-tool, storage, and launchd operations.
macports
Package macports defines bound ports-tree contexts and evaluated observations.
Package macports defines bound ports-tree contexts and evaluated observations.
macports/assess
Package assess decides what an upstream change means for a MacPorts port (the assessment design, C): from two versions' readings, what sourcecompare says changed between them, and the port as MacPorts evaluates it at each end, which findings ask a person's look before a submission nobody reviews, and what the assessment read and set apart.
Package assess decides what an upstream change means for a MacPorts port (the assessment design, C): from two versions' readings, what sourcecompare says changed between them, and the port as MacPorts evaluates it at each end, which findings ask a person's look before a submission nobody reviews, and what the assessment read and set apart.
macports/binaryarchive
Package binaryarchive makes built MacPorts archives installable from an archive site of MacPorts' own kind: signed both ways MacPorts verifies a site's archives, beside the public keys a MacPorts installation is told to trust for them (decision 28).
Package binaryarchive makes built MacPorts archives installable from an archive site of MacPorts' own kind: signed both ways MacPorts verifies a site's archives, beside the public keys a MacPorts installation is told to trust for them (decision 28).
macports/commitmsg
Package commitmsg holds the rules of a MacPorts commit message that more than one part of dockhand writes by: the "<port>: <what changed>" subject, and dockhand's attribution line.
Package commitmsg holds the rules of a MacPorts commit message that more than one part of dockhand writes by: the "<port>: <what changed>" subject, and dockhand's attribution line.
macports/commitrules
Package commitrules checks commits against what MacPorts asks of them (Design v3 §8): subjects that name the port, short and specific; bodies wrapped at 72; tickets as full URLs; no follow-up or merge commits; and a revision reset to 0 when the version changes.
Package commitrules checks commits against what MacPorts asks of them (Design v3 §8): subjects that name the port, short and specific; bodies wrapped at 72; tickets as full URLs; no follow-up or merge commits; and a revision reset to 0 when the version changes.
macports/depblock
Package depblock handles generated MacPorts Go and Rust dependency blocks.
Package depblock handles generated MacPorts Go and Rust dependency blocks.
macports/distfetch
Package distfetch fetches a port's source archives as the direct downloader dockhand uses in place of MacPorts' fetch: it maps evaluated distfiles to their single direct locations, refuses what the downloader cannot fetch as MacPorts would, downloads with bounded size and time while hashing, and rewrites checksum declarations from what it fetched.
Package distfetch fetches a port's source archives as the direct downloader dockhand uses in place of MacPorts' fetch: it maps evaluated distfiles to their single direct locations, refuses what the downloader cannot fetch as MacPorts would, downloads with bounded size and time while hashing, and rewrites checksum declarations from what it fetched.
macports/distfiles
Package distfiles associates native fetch observations with exact checksum declarations.
Package distfiles associates native fetch observations with exact checksum declarations.
macports/eval
Package eval implements MacPorts evaluation through its native Tcl runtime.
Package eval implements MacPorts evaluation through its native Tcl runtime.
macports/fetchguard
Package fetchguard reads a port's pre-fetch hooks and decides whether the fetch is standard, guarded by a rejection that changes nothing fetched, or custom.
Package fetchguard reads a port's pre-fetch hooks and decides whether the fetch is standard, guarded by a rejection that changes nothing fetched, or custom.
macports/fidelity
Package fidelity compares MacPorts evaluations of a Portfile before and after an edit and reports whether only the intended metadata changed.
Package fidelity compares MacPorts evaluations of a Portfile before and after an edit and reports whether only the intended metadata changed.
macports/installation
Package installation observes and installs MacPorts on an explicit command target.
Package installation observes and installs MacPorts on an explicit command target.
macports/patchcheck
Package patchcheck tells whether a port's patch files still apply to a source archive before any build is attempted.
Package patchcheck tells whether a port's patch files still apply to a source archive before any build is attempted.
macports/portcreate
Package portcreate writes a new port's first Portfile (Design v3 §6.4) from what can be observed of an upstream project: its forge, its latest release, and the build files at that release.
Package portcreate writes a new port's first Portfile (Design v3 §6.4) from what can be observed of an upstream project: its forge, its latest release, and the build files at that release.
macports/portedit
Package portedit prepares evaluated Portfile edits in disposable source workspaces.
Package portedit prepares evaluated Portfile edits in disposable source workspaces.
macports/portedit/observe
Package observe runs a Portfile's contents through MacPorts in modeled contexts and judges what the evaluation depended on.
Package observe runs a Portfile's contents through MacPorts in modeled contexts and judges what the evaluation depended on.
macports/portfile
Package portfile identifies and edits literal inputs in Tcl Portfiles.
Package portfile identifies and edits literal inputs in Tcl Portfiles.
macports/portindex
Package portindex prepares, reads, and retains MacPorts indexes for immutable source trees.
Package portindex prepares, reads, and retains MacPorts indexes for immutable source trees.
macports/portsource
Package portsource interprets the upstream conventions of evaluated Portfiles.
Package portsource interprets the upstream conventions of evaluated Portfiles.
macports/prdescription
Package prdescription is the description of a pull request against macports/macports-ports, as MacPorts' template has it (.github/PULL_REQUEST_TEMPLATE.md): its headings and Type(s), what each part claims, from facts the engine establishes, and how submitting again updates a description, keeping what a person edited (the architecture review's finding 5).
Package prdescription is the description of a pull request against macports/macports-ports, as MacPorts' template has it (.github/PULL_REQUEST_TEMPLATE.md): its headings and Type(s), what each part claims, from facts the engine establishes, and how submitting again updates a description, keeping what a person edited (the architecture review's finding 5).
macports/selection
Package selection resolves port names in a captured source before native evaluation.
Package selection resolves port names in a captured source before native evaluation.
macports/survey
Package survey selects ports from an isolated snapshot of committed source.
Package survey selects ports from an isolated snapshot of committed source.
macports/treequery
Package treequery reads a ports tree's ports as MacPorts evaluates them: a directory's ports, the port index's dependents and dependency graph, and the archives a port's fetch plan names.
Package treequery reads a ports tree's ports as MacPorts evaluates them: a directory's ports, the port index's dependents and dependency graph, and the archives a port's fetch plan names.
macports/version
Package version owns how Dockhand reads a version spelling: whether it is a usable spelling at all, how an upstream tag maps to and from it, and whether it is stable or a prerelease.
Package version owns how Dockhand reads a version spelling: whether it is a usable spelling at all, how an upstream tag maps to and from it, and whether it is stable or a prerelease.
macports/workspace
Package workspace projects one immutable git tree onto a directory MacPorts can read.
Package workspace projects one immutable git tree onto a directory MacPorts can read.
model
Package model defines dockhand's v3 records and the vocabulary the domain packages share (docs/design-v3.md §3).
Package model defines dockhand's v3 records and the vocabulary the domain packages share (docs/design-v3.md §3).
outdated
Package outdated observes upstream updates for ports selected from committed local source.
Package outdated observes upstream updates for ports selected from committed local source.
planning
Package planning decides what a check builds, where, and in what order, from what each environment's evaluation says of the ports it could build (Design v3 §3).
Package planning decides what a check builds, where, and in what order, from what each environment's evaluation says of the ports it could build (Design v3 §3).
progress
Package progress carries transient operation messages through a context to an optional observer.
Package progress carries transient operation messages through a context to an optional observer.
project
Package project reads what an upstream project's own files say of it: its license files, its build files, and each ecosystem's manifest, as a typed record of that ecosystem's own (the assessment design, B).
Package project reads what an upstream project's own files say of it: its license files, its build files, and each ecosystem's manifest, as a typed record of that ecosystem's own (the assessment design, B).
prose
Package prose words counts and sizes the same way wherever dockhand says them.
Package prose words counts and sizes the same way wherever dockhand says them.
pypi
Package pypi reads what the Python Package Index publishes for a release, through its JSON API, which PyPI documents (https://docs.pypi.org/api/json/): the files a release has, a source archive, wheels, or both.
Package pypi reads what the Python Package Index publishes for a release, through its JSON API, which PyPI documents (https://docs.pypi.org/api/json/): the files a release has, a source archive, wheels, or both.
refusal
Package refusal is why something dockhand was asked to do didn't go, as a kind, its words, what was kept as it was, and what moves it on: the one shape every layer refuses in, where ten sentences with their remedies were composed below the engine (the architecture review of 5897a82, R3-31), commands read an exit error as a verdict and cut words out of errors (R3-38), and a failure another try may meet had five shapes (R3-6).
Package refusal is why something dockhand was asked to do didn't go, as a kind, its words, what was kept as it was, and what moves it on: the one shape every layer refuses in, where ten sentences with their remedies were composed below the engine (the architecture review of 5897a82, R3-31), commands read an exit error as a verdict and cut words out of errors (R3-38), and a failure another try may meet had five shapes (R3-6).
registry
Package registry finds where a project named in a language's registry keeps its source, so create can start from "crates:ripgrep" as from a repository's address.
Package registry finds where a project named in a language's registry keeps its source, so create can start from "crates:ripgrep" as from a repository's address.
reuse
Package reuse is decision 28's reuse of evidence: what each target's build read, recorded as its inputs, so that a result can stand for a build that would read the same.
Package reuse is decision 28's reuse of evidence: what each target's build read, recorded as its inputs, so that a result can stand for a build that would read the same.
scratch
Package scratch is the process's transient directory: one run root under the system temporary directory that every short-lived directory dockhand makes is created inside, workspaces, their overlays, materialized sources, helper sandboxes, and edit buffers among them.
Package scratch is the process's transient directory: one run root under the system temporary directory that every short-lived directory dockhand makes is created inside, workspaces, their overlays, materialized sources, helper sandboxes, and edit buffers among them.
signify
Package signify makes the keys and signatures OpenBSD's signify(1) verifies, which MacPorts checks an archive fetched from an archive site with (signify -V -p key -x signature -m archive): an Ed25519 key, and a signature of the whole file.
Package signify makes the keys and signatures OpenBSD's signify(1) verifies, which MacPorts checks an archive fetched from an archive site with (signify -V -p key -x signature -m archive): an Ed25519 key, and a signature of the whole file.
sourcecompare
Package sourcecompare compares two versions of a project's upstream source, as project read them, for what a reviewer would ask about before an update is submitted (Design v3 §6.12): a license file, a build file, or a declared dependency.
Package sourcecompare compares two versions of a project's upstream source, as project read them, for what a reviewer would ask about before an update is submitted (Design v3 §6.12): a license file, a build file, or a declared dependency.
store
Package store is the contract for v3's durable records (docs/design-v3.md §3 and §11): branches, revisions, plans, runs, guest executions, target results, and the sessions, leases, and events that coordinate processes.
Package store is the contract for v3's durable records (docs/design-v3.md §3 and §11): branches, revisions, plans, runs, guest executions, target results, and the sessions, leases, and events that coordinate processes.
store/sqlite
Package sqlite implements the store contract on one SQLite database, dockhand v3's ~/.dockhand/dockhand.db.
Package sqlite implements the store contract on one SQLite database, dockhand v3's ~/.dockhand/dockhand.db.
subprocess
Package subprocess runs one external command with the conventions every Dockhand tool runner shares: a bounded wait after cancellation, captured output, the context error joined into the cause, and one error shape that names the tool, its command, and what it wrote to stderr.
Package subprocess runs one external command with the conventions every Dockhand tool runner shares: a bounded wait after cancellation, captured output, the context error joined into the cause, and one error shape that names the tool, its command, and what it wrote to stderr.
tart
Package tart provides shared mechanics for the local Tart installation and its images.
Package tart provides shared mechanics for the local Tart installation and its images.
tart/guestssh
Package guestssh reaches a Tart guest over SSH through Apple's /usr/bin/ssh, macOS's own documented client, which Local Network privacy does not stop the way it stops a Go program's direct dial, whichever app launched dockhand (decision 43 of the contracts direction).
Package guestssh reaches a Tart guest over SSH through Apple's /usr/bin/ssh, macOS's own documented client, which Local Network privacy does not stop the way it stops a Go program's direct dial, whichever app launched dockhand (decision 43 of the contracts direction).
tart/host
Package host controls concrete Tart VMs and their guest-agent transport.
Package host controls concrete Tart VMs and their guest-agent transport.
tart/provision
Package provision constructs and validates local Tart images for verification.
Package provision constructs and validates local Tart images for verification.
tcl/rpc
Package rpc exchanges framed calls with a Tcl child over its standard streams.
Package rpc exchanges framed calls with a Tcl child over its standard streams.
tcl/shell
Package shell manages Tcl child processes and their bounded output.
Package shell manages Tcl child processes and their bounded output.
tcl/syntax
Package syntax parses Tcl source into byte-addressed syntax without evaluating it.
Package syntax parses Tcl source into byte-addressed syntax without evaluating it.
testsupport
Package testsupport holds helpers that tests in many packages share.
Package testsupport holds helpers that tests in many packages share.
textedit
Package textedit provides byte spans and edits for source-preserving transformations.
Package textedit provides byte spans and edits for source-preserving transformations.
upstream
Package upstream selects and checks releases for interpreted MacPorts sources.
Package upstream selects and checks releases for interpreted MacPorts sources.
tools
acceptance/faultproxy command
Command faultproxy is an HTTP proxy that fails on purpose, for the acceptance harness's fault kit (the project's plan/prime-time- environment.md): set as HTTPS_PROXY, it makes every connection dockhand asks for stall, reset, or answer 502, or tunnels it through unchanged.
Command faultproxy is an HTTP proxy that fails on purpose, for the acceptance harness's fault kit (the project's plan/prime-time- environment.md): set as HTTPS_PROXY, it makes every connection dockhand asks for stall, reset, or answer 502, or tunnels it through unchanged.
facts command
Command facts harvests the toolchain facts table, internal/macos's facts.json, and regenerates it (decisions 9-13 of the contracts direction).
Command facts harvests the toolchain facts table, internal/macos's facts.json, and regenerates it (decisions 9-13 of the contracts direction).
survey command
Command survey assesses every port of a ports tree, or a selection of them, and compares two surveys.
Command survey assesses every port of a ports tree, or a selection of them, and compares two surveys.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL