From eaac60ba88728bb582778c726e5798156dddfc45 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 29 Nov 2026 14:21:34 +0000 Subject: enstate: the receptor and the provider, a first version One program on a library: --plan and --apply of submissions (complete and partial, items required and optional, groups, removal, the chain as order), validators of types and across slots, views put in place by replacing a link, their reactions by systemctl; --status, --materialize; and --pack, a submission from a source list in JSON or TOML, by the config crate's sources. Programs by the protocol of design.md 5.2; tests with shell scripts as validators and renderers. --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 2eb368a..71ae7e2 100644 --- a/README.md +++ b/README.md @@ -6,5 +6,26 @@ system declares what state it can consume; a receptor on the host accepts a snapshot that fits, puts it in place and reloads what uses it, or rejects it. -Nothing is built yet. The design is in [docs/design.md](docs/design.md); +The design is in [docs/design.md](docs/design.md); [docs/migrations.md](docs/migrations.md) walks through its migration model. + +## What there is + +`enstate`, one program for the receptor and the provider: + +- `--plan PATH`, `--apply PATH`: what the submission in PATH would do, and + 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; +- `--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, +shell completion, a sandbox for programs. + +```sh +cargo build +cargo test +enstate --help +``` -- cgit v1.3.1