-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add --quiet and --no-info flags to podman machine start #16186
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ashley-cui The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Probably need someone to test this on Windows. |
Do we really need to flags for that? Also there is already a podman --noout flag |
Wait, I don't object to adding |
@mheon Sure, I'll open an issue for fixing --noout for podman machine |
Does that mean we no longer need this PR? |
I'd argue the initial request (which is the --no-info flag in this pr) does something different than |
Wouldn't piping to grep also do that? |
I don't think so, since we don't label info lines, they're just printed? So there's no pattern to match necessarily? |
Can you remove the --quiet option since this seems to duplicate --noout and then make --noout work. |
friendly ping |
LGTM |
Apologies, I should have checked that before the ping. What's the reasoning for not using |
Changes LGTM, but like @vrothberg , I'd much prefer |
Add quiet and no-info flags to podman machine start. No-info suppresses helpful informational tips Quiet suppresses machine start progress output, as well as informational tips. Signed-off-by: Ashley Cui <[email protected]>
--quiet is back :) |
My understanding would be people want --quiet to also mean --no-info, IE Drop --no-info. |
I feel like --quiet means that it suppresses all status output, whereas no-info only surpasses troubleshooting tips. I feel like they serve different purposes. |
I think that's fair. |
What value does --no-output serve which would not be serve by IE Why complicate things. We should only output stuff that is important to the user, if the output is not important then it should be logrus.Info or Debug and not output at all. If user does not want output the --quiet should suffice and they can check the exit code. |
The troubleshooting tips are there because they ended up being common questions/configurations that pop up. I still feel like each flag have different purposes. Here are the differences: No flags output:
No info flag (this was the specfic behavior asked for in the issue)
Quiet:
--noout
I still feel like the suppressed information on each (troubleshooting vs start status) is unique enough to warrant two flags. |
I agree with @ashley-cui in this case. Exceptions confirm the rule :^) |
I would argue that:
Is info. |
I agree with both of you :-) Not sure that helps. How about you bring this up during Cabal? I won´t be able to join but you already know I like everything. |
Ready to go! :) |
/lgtm |
Add quiet and no-info flags to podman machine start.
No-info suppresses helpful informational tips
Quiet suppresses machine start progress output, as well as informational
tips.
Signed-off-by: Ashley Cui [email protected]
Closes: #15525
Does this PR introduce a user-facing change?