Files
devvm/docs
w3cjandClaude Opus 5.5 f5cca0ff02 feat(images): devvm images and images rm
devvm images lists the images on every backend (IMAGE, FROM, DIGEST,
KEY, STATE current/stale/unfinished, SIZE, BACKEND), then the shared tool
images by the name images have them by (NAME, TOOL, VERSION, SIZE, VMS,
STATE current/in use/unused/not built/not installed). Listing never
resolves the tools lock. devvm images rm IMAGE|KEY... deletes images by
name (with --from, on that base) or by key, resolving every one first;
shared tools are refused.

- backend.Backend gets ImageSize (Lima: du of the instance folder);
  platform.DiskUsage counts blocks, hard links once.
- build: Listing, Delete, Image.Digest; ubuntu.ReleaseDate.
- tools: List, ReadLock (uses Lock.Version); vm: ToolsInUse,
  BackendUsed exported.
- Messages: reading_images, images_failed, images_rm_failed,
  deleted_image, no_image_named, no_image_named_from,
  tools_not_images_rm.
- Tests: testdata/script/images.txtar (images.bats' three images cases
  and images rm), Go tests for Listing, Delete, List, compareVersions,
  DiskUsage, ImageSize, ReleaseDate, humanSize; e2e images section lists
  base and a layer, deletes by name and an unfinished build by key.
- Docs: images.md (Listing images, Deleting images), commands.md, the
  CLI reference.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 20:42:39 -06:00
..