Skip to content
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

bootc status feedback #900

Open
castrojo opened this issue Nov 17, 2024 · 3 comments · May be fixed by #901
Open

bootc status feedback #900

castrojo opened this issue Nov 17, 2024 · 3 comments · May be fixed by #901

Comments

@castrojo
Copy link
Contributor

Discussed at kubecon but they're so minor that it's better to put them in one issue. Current status

[sudo] password for jorge: 
No staged image present
Current booted image: ghcr.io/ublue-os/bluefin-dx:stable
    Image version: 41.20241112.1 (2024-11-12 21:11:21 UTC)
    Image digest: sha256:9b4558a05315a855dffd3999c0693725a80754fa41b83ba536968b3e0e3afd5d
Current rollback image: ghcr.io/ublue-os/bluefin-dx:latest
    Image version: 41.20241108.0 (2024-11-08 04:43:34.141 UTC)
    Image digest: sha256:88b5636c07f05dbdd604634dfbdb9af6d7357cde0dbf731697b53acf95058920

A line feed to visually separate the stanzas would make it easier to differentiate. Colin wanted more sane timestamps. The dot from rpm-status is missed as well since it's been a pretty useful feature in the wild as the eye gravitates toward it.

Also going to prototype a fancy version: ublue-os/bluefin#1936

cgwalters added a commit to cgwalters/bootc that referenced this issue Nov 17, 2024
- Add a circle like rpm-ostree
- Add a whitespace line between entries
- Drop not-present entries
- Rework timestamp+version combo; if there's no version, then
  show the column as `Timestamp`; if there's a version but no
  timestamp, just omit the timestamp
- Align columns

Closes: containers#900

Signed-off-by: Colin Walters <[email protected]>
@cgwalters cgwalters linked a pull request Nov 17, 2024 that will close this issue
@cgwalters
Copy link
Collaborator

PR in #901 - the unit tests shows what it looks like

@fiftydinar
Copy link

Looks very good now.

Technically, only this is missing compared to the rpm-ostree status output:

State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: last run 9h ago

I understand that bootc auto-update timer doesn't exist yet, so 2nd line is not there, but I find it useful to know the current state if bootc update is in the process or not.

@ver4a
Copy link

ver4a commented Nov 18, 2024

I understand that bootc auto-update timer doesn't exist yet, so 2nd line is not there, but I find it useful to know the current state if bootc update is in the process or not.

bootc 1.1.2 blocks with Waiting for sysroot lock... if upgrade is in progress

cgwalters added a commit to cgwalters/bootc that referenced this issue Nov 18, 2024
- Add a circle like rpm-ostree
- Add a whitespace line between entries
- Drop not-present entries
- Rework timestamp+version combo; if there's no version, then
  show the column as `Timestamp`; if there's a version but no
  timestamp, just omit the timestamp
- Align columns

Closes: containers#900

Signed-off-by: Colin Walters <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants