Skip to main content

Module preprocessing

Module preprocessing 

Source
Expand description

Preprocessing pipeline — transforms source files before handler dispatch.

Preprocessors expand files whose version-controlled source differs from the deployed artifact (templates, plists, encrypted secrets). The preprocessing phase runs before handler dispatch, producing virtual entries that downstream handlers (symlink, shell, path, install, homebrew) consume transparently.

See docs/proposals/preprocessing-pipeline.lex for the full design.

Modules§

identity
Identity preprocessor — passes content through unchanged.
pipeline
Preprocessing pipeline — partitions, expands, and merges entries.
template
Template preprocessor — renders Jinja2-style templates via MiniJinja.
unarchive
Unarchive preprocessor — extracts tar.gz archives.

Structs§

ExpandedFile
A single file produced by a preprocessor’s expansion.
PreprocessorRegistry
Registry of available preprocessors.

Enums§

TransformType
The safety model for a preprocessor’s transformation.

Traits§

Preprocessor
The core preprocessor abstraction.

Functions§

default_registry
The default registry used on the normal execution path.