WEFT_OS/crates
Marco Allegretti b2bb76125f feat(pack): add uninstall subcommand and full install/uninstall tests
weft-pack:
- uninstall <app_id>: validates app ID, resolves store root, removes
  the installed package directory. Fails with an error if the package
  is not present or the app ID is malformed.
- Extracted install_package_to(dir, root) and
  uninstall_package_from(app_id, root) inner functions so tests can
  drive them directly without touching process env vars (avoids parallel
  test env-var races).
- install_package / uninstall_package remain the CLI-facing wrappers
  that call resolve_install_root().

Tests added (2):
- install_package_copies_to_store: writes a valid temp package, calls
  install_package_to, verifies all files are present, confirms a second
  install fails.
- uninstall_package_removes_directory: installs then uninstalls,
  verifies directory is removed, confirms a second uninstall fails.
Both tests use process-ID-derived paths to avoid cross-test collisions.
2026-03-11 09:54:39 +01:00
..
weft-appd feat(appd): implement TerminateApp process signaling via abort channel 2026-03-11 09:37:09 +01:00
weft-build-meta Initialize Rust workspace and repository metadata 2026-03-10 18:47:06 +01:00
weft-compositor test(compositor): add protocol unit tests and stale identifier rejection 2026-03-11 08:12:11 +01:00
weft-pack feat(pack): add uninstall subcommand and full install/uninstall tests 2026-03-11 09:54:39 +01:00
weft-runtime feat(runtime): add weft-runtime crate skeleton 2026-03-11 09:27:30 +01:00
weft-servo-shell feat(pack): add install subcommand; clean up servo-shell stub comment 2026-03-11 09:45:31 +01:00