Module manual: a set of standard manual action points

This module is adds manual control points for manual build process tuning.

manual actions

Manual actions are special phases intended for manual selection of special actions. User is not disturbed by lots of questions with expected negative answer for most of them, but is queried only by one question with chance to select list.

manual_action_new action_id { "after" | "before" } existing_phase desc longdesc

action_id: id of new action

{ "after" | "before" } existing_phase: position of phase

desc: short description of feature

longdesc: long description of feature

Define new phase for manual action checkpoint.

Module defines phase: "$1" "$2" "$3"

Module uses phase: "$1" "manual_action_ask $1"

manual_action_new_me action_id { "after" | "before" } existing_phase desc longdesc

action_id: id of new action

{ "after" | "before" } existing_phase: position of phase

desc: short description of feature

longdesc: long description of feature

Define new phase for manual action checkpoint and predefine manual action adding as one of selections.

It is the simplification of:

manual_action_new "manual_{id}" after {existing_phase} {desc} {longdesc}
manual_action_add "{id}" manual_command "add command manually"

manual_action_ask action_id

action_id: id of existing action

User interface for manual action point. (internal)

Module uses phase: "$1" "$item $1"

manual_action_add action_id function string hotkey

action_id: id of existing action

function: function name to be added

string: string value for guess (can be empty string)

hotkey: guess hotkey (can be empty string)

Add a new item to manual action.

callback convention: function manual_point_id

manual_command manual_action_point

action_id: id of existing action

User interface for manual adding of command. (internal)

Module uses phase: $1 "$pwiz_answer"

Predefined manual action points

All those phase are defined after phase with name without "_manual".

manual_PREPARE_PREUNPACK: before unpacking main archive

manual_PREPARE_POSTUNPACK: after unpacking of main archive before automatic patches

manual_PREPARE_RECHECK : after unpacking of main archive and automatic patches

manual_BUILD_SETENV: initial first action of build phase

manual_BUILD_POSTCONFHACK: after configuring before compilation

manual_BUILD_POSTCOMPILE: after compilation

manual_INSTALL_PREACTION: before installation

manual_INSTALL_POSTACTION: after installation

manual_POSTINSTALL: post-installation