Repository navigation
Clone, Box updates, ephemeral runs, CLI exit codes and lifecycle fixes - #2
Merged
Merged
Conversation
Bump to the v0.3.0 tag and its checksum. The GUI links GIO and EGL since the D-Bus display, so depend on glib2 and libglvnd; drop qt6-tools, which the build never used (qmake6 ships in qt6-base).
New:
- omavm clone (Box via distrobox --clone, Machine via a sparse/reflink
copy of its stopped disk with snapshots); "Clone…" says the cost first.
A Box clone's commit image goes away with the clone.
- omavm update / "Update System" for Boxes (distrobox upgrade), with the
package manager's lines as progress on the card.
- omavm run --ephemeral: a new Desktop that is deleted when it shuts
down; start --ephemeral / "Start Without Keeping Changes" for existing
ones (-snapshot, snapshots refused meanwhile).
- Stable CLI exit codes (0-6) and {"error": {code, message}} with --json;
exec/ssh pass their command's code through.
- Progress while creating a Box (image pulled first, layer by layer).
- Status says when saved settings wait for a restart, when Travel Mode
trimmed CPUs, when the host disk is low, and when a session ended
without shutting down.
- Per-capability guest integration (clipboard via spice-vdagent's port,
shared folder via guest-get-fsinfo) and a one-way clipboard option.
- Viewer: disconnect panel with Reconnect; Experience Center is single
instance; terminal color strip, scrollback keys and font zoom; the
card names the distribution and says what its main action does;
creation offers to open the new environment; KVM warning before
creating a Desktop.
Fixes:
- QMP: per-command timeouts, structured errors, and snapshot commands
left without a reply reconciled through query-block.
- A snapshot gone from the disk no longer blocks removal and retention.
- Resume reports a disk-full pause that comes right back; a paused
Machine whose shutdown times out is paused again, never left running.
- Locked disk, too much memory and unreadable ISOs explained at Start.
- The list poll no longer waits 700 ms for an absent guest agent.
- make install points the launcher entry at the installed binary.
Start blamed /dev/kvm whenever it was inaccessible, even when QEMU never ran because the binary was missing, hiding the install hint. CI runners have no KVM, so TestMissingBinaryDiagnostic failed there. The test now runs without KVM too.
machine/qemu, box/distrobox and box/container (the legacy Podman/Docker adapter), next to the box router. Code is unchanged; imports, comments and docs follow the new paths, and CLAUDE.md records the convention.
Qt 6.4's QML parser still reserves long (an ES3 future reserved word), so the whole file failed to compile on CI; newer Qt accepts it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements most of
docs/TODO.md(P1/P2 and the QEMU front) and three P3 items released by the owner (Clone, Box update,omavm run --ephemeral). Also carries the v0.3.0 PKGBUILD commit.New
omavm clone NAME NEW, "Clone…" on the card): Box viadistrobox create --clone(stopped; the commit image is removed with the clone), Machine via a sparse/reflink copy of its stopped disk, snapshots included, after a free-space check. The dialog states what is copied and the cost first.omavm update NAME, "Update System"):distrobox upgrade, package-manager lines shown as progress.omavm start --ephemeral/ "Start Without Keeping Changes" (QEMU-snapshot, snapshots refused meanwhile) andomavm run --ephemeral --image ISO(new Desktop, deleted when it shuts down; Ctrl+C ends and deletes it; no daemon).{"error": {code, message}}with--json;exec/sshpass the command's code through (README "Exit codes").guest-get-fsinfo); one-way clipboard option.Fixes
query-blockinstead of guessed.make installpoints the launcher entry at the installed binary; desktop entry categories fixed.Verification
gofmt -l .,go vet ./...,go test ./...(Core run tests also with-race),make test-qml(70),make test-backend(14),make test-terminal(35),make build-gui.docs/TODO.md.The JSON contract changed additively (
list --statusgainsintegration.capabilities; golden updated).