setup_proposed now lands a git remote named 'applied' on every proposed/<n>/config pointing at /applied/<n>/.git — the path as seen from inside the manager container, where the RO bind in set_nspawn_flags makes the URL resolve. From the manager: git fetch applied git log applied/main git show applied/refs/tags/deployed/<id> git diff applied/main HEAD git rebase applied/main all work without manually constructing the path each time. The RO bind blocks push at the kernel level so the remote can only fetch. Idempotent — also applied to pre-existing proposed repos (no-op if the remote is already correct, set-url if drifted) so the startup migration picks up the wiring on existing agents. |
||
|---|---|---|
| .. | ||
| assets | ||
| src | ||
| Cargo.toml | ||