debian-forge/osbuild
Christian Kellner 3e18d8118c api: introduce pipeline monitoring
Introduce the concept of pipeline monitoring: A new monitor class is
passed to the pipeline.run() function. The main idea is to separate
the monitoring from the code that builds pipeline. Through the build
process various methods will be called on that object, representing
the different steps and their targets during the build process. This
can be used to fully stream the output of the various stages or just
indicate the start and finish of the individual stages.

This replaces the 'interactive' argument throughout the pipeline
code. The old interactive behavior is replicated via the new
`LogMonitor` class that logs the beginning of stages/assembler,
but also streams all the output of them to stdout.
The non-interactive behavior of not reporting anything is done by
using the `NullMonitor` class, which in turn outputs nothing.
2020-07-21 13:25:04 +02:00
..
util util/selinux: add gefilecon helper 2020-06-15 20:36:48 +02:00
__init__.py osbuild: extract CLI to prepare for additional entrypoints 2020-04-28 15:39:54 +02:00
__main__.py osbuild: use osbuild_cli directly as main entry 2020-07-17 16:30:46 +01:00
api.py api: introduce pipeline monitoring 2020-07-21 13:25:04 +02:00
buildroot.py buildroot: grant CAP_MAC_ADMIN for labeling 2020-06-10 01:35:05 +02:00
loop.py loop: fix FD leak in mknod() 2020-04-21 13:02:29 +02:00
main_cli.py api: introduce pipeline monitoring 2020-07-21 13:25:04 +02:00
meta.py meta: also validate the schema for sources 2020-06-02 09:50:14 +02:00
monitor.py api: introduce pipeline monitoring 2020-07-21 13:25:04 +02:00
objectstore.py pylint: increase max attributes to 10 2020-07-21 13:25:04 +02:00
pipeline.py api: introduce pipeline monitoring 2020-07-21 13:25:04 +02:00
remoteloop.py remoteloop: properly close the event loop 2020-07-21 13:25:04 +02:00
sources.py pylint: increase max attributes to 10 2020-07-21 13:25:04 +02:00
treesum.py treesum: don't use dir_fd parameter in os.scandir() 2019-11-29 00:45:14 +01:00