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. --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index af7de7e..f78f51f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,10 +9,12 @@ //! * [`view`]: rendering views, comparing them, installing them; //! * [`store`]: snapshots on disk, and the views in place; //! * [`plan`]: what a submission would do, and applying it; +//! * [`migrate`]: what a generation sees of snapshots accepted under other schemas; //! * [`pack`]: making a submission from a source list. pub mod content; pub mod media; +pub mod migrate; pub mod name; pub mod pack; pub mod plan; -- cgit v1.3.1