Repository navigation
v0.5.1
Maintenance + ergonomics release. Wider curated Windows edition support, headless install ergonomics, FreeRDP 2 compatibility fix for Ubuntu 22.04 LTS users, and an internal Qt refactor that future-proofs the GUI codebase. Nine PRs land between v0.5.0 and this tag.
Highlights
Pick LTSC IoT, Win10 LTSC, Tiny, Server, or your own ISO — and winpodx app run <app> now works on Ubuntu 22.04's default FreeRDP 2.11. This release is mostly a follow-up to user-reported pain points on v0.5.0: more Windows editions selectable from one place, a real --win-version flag on install.sh and winpodx setup, and a RemoteApp launch bug that opened Microsoft Store instead of the real app on FreeRDP 2.x hosts.
- Windows edition picker (#178, #183, #185, #186) —
cfg.pod.win_versionnow accepts the full Win10+ curated set (11, 10, ltsc11, ltsc10, iot11, tiny11, tiny10, 2025, 2022, 2019, 2016) from the GUI Settings → Container/VM card,winpodx setup --win-version, orinstall.sh --win-version. Custom ISOs documented as a manual workaround indocs/ARCHITECTURE.md. (reported by @gabe39, #178) - FreeRDP 2 / Ubuntu 22.04 LTS compatibility (#189) —
winpodx app run <app>no longer opens Microsoft Store on FreeRDP 2.11.x. Win32 RemoteApp launches now use FreeRDP's separate/app:+/app-name:+/app-cmd:flags instead of FreeRDP 3's combined/app:program:X,name:Y,cmd:Zsyntax. (reported by @poetman, #158) - ARM64 (aarch64) host support — Pi 5 and Ampere systems install cleanly (#176, #177). Host arch is detected at install / setup time; aarch64 hosts default to
dockurr/windows-armand the compose template emits-cpu hostwithout the x86-onlyarch_capabilities=offsub-option that previously crashed QEMU onhost-arm-cpuwithProperty 'host-arm-cpu.arch_capabilities' not found. New aarch64 CI job catches future regressions. Remaining Phase 4 work — Windows-on-ARM RDP listener stabilisation — tracked under #141 / #140. (reported by @tslpre, #140) - Discovery cleanup (#182) —
winpodx app refreshno longer re-imports the reverse-open Linux-app shims as Windows apps, and a self-heal pass purges any existing polluted entries on the next refresh. - Weekly Docker Hub digest watcher (#180) — picks up silent dockur rebuilds (security patches that don't get a release tag) that the release-tag-only watcher misses.
- Internal:
WinpodxWindowQt class decomposed from 2745 lines into a 148-line orchestrator + 10 single-responsibility mixins (#181). Zero behaviour change; maps cleanly to a future Rust port. - Always-on bottom log bar + live log-level picker. Two new pieces working together:
- A persistent 2-line log ticker at the very bottom of the main window — visible regardless of which page is active. Latest two
log_signallines (winpodx logger + pod tail whencfg.logging.level == "RAW") flash there in real time. - Terminal tab gets a
DEBUG / INFO / WARNING / ERROR / CRITICAL / RAWdropdown that retargets the running logger AND persists tocfg.logging.level. RAW also enables the parallelpodman logs -fstream (with[pod]prefix), so dockur / QEMU / Windows-side messages flow through both the Terminal full view and the bottom bar — useful for "Windows isn't booting" / "ISO download stuck" / agent-down triage. - Tails are started once at GUI launch and stay running, so the bottom bar updates regardless of which page you're on. The Terminal tab's
Live (app)/Live (pod)/Stop tailbuttons were removed (now redundant with the always-on design).
- A persistent 2-line log ticker at the very bottom of the main window — visible regardless of which page is active. Latest two
- Settings save with container recreate now auto-runs the full bring-up (wait Windows boot → agent settle → apply runtime fixes → discover apps → push reverse-open manifest) with a progress dialog. No more "I changed the edition and now my apps don't work" workflow.
Added
winpodx setup --win-version EDITIONandinstall.sh --win-version VERflags for headless edition selection on fresh installs. NewWINPODX_WIN_VERSIONenv var equivalent. Documented indocs/INSTALL.md"Choosing the Windows edition" section. (#178, #185, #186)- GUI Settings → Container/VM card gains a "Windows Edition" combo populated from
_KNOWN_WIN_VERSIONS. Read-only dropdown; custom dockur tags outside the curated list are settable via directwinpodx.tomledit (seedocs/ARCHITECTURE.md"Advanced: Custom Windows ISO"). (#178, #183) _KNOWN_WIN_VERSIONSconstant incore/config.py(12 curated editions).PodConfig.__post_init__normalises whitespace + case, warns on unknown values without rejecting them. (#178, #183)- ARM64 (aarch64) Linux host support — Phase 1+2+3 of #141.
install.shandcore/config.py:_default_pod_imagedetect host architecture viauname -mand route aarch64 hosts to thedockurr/windows-armimage (matching the dockur project's separate ARM build).core/pod/compose.pydropsarch_capabilities=offfrom the-cpu hostflag on aarch64 — that sub-option is x86-only KVM CPUID hardening and QEMU'shost-arm-cpumachine model rejected it withProperty 'host-arm-cpu.arch_capabilities' not found, the exact symptom Pi 5 users hit atwinpodx pod start. The new aarch64 CI matrix entry (#177) runs the test suite onubuntu-24.04-armso architecture-aware codepaths don't regress silently. Remaining Phase 4 work — Windows-on-ARM RDP listener stabilisation, rdprrap compatibility onxtajitx86 emulation — tracked separately under #141 + #140. (reported by @tslpre, #140 — Pi 5 / RaspiOS Trixie repro with full QEMU error) check-windows-updatesworkflow gains a:latestdigest drift detector — opens a "silent rebuild" tracking issue when digest changes without a release-tag bump. Two new fields inconfig/oem/VERSIONS.txt:dockur-digest=anddockur-arm-digest=. (#180)docs/ARCHITECTURE.md"Advanced: Custom Windows ISO" section documents the manualwin_version = "custom"+compose.yamlmount workaround for users with their own pre-loaded ISOs. Korean mirror updated. (#178, #184)CONTRIBUTING.md"Crediting contributors in Highlights" section codifies the inline(by @user, #PR)/(reported by @user, #issue)convention used in CHANGELOG Highlights. Korean mirror updated. (#187)- New
[logging]config section withlevelfield (DEBUG | INFO | WARNING | ERROR | CRITICAL | RAW).setup_logging()reads it on startup so all winpodx CLI / GUI runs pick up the chosen level. DefaultINFO; unknown values fall back toINFOwith no rejection. Terminal tab dropdown changes the live logger AND persists to TOML.RAWis a winpodx-only meta-level: pins the Python logger toDEBUGAND turns on a parallelpodman logs -ftail in the Terminal so dockur / QEMU / Windows-side output interleaves with winpodx's own log lines (pod-log lines are prefixed[pod]and dimmed for distinguishability). - New License GUI tab. Shows the MIT license text inline + a "Third-party components" section listing the upstream projects winpodx ships or depends on (dockur, FreeRDP, PySide6/Qt, rdprrap, stascorp/rdpwrap, rcedit, Catppuccin) with their respective licenses. Resolves the LICENSE file via
bundle_dir()so it renders correctly across every install mode (source checkout, wheel, FHS, installer drop). - Auto bring-up after container recreate. Changing CPU / RAM / port / user / Windows edition in the GUI Settings page used to call
_generate_compose+_recreate_containerand stop — the freshly-recreated guest had no booted Windows (different ISO if edition changed -> fresh download), no agent, no rdprrap multi-session apply, no app discovery, and no reverse-open manifest, so users had to run several CLI commands manually after every recreate. The save handler now chains the full bring-up automatically on a worker thread: (1) wait forpod_status == RUNNINGANDcheck_rdp_port(bounded bycfg.install.wait_ready_stage2_secs, default 900s), (2) wait forAgentClient.health()+ host token ready (bounded bycfg.install.wait_ready_stage3_secs, default 1800s — long because fresh-ISO download + Sysprep dominate this stage), (3)winpodx.core.provisioner.apply_windows_runtime_fixesfor rdprrap activation + RDP timeouts + OEM baseline, (4)discovery.scan+persist_discovered, (5)winpodx host-open refreshfor the reverse-open manifest. A newBringUpProgressDialog(window-modal, indeterminate progress bar, Cancel button) renders each phase's label + sub-detail; the same lines also feed the always-on bottom log bar via the existinglog_signalfan-out. Cancel is best-effort — phase 1/2 polling loops honour the event within their 2 s cadence, but long blocking apply / discover / sync calls in phase 3-5 cannot be interrupted mid-flight (the button disables itself with "Cancelling..." text so the user knows the request landed). Implemented as a newBringUpMixininsrc/winpodx/gui/_main_window_bringup.py, three new signals onWinpodxWindow(bringup_phase,bringup_done,bringup_started), and a kick at the end of the existing_recreateworker in_main_window_settings.py. +5 tests (test_main_window_bringup.py) cover happy-path ordering, phase-1 cancellation, phase-3 failure surfacing, non-blocking entry point, and fresh-cancel-event-per-run.
Changed
- Qt
WinpodxWindowdecomposed into mixins.src/winpodx/gui/main_window.pyshrinks from 2745 lines to 148 (-95%); page builders, page behaviour, chrome construction, pod control, and worker orchestration each move to their own private_main_window_*.pymixin module. Pure structural refactor — zero functional change, all method resolution preserved via MRO. (#181) core/discovery._is_junk_entrynow rejects executables underC:\Users\Public\winpodx\reverse-open\bin\(queried via the newreverse_open.sync.is_guest_shim_pathhelper) so the host's reverse-open Linux-app shims aren't mistakenly imported as Windows apps.persist_discovered()runs a_purge_reverse_open_entriesself-heal pass that drops any existing polluted entries on the next refresh.scripts/windows/discover_apps.ps1Add-Resultfilters the same path on the guest side as defense in depth. (#182)docs/USAGE.mdwin_versionTOML example updated to list the new curated set instead of the pre-#183 subset. Korean mirror updated. (#184)- License tab third-party acknowledgments completed. Added
libvirt-python(LGPL-2.1+),docker/ docker-py (Apache-2.0),tomli(MIT), and thegetrandomRust crate (MIT OR Apache-2.0) used in the reverse-open shim. The optional[libvirt]and[docker]extras now have their LGPL/Apache attribution surfaced in the GUI per upstream license terms; the reverse-open shim's dual-licensed Rust dependency is acknowledged for parity with what's statically linked into the vendored.exe. - BringUpProgressDialog detail. The auto bring-up modal now shows a 5-phase checklist with per-phase elapsed times, attempt counters during the polling phases (Pod ready / Agent ready), and an expandable live tail of the dockur container's
podman logs -foutput so users can see what Windows is actually doing during the long ISO-download + Sysprep wait (Phase 2 can take 30+ minutes on a fresh edition). The pod-log expander spawns its own short-livedpodman logs -fsubscription bounded to the dialog's lifetime so the live tail is visible regardless ofcfg.logging.level, and also receives the always-on[pod]-prefixed lines that flow throughWinpodxWindow.log_signal(the same fan-out introduced for the always-on bottom log bar).bringup_phasenow carries a stable phase-ID slug (phase_1_pod/phase_2_agent/phase_3_fixes/phase_4_discovery/phase_5_refresh) as its first arg so the dialog can route emissions to the correct checklist row independent of presentational copy. +6 dialog-side tests added.
Fixed
winpodx app run <slug>no longer opens Microsoft Store on FreeRDP 2.x hosts (Ubuntu 22.04 LTS), AND no longer fails withUnexpected keywordon FreeRDP 3.x hosts (Tumbleweed, Fedora 42/43 with FreeRDP 3 PPA, etc.). Win32 RemoteApp now branches on the detected FreeRDP major version: FreeRDP 3 keeps the combined/app:program:X,name:Y,cmd:Zsyntax (FreeRDP 3 parses/app:as<key>:<value>,...and rejects bare paths withUnexpected keywordat theC:drive prefix); FreeRDP 2 uses the separate/app:PATH+/app-name:NAME+/app-cmd:CMDflag form (FreeRDP 2 parses the combined string as a literal program path, fails the launch, and Windows shell handler falls back to Microsoft Store). Version is detected once per process viaxfreerdp --versionand cached. UWP path is unchanged. (reported by @poetman, #158)__version__insrc/winpodx/__init__.pywas stale at0.4.3and didn't track the package version. Bumped to0.5.1with this release;winpodx --version, the migrate version comparison, and the install marker now matchpyproject.toml.- YAML-injection hardening on the four
[pod]config fields that land inside the compose template's double-quoted scalars. A hand-editedwinpodx.tomlwithwin_version = '11"\nEVIL: "x'(or the same shape incontainer_name/image/disk_size) used to break out of its YAML scalar and inject arbitrary env keys into the dockur service. Two-layer fix:core/config.py:PodConfig.__post_init__rejects dangerous chars (",\\,\n,\r,$,`) and validatesdisk_sizeagainst a regex;core/pod/compose.py:_build_compose_contentnow runs all four values through_yaml_escapeas defense in depth.cli/setup_cmd.pyre-runs__post_init__after the--win-versionflag assignment so direct attribute mutation can't bypass the validation either. Five new tests cover dangerous-char reject, disk_size regex, and the YAML escape boundary. - License tab acknowledgments table corrected. Smoke + legal review found three mistakes:
rdprrapwas listed as GPL-3.0 (it's MIT, same maintainer);Catppuccin Mochawas credited as the GUI palette (theme is actually GitHub Primer Dark — seesrc/winpodx/gui/theme.py);PySide6license string was imprecise. Catppuccin removed; rdprrap moved to MIT; GitHub Primer Dark added with the GitHub Inc. 2013 copyright; PySide6 tightened toLGPL-3.0-only WITH Qt-LGPL-exception-1.1. Three additional rdprrap-NOTICE upstreams surfaced in the GUI for parity with what the OEM zip ships:stascorp/rdpwrap(Apache-2.0),llccd/TermWrap(MIT),llccd/RDPWrapOffsetFinder(MIT). Optional-extras dependencies (Pillow, cairosvg, pyxdg) also added with their licenses.
Changed
.gitignoreextended for AI-tooling-footprint hygiene per CLAUDE.md Section 8 (.mcp.json,AGENTS.md,CLAUDE.local.md,demo.png) plus standard scratch / editor / OS patterns and a defensive secret-shape denylist (*.env,*.pem,*.key,id_rsa*, etc. — currently no such files in tree).- Arch Linux status accuracy. The
README.md"Supported distros" row claimedpacman / AUR | Supported, anddocs/INSTALL.mdinstructedyay -S winpodx. Neither is currently true — the AUR publish workflow is wired but secret-gated onAUR_SSH_PRIVATE_KEY, which has not been provisioned, so nowinpodxAUR package has shipped. Updated the README row to "Source install supported · AUR package pending maintainer onboarding", replaced theINSTALL.md"Arch Linux (AUR)" section withinstall.shguidance, and clarified the native-package-manager intro. Korean mirrors updated.