Skip to content

v0.2.0

Latest

Choose a tag to compare

@rhsev rhsev released this 21 Jun 21:25

Templating and machine-specific config rendering.

Features:

  • Templating: per-host {{tokens}} ({{src.*}}, {{dst.mount}}, {{dst.*}}) in sync-file path fields, resolved from a host table in config
  • Render: true renders machine-specific files — substituting paths inside the file, not just its location — and places them; Target-Path: sets a divergent target path
  • Delete: true propagates source deletions (rsync --delete)
  • twin doctor preflight: tools, renderers, hosts, mounts, and template tokens

Improvements:

  • Change detection now uses rsync --itemize-changes — deterministic, covering files, directories and deletions; the post-sync Cmd hook runs only on a real change
  • Render jobs sync and report status by content, not mtime

Fixes:

  • status / list --json crashed on Time#iso8601 without require "time"