-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Brief Emitter mode still appears to be verbose when plugins are called ? #243
Comments
If I'm understanding correctly, the following would be a minimal reproducer:
However, when I try this for myself it works as intended (replacing each line after it gets printed). Does that reproducer reproduce the issue for you, and if so what terminal app are you using? |
What I see is that the progress message is temporarily replaced by the output from your running processes (I do not want this in brief mode). What I expected was that only the top level progress message is shown, with all output on the stream suppressed. Is my expectation invalid ? |
I've moved this over to craft-cli since from conversation I think this is about expectations in this library rather than craft-parts. I'm not sure what the correct behaviour here is, though comparing to the behaviour with |
@lengau The reason I created it in Perhaps we could quickly have a meeting which includes @tigarmo to confirm if my interpretation is correct, just to save you time here? |
What needs to get done
I am not 100% sure if my observation is correct, but hopefully an expert could help me out ?
I am starting the Emitter with
streaming_brief=False
In fact the CLI startup code in some secret craft project looks like this:
and then inside my lifecycle code (not using craft-application, but doing the same thing)
However when I look at the plugin handler code, it looks like we are passing the stdout / stderr to the script so that whatever is processed by the script, will result in each shell line being echoed, and as a result, I see lots of lines:
See:
craft-parts/craft_part/_create_and_run_script
_create_and_run_script(..)
I see the same detailed output from the autotools plugin.
Why it needs to get done
Am I missing a trick to suppress the detailed output while running a progress runner in BRIEF emitter mode ?
The text was updated successfully, but these errors were encountered: