Part of lp.archivepublisher
Function | find_run_parts_dir | Find the requested run-parts directory, if it exists. |
Function | execute_subprocess | Run args , handling logging and failures. |
Function | run_parts | Execute run-parts. |
args
, handling logging and failures.Parameters | args | Program argument array. |
log | An optional logger. | |
failure | Raise failure as an exception if the command returns a
nonzero value. If omitted, nonzero return values are ignored. | |
kwargs | Other keyword arguments passed on to subprocess.call . |
Parameters | distribution_name | The name of the distribution to execute run-parts scripts for. |
parts | The run-parts directory to execute: "publish-distro.d" or "finalize.d". | |
log | An optional logger. | |
env | A dict of additional environment variables to pass to the scripts in the run-parts directory, or None. |