(refactor) Normalize runtime config labels

Hide the old pobsync_home field from the Django admin and replace legacy
operator-facing labels with runtime state root and backup root terminology.

Rename admin compatibility fieldsets, update self-check/config-check text,
and refresh management command help so Django/systemd stays the primary
mental model.
This commit is contained in:
2026-05-21 02:24:55 +02:00
parent 58d567f9bc
commit c5865a5379
14 changed files with 48 additions and 25 deletions

View File

@@ -98,13 +98,13 @@ run the Django/runtime refresh steps needed after a code update.
## Migration Helpers
Import existing legacy YAML configs:
Import pre-Django YAML configs during a one-time migration:
```
python3 manage.py import_pobsync_configs --prefix /opt/pobsync
```
Export SQL config to legacy runtime YAML for inspection or one-off compatibility:
Export SQL config back to YAML for inspection or one-off compatibility:
```
python3 manage.py export_pobsync_configs --prefix /opt/pobsync
@@ -192,4 +192,4 @@ Next refactor targets:
- Move more snapshot lifecycle details into typed domain objects.
- Replace remaining dictionary-shaped config at engine boundaries.
- Remove legacy YAML import/export once production migration no longer needs it.
- Remove YAML migration import/export once production migration no longer needs it.