Skip to content

Releases

devvm v0.1.21

Choose a tag to compare

@github-actions github-actions released this 19 Oct 16:55

Full Changelog: v0.1.20...v0.1.21

devvm v0.1.20

Choose a tag to compare

@github-actions github-actions released this 19 Oct 15:47

Full Changelog: v0.1.19...v0.1.20

devvm v0.1.19

Choose a tag to compare

@github-actions github-actions released this 19 Oct 15:40

Full Changelog: v0.1.18...v0.1.19

devvm v0.1.18

Choose a tag to compare

@github-actions github-actions released this 18 Oct 17:46

Full Changelog: v0.1.17...v0.1.18

devvm v0.1.17

Choose a tag to compare

@github-actions github-actions released this 17 Oct 14:15

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=true label is the managed marker. Servers devvm did not make are listed as unmanaged: only status, start, stop (with a confirm), shell and exec work, and devvm never promotes one.
  • Config: a [providers.hetzner] table (location, image, ssh_key or ssh_key_file, ipv4); templates gain server_type, location, image, ipv4.
  • Token: devvm providers token hetzner [--clear] stores it per host (0600, under ~/.local/state/devvm/providers/); HCLOUD_TOKEN overrides. The forward daemon never reads it or calls the API.
  • status lists provider rows from a cache refreshed by one-shot status and __refresh, never by polling; --plain gains the hetzner backend and starting/stopping states.

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 --watch re-resolves a symlinked devvm.toml on a timer (macOS kqueue can drop a relink).
  • Root flags (--config-dir, --state-dir) before exec and keys add work.
  • ssh ControlPath length is checked up front instead of failing deep in a 90s wait.
  • setup prints 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

Choose a tag to compare

@github-actions github-actions released this 17 Oct 11:46

One config file, discovered VMs, templates

  • ~/.config/devvm/devvm.toml replaces machines/*.toml and config.toml: [templates.*] (how create/setup shape a box) and [machines.*] for remote boxes and hubs (backend = "remote" | "hub", managed = true|false, host + optional user). 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, shell and exec only, nothing installed, until you hand it over with devvm setup --adopt NAME (which asks you to type its name).
  • setup replaces bootstrap: user → prereqs (now including tmux, gh and mosh) → agent and shim → hook → repos → keys → harden → saved forwards. create makes smol VMs only; a remote box is devvm config add NAME --backend remote --host H --managed then devvm 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. delete of an entry is config rm.
  • status --plain gains a managed column and a verified= column; remote boxes show real reachability, probed on status and 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

Choose a tag to compare

@github-actions github-actions released this 29 Sep 16:20

Full Changelog: v0.1.14...v0.1.15

devvm v0.1.14

Choose a tag to compare

@github-actions github-actions released this 25 Sep 20:06

Full Changelog: v0.1.13...v0.1.14

devvm v0.1.13

Choose a tag to compare

@github-actions github-actions released this 15 Sep 20:37

Full Changelog: v0.1.12...v0.1.13

devvm v0.1.12

Choose a tag to compare

@github-actions github-actions released this 15 Sep 14:26

Full Changelog: v0.1.11...v0.1.12