From 8c54405d78b87b8756106eceec0a53ef0225d05e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 24 Mar 2023 20:32:25 +0300 Subject: Add support for package build config worker steps and steps enabling/disabling --- doc/manual.cli | 133 +++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 87 insertions(+), 46 deletions(-) (limited to 'doc') diff --git a/doc/manual.cli b/doc/manual.cli index 4e5a3c0..b50ad77 100644 --- a/doc/manual.cli +++ b/doc/manual.cli @@ -964,13 +964,15 @@ repository by executing the following commands, collectively called a \i{worker script}. Each command has a unique \i{step id} that can be used as a breakpoint and normally as a prefix in the \c{}, \c{}, and \c{} values as discussed in -\l{#arch-controller Controller Logic}. The \c{<>}-values are from the task -manifest and the environment though some are assigned by the worker during the -script execution (configuration directories, UUIDs, etc). In particular, the -\c{}, \c{}, \c{}, -\c{}, and \c{} values result -from parsing the \l{#arch-task-package-config \c{package-config}} task -manifest value. +\l{#arch-controller Controller Logic} as well as in the \c{} +values (see below). The \c{<>}-values are from the task manifest and the +environment though some are assigned by the worker during the script execution +(configuration directories, UUIDs, etc). In particular, the +\c{} (prefixed global options and variables), +\c{} (unprefixed options), \c{} (unprefixed +variables), \c{}, \c{}, and +\c{} values result from parsing the +\l{#arch-task-package-config \c{package-config}} task manifest value. Some prefix step ids have fallback step ids which are used in the absence of the primary step id values. If the prefix step id differs from the breakpoint @@ -1008,7 +1010,8 @@ Worker script for \c{target} packages: \ # bpkg.create (bpkg.target.create : b.create, bpkg.create) # -bpkg -V create +bpkg -V create \\ + # bpkg.configure.add # @@ -1023,7 +1026,8 @@ bpkg -v fetch --trust # (bpkg.target.configure.build : b.configure, bpkg.configure.build)) # bpkg -v build --configure-only \\ - [] \\ + \\ + [] \\ [{ }+] / \\ [[ ]...] \\ [([{ }+] \\ @@ -1068,7 +1072,8 @@ bpkg -v update { # b.test-installed.create ( : b.create) # - b -V create + b -V create \\ + # For each test subproject: # @@ -1091,7 +1096,8 @@ bpkg -v update # bpkg.test-separate-installed.create_for_target : # bpkg.test-separate-installed.create) # - bpkg -V create + bpkg -V create \\ + # bpkg.test-separate-installed.configure.add ( # : bpkg.configure.add) @@ -1108,7 +1114,8 @@ bpkg -v update # (bpkg.test-separate-installed.configure.build_for_target : # bpkg.test-separate-installed.configure.build)) # - bpkg -v build --configure-only \\ + bpkg -v build --configure-only \\ + \\ [ ]... \\ ?sys:/ @@ -1144,8 +1151,8 @@ Worker script for \c{host} packages: { # bpkg.create (bpkg.host.create : b.create, bpkg.create) # - bpkg -V create --type host -d \\ - + bpkg -V create --type host -d \\ + } # # Otherwise: @@ -1170,8 +1177,8 @@ bpkg -v fetch -d --trust { # bpkg.create (bpkg.target.create : b.create, bpkg.create) # - bpkg -V create -d \\ - + bpkg -V create -d \\ + # [bpkg.link] # @@ -1192,8 +1199,8 @@ bpkg -v fetch -d --trust { # bpkg.create (bpkg.target.create : b.create, bpkg.create) # - bpkg -V create -d \\ - + bpkg -V create -d \\ + # [bpkg.create] # @@ -1241,20 +1248,25 @@ bpkg -v fetch -d --trust # bpkg.configure.build. # bpkg -v build --configure-only \\ -[] \\ + \\ +[] \\ \\ { --config-uuid \\ - [] }+ \\ + \\ + [] }+ \\ / \\ \\ { --config-uuid \\ - [] }+ \\ + \\ + [] }+ \\ / \\ \\ -{ --config-uuid }+ \\ +{ --config-uuid \\ + }+ \\ { [ test-version-constraint>]... } \\ \\ -{ --config-uuid }+ \\ +{ --config-uuid \\ + }+ \\ { [ test-version-constraint>]... } \\ \\ ({ --config-uuid [--config-uuid ] \\ @@ -1312,7 +1324,8 @@ bpkg -v update -d { # b.test-installed.create ( : b.create) # - b -V create + b -V create \\ + # For each test subproject: # @@ -1335,8 +1348,8 @@ bpkg -v update -d # bpkg.test-separate-installed.create_for_host : # bpkg.test-separate-installed.create) # - bpkg -V create --type host -d \\ - + bpkg -V create --type host -d \\ + # If task manifest refers to any runtime tests, examples, or # benchmarks packages: @@ -1361,8 +1374,8 @@ bpkg -v update -d # bpkg.test-separate-installed.create_for_host : # bpkg.test-separate-installed.create) # - bpkg -V create -d \\ - + bpkg -V create -d \\ + # [bpkg.test-separate-installed.create] # @@ -1394,7 +1407,8 @@ bpkg -v update -d # Note that any of the runtime or build-time tests related parts # (but not both) may be omitted. # - bpkg -v build --configure-only \\ + bpkg -v build --configure-only \\ + \\ \\ { --config-name }+ \\ { [ ]... } \\ @@ -1437,7 +1451,7 @@ Worker script for \c{module} packages: # bpkg.create (bpkg.module.create) # b -V create(, ) config.config.load=~build2 \\ - + bpkg -v create --existing --type build2 -d } # @@ -1464,7 +1478,8 @@ bpkg -v fetch -d --trust # bpkg.create (bpkg.module.create) # b -V create(, ) \\ - config.config.load=~build2 + config.config.load=~build2 \\ + bpkg -v create --existing --type build2 -d # bpkg.configure.add @@ -1482,8 +1497,8 @@ bpkg -v fetch -d --trust { # bpkg.create (bpkg.target.create : b.create, bpkg.create) # - bpkg -V create -d \\ - + bpkg -V create -d \\ + # [bpkg.create] # @@ -1522,17 +1537,21 @@ bpkg -v fetch -d --trust # bpkg.configure.build. # bpkg -v build --configure-only \\ -[] \\ + \\ +[] \\ \\ { --config-uuid \\ - [] }+ \\ + \\ + [] }+ \\ / \\ \\ { --config-uuid \\ - [] }+ \\ + \\ + [] }+ \\ / \\ \\ -{ --config-uuid }+ \\ +{ --config-uuid \\ + }+ \\ { [ test-version-constraint>]... } \\ \\ ({ --config-uuid [--config-uuid ] \\ @@ -1584,15 +1603,15 @@ bpkg -v update -d # bpkg.test-separate-installed.create_for_module : # bpkg.test-separate-installed.create) # - bpkg -V create -d \\ - + bpkg -V create -d \\ + # bpkg.test-separate-installed.create ( # bpkg.test-separate-installed.create_for_module : # bpkg.test-separate-installed.create) # - bpkg -V create --type host -d \\ - + bpkg -V create --type host -d \\ + # [bpkg.test-separate-installed.link] # @@ -1615,7 +1634,8 @@ bpkg -v update -d # (bpkg.test-separate-installed.configure.build_for_module : # bpkg.test-separate-installed.configure.build)) # - bpkg -v build --configure-only \\ + bpkg -v build --configure-only \\ + \\ \\ { --config-name }+ \\ [ ]... \\ @@ -1704,7 +1724,8 @@ to the \c{buildtab} configuration file. Blank lines and lines that start with \ [/] []* []* - = [:](|