Add CLI for managing SFTP recording backups
Android checks / cli (push) Canceled after 0s
Android checks / verify (push) Canceled after 0s

This commit is contained in:
Meghdad committed 2026-10-16 16:04:53 +03:30
1 parent 27cf823959
commit 8588c2f3ad
21 files changed
+1732 -2

No files matched your search

+4
View File
@@ -29,3 +29,7 @@ Recording-service changes also need the device tests. Use a disposable emulator:
- Do not introduce app accounts, additional network services, or analytics without discussing the change first.
Do not include local IDE/device configuration, credentials, signing keys, build output, or personal audio in a pull request. Avoid attaching private recordings or identifying information to issues. Contributions are covered by the repository's [MIT license](LICENSE).
## Optional desktop CLI
The Python package in `tools/remember_cli` is independent of the watch APK. With Python 3.10+, use an isolated environment, install with `python -m pip install -e . build`, and run `python -m unittest discover -s tests/cli -v`. The network tests start only the included loopback SFTP fixture with temporary files and generated keys. Never point tests at personal backup servers. Build distributables with `python -m build`. CLI-only changes do not require an Android rebuild; preserve the watch manifest schema, SHA-256 checks, SSH host verification, bounded transfers, non-destructive sync, and confirmation/trash behavior. Read [docs/cli.md](docs/cli.md) before changing mutations or partial-transfer recovery.