From b74359e97643be0f43034c3aeab533a2389a939f Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 30 Nov 2026 18:21:16 +0000 Subject: enstate: submissions waiting for the next switch --migrate first takes the submissions in STATE/incoming, in the order of their names: planned against the schema, stored if accepted (their views follow with the rest), removed, and moved to STATE/refused if refused, which refuses the migration. A dry run (the check before a switch) does so on a copy of the snapshots, changing nothing. --stage leaves a marker, STATE/migrate-due, for the next switch to migrate even if the schema doesn't change; --migrate removes it. Scratch directories are cleaned up without following the symbolic links in them. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 96282c5..3edbfc7 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,8 @@ The design is in [docs/design.md](docs/design.md); - `--stage PATH`: a submission for the generation of `--schema`, before switching to it (a host's first one, too): the snapshot only, no views, no reactions; -- `--migrate [--dry-run]`: serving a generation from snapshots accepted +- `--migrate [--dry-run]`: first the submissions waiting in + `STATE/incoming/`, then serving a generation from snapshots accepted under another schema (same names, `renamedFrom` both ways, kept entries), refusing where a required slot can't be filled; - `--status`, `--materialize`: the snapshots, and putting every view in -- cgit v1.3.1