left4me/l4d2web/alembic/versions
mwiegand 985df970f8
feat(l4d2-web): per-overlay server.cfg aliases — expose checkbox + auto-exec
Each linked overlay gets a checkbox on the blueprint detail page that opts
its server.cfg in as exec server_overlay_<id>. The web app builds the
spec with {path, alias} per overlay and prepends exec server_overlay_<id>
lines to the blueprint config in lowest-overlay-first order. The host
stages those copies in the overlayfs upper layer before mounting (avoids
copy-up writes against a sandbox-uid file). A live preview block above the
Config textarea shows what gets auto-executed.

Schema:
- alembic 0007: BlueprintOverlay.expose_server_cfg BOOLEAN

Spec contract:
- l4d2host OverlayRef(path, alias?). load_spec accepts both bare-string
  and {path, alias} entries.

Side effects folded in (same file in l4d2_facade):
- start_server auto-initializes; the manual Initialize step is no longer
  needed before Start.
- initialize_server no longer runs blueprint builders — builds happen on
  overlay save, not on every server Start.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-09 01:26:31 +02:00
..
0001_initial.py chore(l4d2): flatten component layout 2026-05-05 23:47:06 +02:00
0002_workshop_overlays.py feat(l4d2-web): typed overlays + workshop schema migration 2026-05-07 16:35:13 +02:00
0003_global_map_overlays.py feat(l4d2-web): managed global map overlays with daily refresh 2026-05-08 08:05:14 +02:00
0004_drop_legacy_external_overlay_type.py refactor(l4d2-web): remove legacy external overlay type 2026-05-08 09:31:04 +02:00
0005_script_overlays.py feat(l4d2-web): script overlay schema — add overlay.script + last_build_status, drop globals tables 2026-05-08 15:33:04 +02:00
0006_server_name_per_user.py feat(l4d2-web): server identity by id, name as display label 2026-05-08 19:22:09 +02:00
0007_blueprint_overlay_expose_server_cfg.py feat(l4d2-web): per-overlay server.cfg aliases — expose checkbox + auto-exec 2026-05-09 01:26:31 +02:00
b2c684fddbd3_make_server_port_unique.py fix: enable batch operations in alembic for sqlite unique constraints 2026-05-06 20:59:18 +02:00