From 9abe5e449cc3dab0715ebc86de2a86e6cb8ecc63 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 6 Apr 2023 22:54:43 +0300 Subject: Add support for bbot.sys-install step in worker --- doc/manual.cli | 270 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 259 insertions(+), 11 deletions(-) (limited to 'doc') diff --git a/doc/manual.cli b/doc/manual.cli index 5c76c32..2f6d660 100644 --- a/doc/manual.cli +++ b/doc/manual.cli @@ -1067,6 +1067,14 @@ bpkg -v update # bpkg.install # bpkg -v install + + # If bbot.install.ldconfig step is enabled: + # + { + # bbot.install.ldconfig + # + sudo ldconfig + } } # If bpkg.bindist.{debian,fedora,archive} step is enabled: @@ -1079,6 +1087,51 @@ bpkg -v update } +# If bbot.sys-install step is enabled: +# +{ + # If is 'debian': + # + { + # bbot.sys-install.apt-get.update + # + sudo apt-get update + + # bbot.sys-install.apt-get.install + # + sudo apt-get install ... + } + # + # Otherwise, if is 'fedora': + # + { + # bbot.sys-install.dnf.install + # + sudo dnf install ... + } + # + # Otherwise, if is 'archive': + # + { + # For each package file: + # + { + # bbot.sys-install.tar.extract + # + [sudo] tar -xf \\ + + } + + # If bbot.sys-install.ldconfig step is enabled: + # + { + # bbot.sys-install.ldconfig + # + sudo ldconfig + } + } +} + # If the main package is installed either from source or from the # binary distribution package: # @@ -1152,6 +1205,32 @@ bpkg -v update } } +# If the main package is installed from the binary distribution package: +# +{ + # If is 'debian': + # + { + # bbot.sys-uninstall.apt-get.remove + # + sudo apt-get remove ... + } + # + # Otherwise, if is 'fedora': + # + { + # bbot.sys-uninstall.dnf.remove + # + sudo dnf remove ... + } + # + # Otherwise, if is 'archive': + # + { + # Noop. + } +} + # If the main package is installed from source: # { @@ -1342,6 +1421,14 @@ bpkg -v update -d # bpkg.install # bpkg -v install -d + + # If bbot.install.ldconfig step is enabled: + # + { + # bbot.install.ldconfig + # + sudo ldconfig + } } # If configuration is self-hosted and @@ -1355,6 +1442,51 @@ bpkg -v update -d } +# If bbot.sys-install step is enabled: +# +{ + # If is 'debian': + # + { + # bbot.sys-install.apt-get.update + # + sudo apt-get update + + # bbot.sys-install.apt-get.install + # + sudo apt-get install ... + } + # + # Otherwise, if is 'fedora': + # + { + # bbot.sys-install.dnf.install + # + sudo dnf install ... + } + # + # Otherwise, if is 'archive': + # + { + # For each package file: + # + { + # bbot.sys-install.tar.extract + # + [sudo] tar -xf \\ + + } + + # If bbot.sys-install.ldconfig step is enabled: + # + { + # bbot.sys-install.ldconfig + # + sudo ldconfig + } + } +} + # If the main package is installed either from source or from the # binary distribution package: # @@ -1476,6 +1608,32 @@ bpkg -v update -d } } +# If the main package is installed from the binary distribution package: +# +{ + # If is 'debian': + # + { + # bbot.sys-uninstall.apt-get.remove + # + sudo apt-get remove ... + } + # + # Otherwise, if is 'fedora': + # + { + # bbot.sys-uninstall.dnf.remove + # + sudo dnf remove ... + } + # + # Otherwise, if is 'archive': + # + { + # Noop. + } +} + # If the main package is installed from source: # { @@ -1639,6 +1797,14 @@ bpkg -v update -d # bpkg.install # bpkg -v install -d + + # If bbot.install.ldconfig step is enabled: + # + { + # bbot.install.ldconfig + # + sudo ldconfig + } } # If configuration is self-hosted and @@ -1652,6 +1818,51 @@ bpkg -v update -d } +# If bbot.sys-install step is enabled: +# +{ + # If is 'debian': + # + { + # bbot.sys-install.apt-get.update + # + sudo apt-get update + + # bbot.sys-install.apt-get.install + # + sudo apt-get install ... + } + # + # Otherwise, if is 'fedora': + # + { + # bbot.sys-install.dnf.install + # + sudo dnf install ... + } + # + # Otherwise, if is 'archive': + # + { + # For each package file: + # + { + # bbot.sys-install.tar.extract + # + [sudo] tar -xf \\ + + } + + # If bbot.sys-install.ldconfig step is enabled: + # + { + # bbot.sys-install.ldconfig + # + sudo ldconfig + } + } +} + # If the main package is installed either from source or from the # binary distribution package: # @@ -1725,6 +1936,32 @@ bpkg -v update -d } } +# If the main package is installed from the binary distribution package: +# +{ + # If is 'debian': + # + { + # bbot.sys-uninstall.apt-get.remove + # + sudo apt-get remove ... + } + # + # Otherwise, if is 'fedora': + # + { + # bbot.sys-uninstall.dnf.remove + # + sudo dnf remove ... + } + # + # Otherwise, if is 'archive': + # + { + # Noop. + } +} + # If the main package is installed from source: # { @@ -1798,7 +2035,7 @@ to the \c{buildtab} configuration file. Blank lines and lines that start with = [[+|-]:](|