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

[merged] RPMOSTreeSysroot: add "booted" entry to deployment variant #350

Closed
wants to merge 2 commits into from

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Jun 24, 2016

Now that the status command learned a --json option, we can pretty
much avoid parsing human-readable output. The only piece of information
that is missing from the JSON output compared to the output for humans
is which deployment we're currently booted in.

This patch fixes that shortcoming by adding a "booted" boolean variant
to the deployment variant.

Now that the `status` command learned a `--json` option, we can pretty
much avoid parsing human-readable output. The only piece of information
that is missing from the JSON output compared to the output for humans
is *which* deployment we're currently booted in.

This patch fixes that shortcoming by adding a "booted" boolean variant
to the deployment variant.
{
booted_variant = rpmostreed_deployment_generate_variant (booted, booted_id, ot_repo, error);
if (!booted_variant)
return FALSE;
Copy link
Member

Choose a reason for hiding this comment

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

Indentation looks weird, stray 👉 tab ?

@cgwalters
Copy link
Member

Utterly minor nits, otherwise 👍

@jlebon
Copy link
Member Author

jlebon commented Jun 25, 2016

⬆️ 🔧

@cgwalters
Copy link
Member

@rh-atomic-bot r+ 8682d80

@rh-atomic-bot
Copy link

⌛ Testing commit 8682d80 with merge 225be81...

@rh-atomic-bot
Copy link

☀️ Test successful - status-atomicjenkins
Approved by: cgwalters
Pushing 225be81 to master...

@rh-atomic-bot rh-atomic-bot changed the title RPMOSTreeSysroot: add "booted" entry to deployment variant [merged] RPMOSTreeSysroot: add "booted" entry to deployment variant Jun 25, 2016
@jlebon jlebon deleted the pr/add-booted branch July 4, 2016 20:29
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