fifa17-python: sync tools to running container state
The frozen baseline image predates two hot-patches made in the running container after build: * utas_server.py: FUT_MODES-gated offlineSeason block in GetHubData's club response (keeps the offline-season summary valid) * test_hub_offline_season_contract.py added to /app/tools Sync fifa17-python/tools to the running container (verified byte-identical, 237 files incl. the redir cert pair) and snapshot the live FS as openfut-fut-backend:python-running-2026-08-10 (docker commit). A fresh build from the committed sources now reproduces the running backend exactly (baked SHA256SUMS.txt diffed against the container manifest: identical).
This commit is contained in:
@@ -97,3 +97,25 @@ docker compose up -d --build
|
||||
location.
|
||||
- TURN/relay re-addressing (multiplayer) and long-tail endpoints (weather,
|
||||
matchday, kit assets) are deferred feature gaps — tracked separately.
|
||||
|
||||
## Running state vs image — what the frozen image does NOT contain
|
||||
|
||||
The baseline image (`python-baseline-2026-08-10` / `dev`) was built at 02:14Z,
|
||||
but the container's `/app` was hot-patched afterwards:
|
||||
|
||||
* `tools/utas_server.py` — gained the `FUT_MODES`-gated `offlineSeason` block in
|
||||
GetHubData's club response (keeps the hub's offline-season summary valid).
|
||||
* `tools/test_hub_offline_season_contract.py` — added to `/app/tools`.
|
||||
|
||||
`docker save` captures the image, not the container's writable layer, so the
|
||||
baseline tar.gz lacks those two changes. Two paths cover the exact runtime:
|
||||
|
||||
* `openfut-fut-backend:python-running-2026-08-10` — `docker commit` of the
|
||||
running container (sha256:093a98fa0496...), the exact runtime FS.
|
||||
* The committed `fifa17-python/tools` + `data` — synced to match the running
|
||||
container byte-for-byte (237 files verified, incl. the redir cert pair), so a
|
||||
fresh build reproduces the actual running backend. Proven by rebuilding from
|
||||
the committed sources and diffing the baked `/app/SHA256SUMS.txt` against the
|
||||
container manifest: identical.
|
||||
|
||||
Archive: `docker-backups/openfut-fut-backend-python-running-2026-08-10.tar.gz`.
|
||||
|
||||
Reference in New Issue
Block a user