-
Notifications
You must be signed in to change notification settings - Fork 65
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 a human readable output for bootc status #408
Comments
Yes totally! To give more color to this the current bootc design is very much influenced by the "imperative + DBus API" of rpm-ostree being tough to deal with for systems like the https://github.com/openshift/machine-config-operator/ that want to actually manage the system declaratively in a Kube-like style. IOW we want to support agents scripting, in the general case. However we should totally have nice ergonomics for standalone agentless systems, and this is very much part of that. Labeling as good-first-issue. |
This is the current output for
What information is most important to keep when making the human readable option? |
IMO, I would start with a similar output to what we have in
From |
We've been working through this issue in our weekly mobbing sessions and came across @cgwalters recent comment: #602 (comment). Originally, we were thinking of creating and printing a smaller A rough example: if (opt.pretty) {
println!("image name: {:?}", host.status.booted.image)
println!("version: {:?}", host.status.booted.version)
}
|
Yes, though I think we should consider how to render important things like "you have a new image staged", etc. |
Coming from rpm-ostree, I can quickly see & more importantly grok the output from
rpm-ostree status
.bootc status
has all the good stuff, but it takes much longer to wade through the output, and scroll up in the terminal, etc. Adding an option to boil it down like--pretty
or--human
, as Colin suggested, would really help speed me up and add better clarity for users. I can definitely see a kube admin preferring the existing output, so let's not lose that.The text was updated successfully, but these errors were encountered: