aboutsummaryrefslogtreecommitdiffstats
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* docs: --pack --dry-run, what keeps a source list from a submissiontv5 days1-0/+10
|
* docs: locations in source lists, and no generatorstv5 days1-2/+29
| | | | | | | | A location is a source declared once and used by many items, with variables from each item's fields ($(var:NAME), once the config crate has them), read only. Making values that don't exist yet is the source's business, which knows its layout, its recipients, and how each kind of key is made: enstate doesn't generate.
* docs: programs run in a sandboxtv5 days1-2/+3
|
* docs: submissions for the next generationtv5 days1-3/+16
| | | | | | | | A submission for a generation not yet switched to waits in an incoming directory, which the check before the switch plans against the new schema and the switch takes; or it is staged, with the new generation's receptor, and stored without views or reactions. Either way the switch brings the views, and a host's first switch its state.
* docs: services read views; enstate doesn't configure themtv5 days1-5/+11
| | | | | | | The sketch of the NixOS side: services point at the views' paths, which the module names, as they like (LoadCredential=, a configuration file); whether they are restarted when a view changes is up to reactions, since a configuration may restart them itself.
* docs: what is kept goes once its slot is filled anewtv5 days1-4/+7
| | | | | | | A kept entry fills a slot of its name and type after a rollback, but once that slot is filled anew it is older than what is there, and goes: the rule of migrations.md case 3, for every kept entry. --migrate takes --dry-run, for the check before a switch.
* enstate: the receptor and the provider, a first versiontv5 days1-5/+5
| | | | | | | | | | 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.
* docs: required slots before validators, commands as optionstv6 days1-22/+26
| | | | | | | | | The plan checks that required slots are filled before it runs the validators, so they are given filled slots. The receptor's and the provider's commands are options (--plan, --apply, --pack, ...), as our tools' are. An item in a group is as required as its group, and the manifest has no checksums yet. A plan says of secret views, and of files that aren't text, which files differ, as diffutils does.
* docs: design draft 4, programs and sourcestv6 days2-125/+340
| | | | | | | | | | A protocol for validators, renderers, converters and steps (a directory with an invocation and channels/CHANNEL/SLOT, objections as JSON lines); every slot holds a file, its type a media type, so format and type versions go; validators across slots; submissions in the same layout, with removal and the chain as order proposed; and enstate pack, with source lists in JSON or TOML by continuum's config crate. Case 2 of migrations.md now has two types and converters between them.
* docs: design draft 3, migrations on papertv8 days2-166/+356
| | | | | | | | Partial submissions with required and optional items and groups, plan before apply, formats by media type, a protocol for renderers, host names by a resolver, refuse as the only policy; and the rule that a generation change never rewrites the snapshot, which the cases in migrations.md need.
* init: design draft 2, state objectstv8 days2-0/+343