Repository navigation
Releases
devvm v0.1.21
Full Changelog: v0.1.20...v0.1.21
devvm v0.1.20
Full Changelog: v0.1.19...v0.1.20
devvm v0.1.19
Full Changelog: v0.1.18...v0.1.19
devvm v0.1.18
Full Changelog: v0.1.17...v0.1.18
devvm v0.1.17
Hetzner provider backend
devvm create NAME --backend hetzner creates a cloud server the way create makes a smol VM, then runs setup on it (root adoption, prereqs, hook, repos, keys, hardening). delete destroys it and clears this host's state for it, including the pinned host key. start/stop map to power on/off; stop warns that a stopped server still bills.
- Servers are discovered from the Hetzner API and have no config entry; the
devvm=truelabel is the managed marker. Servers devvm did not make are listed as unmanaged: onlystatus,start,stop(with a confirm),shellandexecwork, and devvm never promotes one. - Config: a
[providers.hetzner]table (location,image,ssh_keyorssh_key_file,ipv4); templates gainserver_type,location,image,ipv4. - Token:
devvm providers token hetzner [--clear]stores it per host (0600, under~/.local/state/devvm/providers/);HCLOUD_TOKENoverrides. The forward daemon never reads it or calls the API. statuslists provider rows from a cache refreshed by one-shotstatusand__refresh, never by polling;--plaingains thehetznerbackend andstarting/stoppingstates.
Status truthfulness
Remote boxes report a real reachable/unreachable/? (ControlMaster check, then a 2s TCP connect; a timeout is ?), with the last contact shown in status -v and as a sixth --plain field. No polling: one-shot status, the hidden __refresh, and commands that just talked to a box refresh it.
Fixes
status --watchre-resolves a symlinkeddevvm.tomlon a timer (macOS kqueue can drop a relink).- Root flags (
--config-dir,--state-dir) beforeexecandkeys addwork. - ssh ControlPath length is checked up front instead of failing deep in a 90s wait.
setupprints a completion line; confirms without a terminal mention--yes.- macOS CI: three test races fixed.
Menu bar app: ? remote rows keep their tile with a distinct glyph; unlabelled Hetzner rows get no actions. Compiled only by CI; please check on a Mac.
devvm v0.1.16
One config file, discovered VMs, templates
~/.config/devvm/devvm.tomlreplacesmachines/*.tomlandconfig.toml:[templates.*](howcreate/setupshape a box) and[machines.*]for remote boxes and hubs (backend = "remote" | "hub",managed = true|false,host+ optionaluser). Hand-edited, comment-preserving, safe to keep in dotfiles.- Local smol VMs are discovered from smolvm and never configured. A VM devvm did not create is unmanaged:
status,start,stop,shellandexeconly, nothing installed, until you hand it over withdevvm setup --adopt NAME(which asks you to type its name). setupreplacesbootstrap: user → prereqs (now including tmux, gh and mosh) → agent and shim → hook → repos → keys → harden → saved forwards.createmakes smol VMs only; a remote box isdevvm config add NAME --backend remote --host H --managedthendevvm setup NAME, with root adoption and a bounded wait for ssh.- New
devvm config {path,show,edit,check,add,rm}, the only thing that writes the file.deleteof an entry isconfig rm. status --plaingains amanagedcolumn and averified=column; remote boxes show real reachability, probed onstatusand cached.- Host state moved to
~/.local/state/devvm: daemon sockets, caches, pinned known_hosts, saved forwards (ports/NAME) and managed markers. Saved forwards are per host, including for hub machines. - Menu bar app: copy and ports are hidden for unmanaged VMs; the dormant state is gone. These Swift changes were built blind on CI and have not yet been tried on a Mac.
After upgrading from v0.1.15
Run any command once: it moves state, seeds saved forwards and managed markers from the old tree, and prints a pointer. Then write devvm.toml by hand (docs/proposals/config.md §8), run devvm config check, and remove machines/ and config.toml. Daemons started by v0.1.15 keep working in place. Hubs must run v0.1.16 for create/setup HUB/NAME; listing, attach, forwards and cp work against v0.1.15 hubs.
Breaking
Removed: provision, deprovision, bootstrap, defaults, repos rm|clone, --no-clone, remote/hub create, delete of config entries (use config rm) and of unmanaged VMs. The old backend values remote-managed/remote-unmanaged/ssh are rejected with the fix named.
devvm v0.1.15
Full Changelog: v0.1.14...v0.1.15
devvm v0.1.14
Full Changelog: v0.1.13...v0.1.14
devvm v0.1.13
Full Changelog: v0.1.12...v0.1.13
devvm v0.1.12
Full Changelog: v0.1.11...v0.1.12