aboutsummaryrefslogtreecommitdiffstats
path: root/nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-01 06:11:56 +0000
committertv <tv@krebsco.de>2026-12-01 06:11:56 +0000
commit7cb8b752619f17fd29be1b5496ced107d41e79e9 (patch)
tree46907416ed5fa40291f189cbc82f116293fdc98f /nix
parent60da3a663ed070c1e6c5d2a1b171e316a0395bbd (diff)
docs: a submission goes into the incoming directory whole
Names starting with a dot are skipped there, so a provider copies a submission under one and renames it within the incoming directory: a receptor looking at it meanwhile (enstate.service, a check) never sees half a submission. Said in the design, the module's incomingDir, the store; and a test that a dot name is left alone.
Diffstat (limited to 'nix')
-rw-r--r--nix/module.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nix/module.nix b/nix/module.nix
index 10623d1..3028df5 100644
--- a/nix/module.nix
+++ b/nix/module.nix
@@ -278,6 +278,8 @@ in
Where submissions wait for the next switch, each a directory of its own, taken
in the order of their names: planned against the new generation's schema
before switching, which a refused one refuses, and applied by the switch.
+ Names starting with a dot are skipped: copy a submission under one, then
+ rename it, within this directory, so that it is never seen half copied.
'';
};