class

Fluxion::Executor::GitRepoExecutor

Inherits Fluxion::Executor::StepExecutor < Reference < Object

git-repo — clone at an exact commit.

A new checkout is staged beside its destination and only moved into place once origin and HEAD verify, so an interrupted clone never leaves a half-populated directory that later looks installed.

Constants

TIMEOUT = 10.minutes

Instance methods

commands(step : Step, item : ModuleItem) : Array(Command)

Commands for one item, in order. Empty means there is nothing to do.

Source
execute(step : Step, item : ModuleItem, runner : ShellRunner, &sink : String -> ) : StepResult

An existing destination is inspected, never pulled or reset: overwriting a checkout the user has been working in would lose their work.

Source
supports?(step : Step) : Bool
Source