From a0f22c88d54d351b060c2d0d9f0a8cbf5f412ba2 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 29 Nov 2026 15:02:23 +0000 Subject: enstate: --migrate, renames both ways, kept entries What a generation sees of a snapshot accepted under another schema: same name and type, renamedFrom, a rename in the stored schema read backwards, and entries kept, with their types, in the snapshot's kept/. Plans start from what is seen, and store it under the running schema; a generation change rewrites no snapshot. --migrate (and --dry-run) says what each channel sees, refuses for required slots nothing fills, puts the views in place and runs their reactions; --materialize and --status go by what is seen, too. A view made from an unfilled required slot isn't there. The rollback cases of migrations.md that need no converters or steps are tests. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 71ae7e2..709aaf5 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,14 @@ The design is in [docs/design.md](docs/design.md); doing it: complete and partial submissions, items required and optional, groups, removal, the chain as order, validators (a type's and across slots), views and their reactions; +- `--migrate [--dry-run]`: 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 place from them; - `--pack PATH --out DIR`: a submission from a source list, JSON or TOML. -Not yet: migrations (`--migrate`), the NixOS module, a NixOS VM test, +Not yet: converters, derived slots and steps; the NixOS module, a NixOS VM test, shell completion, a sandbox for programs. ```sh -- cgit v1.3.1