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

RFE: bootc upgrade --check json output #247

Closed
beav opened this issue Jan 2, 2024 · 1 comment
Closed

RFE: bootc upgrade --check json output #247

beav opened this issue Jan 2, 2024 · 1 comment

Comments

@beav
Copy link

beav commented Jan 2, 2024

Thanks for the quick response for #245. Can the upgrade check optionally send its output as json? This makes parsing a lot easier.

Something like this would work:

{ "change_available": "True",
  "registry_path": "ostree-unverified-registry:10.0.0.1:5000/bootc-insights:latest",
  "staged_version": "abc1234",
  "available_version": "def5678" }

However, if you have other ideas for the fields, those work too.

IMO it makes sense to keep this out of the status json since it makes a network call, which may be unexpected behavior for status.

@cgwalters
Copy link
Collaborator

PR in #248

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

No branches or pull requests

2 participants