(bugfix) Quote remote preflight shell commands #46

Merged
parkel merged 1 commits from issue-45-preflight-shell-quoting into master 2026-05-21 15:45:46 +02:00
Owner

Summary

  • Quote remote preflight shell scripts as a single SSH argument.
  • Fix Remote rsync and Remote source root checks so SSH/remote shell handling no longer splits sh -lc incorrectly.
  • Add regression coverage for the generated preflight command shape.

Tests

  • docker compose run --rm web python manage.py test pobsync_backend -v 2
  • Result: 202 tests passed

Closes #45

## Summary - Quote remote preflight shell scripts as a single SSH argument. - Fix `Remote rsync` and `Remote source root` checks so SSH/remote shell handling no longer splits `sh -lc` incorrectly. - Add regression coverage for the generated preflight command shape. ## Tests - `docker compose run --rm web python manage.py test pobsync_backend -v 2` - Result: 202 tests passed Closes #45
parkel added 1 commit 2026-05-21 15:45:42 +02:00
Pass remote rsync and source-root preflight checks as a single quoted
shell command to SSH so the remote shell evaluates command -v and test
expressions reliably.

Refs #45
parkel merged commit 8633cbea26 into master 2026-05-21 15:45:46 +02:00
parkel deleted branch issue-45-preflight-shell-quoting 2026-05-21 15:45:46 +02:00
Sign in to join this conversation.