Skip to content

clankloop.loopfile.v2.git_module

Git module — injects git clone/commit/push tasks around the pipeline.

Adds a git-checkout task (clones the repository, checks out branches) at the start and a git-push task (commits and pushes) at the end. Configured via work_repository, src_branch, dst_branch, and commit_template.

clankloop.loopfile.v2.module

Module system for v2 loopfiles — protocols and registry for transform modules.

A :class:Module receives a :class:~clankloop.loopfile.v2.loopfile.Loopfile spec and returns a transformed one, typically injecting setup/teardown tasks. Modules are registered by name in a :class:ModuleRegistry and applied in dependency order (via the after field on :class:ModuleSpec).

clankloop.loopfile.v2.clankshed_module

Clankshed module — expands clankshed-type module tasks into bash tasks.

Each clankshed task is expanded into four sub-tasks: work, repair, static-check, and review. The flow is: work → static-check → review → next; on failure, static-check or review retries from repair.

clankloop.loopfile.v2.workdir_module

Workdir module — injects a temporary working directory into the pipeline.

Adds a workdir-setup task (creates a temp dir, exports its path to pipeline.globals.workdir) at the start and a workdir-remove task (cleans up the directory) at the end.