| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|