aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/populate/docs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-01 02:47:32 +0000
committertv <tv@krebsco.de>2026-12-01 04:06:17 +0000
commit3aff9c58c68d6882294e6586ddb384709ce95abe (patch)
treef7f7d13dec077dc21858f56a3a990c483f5f22c8 /pkgs/populate/docs
parentcf26dc1f928e9839123bedd1693d792bbb418312 (diff)
populate: probe passage and pass sources too
A passage source ran rsync on every run, about a dozen round trips to a remote target, and a pass source a command reading .pass_info, which tells whether the passwords changed. The probe lists the target paths of passage sources too, and reads what pass sources' .pass_info contains. After decrypting, a passage source lists its working directory with find, whose files have the times of their .age files and fixed modes, and doesn't run rsync if the listings are the same; Delivery::transfer does that for any source the probe listed. A pass source takes .pass_info from the probe.
Diffstat (limited to 'pkgs/populate/docs')
-rw-r--r--pkgs/populate/docs/design.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/populate/docs/design.md b/pkgs/populate/docs/design.md
index 8928809..f98a2f9 100644
--- a/pkgs/populate/docs/design.md
+++ b/pkgs/populate/docs/design.md
@@ -131,6 +131,12 @@ step doesn't rewrite:
its messages, at each source's turn.
- For symlink sources, the symlink there, if any. If it points to the
target already, nothing runs.
+- For passage sources, a listing too, which gets compared with one of the
+ working directory, after decrypting, with find: decrypted files have
+ the times of their `.age` files, and fixed modes, so unchanged secrets
+ don't run rsync.
+- For pass sources, what `.pass_info` contains, which tells whether the
+ passwords changed, instead of a command of their own.
- For git sources with a commit as ref, and without `fetchAlways`, the
work tree's HEAD, its origin's URL, what `git status --ignored` and `git
submodule status` print, but only if `git_problems` finds nothing wrong
[cgit] Unable to lock slot /tmp/cgit/8e100000.lock: Permission denied (13)