Skip to content

Contributing

Tobias Vorwachs edited this page Nov 23, 2026 · 1 revision

Contributing

How to build, test and release Boxquell.

Working on the code

(cd ui && npm ci && npm run build)   # the web UI is embedded into the binary
cargo build
scripts/boxquell-dev doctor          # runs the debug build with ./.boxquell-dev as data directory

Before a pull request:

cargo fmt
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace

Changes to the gateway, the VM backends or the guest scripts in image/ need a run in a real sandbox; the tests cannot boot one. Say in the pull request what you tried. After changing dependencies, run scripts/third-party-notices.sh. Contributions are licensed MIT OR Apache-2.0.

Workspace

Part Role
apps/desktop Tauri window, built separately
boxquell-net Gateway, policy, interception
boxquell-vm libkrun and QEMU
boxquell-core Configuration, secrets, recipes, log
boxquell CLI, daemon, API
ui React interface
image The scripts every guest runs

For UI work, (cd ui && npm run dev) needs BOXQUELL_API=http://127.0.0.1:<port> of a running daemon.

Releasing

A release is cut by pushing a version tag; nothing is bumped by hand.

git switch main && git pull
git tag -a vX.Y.Z -m "Boxquell X.Y.Z"
git push origin vX.Y.Z

The changelog on main must describe the release under ## [Unreleased]. The workflow checks the tag, builds Linux, macOS and Windows, creates the software bill of materials and drafts a release with SHA256SUMS and a build provenance attestation. Look at the files, then press Publish. A release candidate is vX.Y.Z-rc.N. Publishing opens a pull request that syncs the version and updates the Homebrew formula in Boxquell/homebrew-tap. Details: RELEASING.md.

Signing

macOS and Windows binaries are signed when the secrets in the GitHub environment release exist; otherwise they are built unsigned and the workflow warns. Windows uses a Certum certificate through SimplySign; macOS uses Developer ID and notarization. The README says signing happens "once the certificates are configured", so treat the macOS and Windows binaries as unsigned unless a release says otherwise. See docs/release-signing.md.

Next: Writing Recipes | Home

Clone this wiki locally