## Implementation update
Implemented API controls for issue #22 and pushed to `main`.
## What changed
- Added authenticated `POST /api/control/update` to run the configured repo-upgrade command.
- Added authenticated `POST /api/control/restart` to run the configured restart command.
- Added env-configurable command settings: `IMPORTARR_UPDATE_COMMAND`, `IMPORTARR_RESTART_COMMAND`, and `IMPORTARR_CONTROL_COMMAND_TIMEOUT_SECONDS`.
- Commands run without a shell, capture bounded stdout/stderr, and report failures through API errors.
- Documented the new API endpoints and updated local workflow notes to use the API for deployed update/restart after new code is pushed.
## Verification
- `PYTHONWARNINGS=ignore .venv/bin/python -m pytest -q` → 38 passed
- `git diff --check`
## Commit
- `5752e9f Add API update controls #22`
daniels
added the ready label 2026-07-29 20:11:54 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
should definately include an update and restart functionality #25
Implementation update
Implemented API controls for issue #22 and pushed to
main.What changed
POST /api/control/updateto run the configured repo-upgrade command.POST /api/control/restartto run the configured restart command.IMPORTARR_UPDATE_COMMAND,IMPORTARR_RESTART_COMMAND, andIMPORTARR_CONTROL_COMMAND_TIMEOUT_SECONDS.Verification
PYTHONWARNINGS=ignore .venv/bin/python -m pytest -q→ 38 passedgit diff --checkCommit
5752e9f Add API update controls #22