forked from osbuild/osbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Current osbuild will always print some non output even when run with `--monitor=JSONSeqMonitor` because of the unconditional `print/sys.stdout.write()` in `main_cli.py`. This commit adds a new `-q` option to silence this so that something like osbuild-composer can run `osbuild -q --monitor=JSONSeqMonitor` to get pure json-seq output during the build. The use-case is to run `osbuild --monitor-fd` from e.g. bib and osbuild-composer so that we get pure json from the monitor-fd and anything that goes on std{out,err} can be logged as it is most likely error output.
- Loading branch information
Showing
2 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters