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

status: add diff for cached update #932

Open
cgwalters opened this issue Dec 3, 2024 · 1 comment
Open

status: add diff for cached update #932

cgwalters opened this issue Dec 3, 2024 · 1 comment
Labels
area/client Related to the client/CLI enhancement New feature or request

Comments

@cgwalters
Copy link
Collaborator

Moving this from #472 - we should add a serialization of the diff for cached updates to status.

We should also print it in the human readable version.

@cgwalters cgwalters added area/client Related to the client/CLI enhancement New feature or request labels Dec 3, 2024
@antheas
Copy link
Contributor

antheas commented Dec 10, 2024

Since I have now built the updater, here are some missing pieces

bootc status --json covers bootc update --check but only that. There is no bootc switch --check, so when performing rebases we are blind to the next version. Should there be a bootc switch that only changes the remote? Seems it would be convoluted.

If the next version cache has access to the image manifest, annotations should be included to allow for higher level tools to act on them without requiring pulling the image manifest out-of-band, which might also inflate pull counts.

The annotations could be used for showing important image information to the user, or, e.g., provide automatic rebasing in case of image deprecation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/client Related to the client/CLI enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants