class

Fluxion::Executor::PacmanRepositoryExecutor

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

pacman-repository — a section inside the shared /etc/pacman.conf.

Unlike the other three this edits a file it does not own, so the whole replacement is staged and installed atomically rather than appended in place: a partial append would leave pacman with a malformed config.

Constants

MAX_CONFIG_BYTES = (4 * 1024) * 1024

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

Runs one item. The default runs each command in order and stops at the first that fails, because a later command in a sequence normally assumes the earlier one worked.

Source
supports?(step : Step) : Bool
Source