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

daemon: Move some "deployment variant" generation to Rust #2609

Merged
merged 1 commit into from
Feb 23, 2021

Conversation

cgwalters
Copy link
Member

More prep for #2388

This was actually also my first time really trying out the
latest gtk-rs glib::Variant API, which is one of the major
things we need to use to progress oxidation more.

More prep for coreos#2388

This was actually also my first time really trying out the
latest gtk-rs `glib::Variant` API, which is one of the major
things we need to use to progress oxidation more.
Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

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

/lgtm

.get_booted_deployment()
.map(|b| b.equal(deployment))
.unwrap_or_default();
dict.insert("booted", &booted);
Copy link
Member

Choose a reason for hiding this comment

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

This slightly changes the behaviour to always inserting the booted key instead of only if we're booted inside an OSTree. I vaguely remember having a reason to do that in #350, but I can't recall. So... I guess if nothing breaks, let's do it! :)

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, jlebon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit d8230bf into coreos:master Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants