Commit Graph

9 Commits

Author SHA1 Message Date
unsupportedpastels
24204fd196 test(install): run the macOS git tests on macOS, beside the installer tests
Move the prerequisite tests to tests/scripts/install/ and drop the uname stub: macOS cases are platforms("macos"), the Linux case platforms("linux"). The probe PATH holds only system dirs so a host Homebrew never runs.
2026-10-16 09:05:04 -04:00
unsupportedpastels
5aaedc178b fix(install): install git on macOS again when /usr/bin/git is the CLT stub
Restore the pre-pm installer's macOS git path that the pm bootstrap rewrite dropped: try Homebrew first, else open Apple's Command Line Tools dialog and wait up to 15 minutes for git to run, then continue the install in the same run.

Without a terminal (--non-interactive, Hermes-Setup) the installer still opens the dialog but fails right away with the remedy instead of hanging.
2026-10-16 09:05:04 -04:00
unsupportedpastels
ca9b5f04fd fix(install): stop at prerequisites when macOS git is the CLT stub
macOS ships /usr/bin/git as a stub until Apple's Command Line Tools are installed. It passes 'command -v git', so the installer reported prerequisites ok and then died at the clone with 'git clone failed; no checkout published: ... see man xcode-select'.

Check that git actually runs. On macOS, open the CLT installer and fail with the remedy; elsewhere, fail with git's own error. Both keep the git_missing failure class.

Regressed in 3d12e86ef1, which replaced attempt_install_git() (CLT install + git --version check) with a PATH-only check.
2026-10-16 09:05:04 -04:00
Maciej Lisiewski
0006a5e229 ci: fix PLW1509, PLW1510, PLW2101 linter errors 2026-10-10 15:20:13 +02:00
ethernet
241bc72c1d test(e2e): let PM installers exercise the default browser install
The driver passed --skip-browser whenever the installer's help listed it.
That was for historical installers' own Playwright step; on a PM installer
the flag is now a real opt-out and would hide the default users get.
2026-09-24 17:27:45 -04:00
ethernet
315fa6882e fix(e2e): detect historical browser flag from installer help 2026-09-24 02:52:23 -04:00
ethernet
ef3dd59673 test: complete stamp writer contract consolidation 2026-09-13 15:16:02 -04:00
ethernet
3f521a02e9 test: consolidate installer acceptance contracts and drivers 2026-09-13 15:10:31 -04:00
ethernet
47f4ab3a17 feat(desktop): bundle, publish, and update the desktop app as MSIX
Wire the desktop app onto the pm store for real distribution:
- MSIX bundle: electron-builder config, appx assets, manifest, copilot
  key + deep-link routing, App Installer + Windows Store variant
  (sign only the msix; inner binaries covered by the package block map)
- Rust CLI shim (apps/desktop/shim) — bundled builds run from the store
  python + shim, never the venv; payload symlinks relativized so the
  relocatable venv survives relocation
- Cloudflare R2 release pipeline: publish binaries + update feeds,
  nightly channels/tags, stamp-first version resolution
- Update system: gate, uninstall steward, boot bootstrap, release
  channels, update receipts
- install.ps1 reduced to a 361-line stage-protocol bootstrapper (heavy
  deps are pm's job); darwin updater + update-channel mirror ripped
- doctor: main's re-landed TCC anchor kept, termux branches removed

Rebuilt from ethie/pm onto the pm-store stack. 22 hot files hand-merged;
uv.lock + package-lock.json keep main's newer dep tree; test_engines
reads the pm/lock.json pin; lazy_deps.py deleted (all 222 importers
migrated to pm in the foundation commit).
2026-08-31 18:00:48 -04:00