Skip to content

status: Prep work for https://github.com/bootc-dev/bootc/pull/1285 #1291

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

Merged
merged 2 commits into from
Apr 29, 2025

Conversation

cgwalters
Copy link
Collaborator

See #1285

For increased clarity, prep for further changes.

Signed-off-by: Colin Walters <walters@verbum.org>
Prep for displaying more information, like pinned state.

Signed-off-by: Colin Walters <walters@verbum.org>
Copy link
Contributor

@p5 p5 Apr 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've quickly changed a local version of #1285 to use the changes in this PR, and it now looks much cleaner.

Although this still doesn't allow us to access data stored within the HostStatus objects, which would be needed for displaying the /usr overlay status (#1258).
Unless you're thinking that can also be moved to be stored under BootEntry? Or am I completely overthinking the implementation again (a common occurrence with my recent PRs here)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although this still doesn't allow us to access data stored within the HostStatus objects, which would be needed for displaying the /usr overlay status (#1258).
Unless you're thinking that can also be moved to be stored under BootEntry? Or am I completely overthinking the implementation again (a common occurrence with my recent PRs here)?

As is today, a usroverlay state is transient by default. It'd only be hotfix ones that we need to maintain persistently, but I've been trying to really discourage use of the hotfix path.

But anyways yes, we could pass down the metadata ultimately from ostree_deployment_get_unlocked() here.

Copy link
Contributor

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@cgwalters cgwalters merged commit b1fb35c into bootc-dev:main Apr 29, 2025
23 checks passed
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 this pull request may close these issues.

3 participants