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

compose: Add a "warn and sleep" if --unified-core is not provided #2098

Conversation

cgwalters
Copy link
Member

@cgwalters cgwalters commented May 17, 2020

Tracker: #729


Start adding some pain if --unified-core isn't provided
to help flush out anyone relying on it. (And I think today
pungi is not passing it, so e.g. Fedora IoT/Silverblue are impacted)

Prep for merging #1793

Copy link
Member

@ashcrow ashcrow left a comment

Choose a reason for hiding this comment

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

LGTM. Is it fair to believe eventually --unified-core will go away as a switch and become the default behaviour?

else
{
/* Secret environment variable for those desparate */
if (!g_getenv ("RPM_OSTREE_I_KNOW_NON_UNIFIED_CORE_IS_DEPRECATED"))
Copy link
Member

Choose a reason for hiding this comment

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

🤣 Love the variable ❤️

@ashcrow
Copy link
Member

ashcrow commented May 18, 2020

If not already done, it may be worth adding it to the docs as well. Specifically that the switch is required. In terms of functionality this looks good 😄.

@cgwalters cgwalters force-pushed the warn-deprecated-non-unified-core branch from a4a8fa9 to 56f63af Compare May 18, 2020 18:30
Copy link
Member

@ashcrow ashcrow left a comment

Choose a reason for hiding this comment

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

Perfect!

@ashcrow
Copy link
Member

ashcrow commented May 18, 2020

/lgtm

@cgwalters cgwalters force-pushed the warn-deprecated-non-unified-core branch from 56f63af to a6b43d1 Compare May 18, 2020 18:36
docs/manual/compose-server.md Outdated Show resolved Hide resolved
src/app/rpmostree-compose-builtin-tree.c Outdated Show resolved Hide resolved
docs/manual/compose-server.md Show resolved Hide resolved
Start adding some pain if `--unified-core` isn't provided
to help flush out anyone relying on it.  (And I think today
pungi is not passing it, so e.g. Fedora IoT/Silverblue are impacted)

Prep for merging coreos#1793

Co-authored-by: Jonathan Lebon <[email protected]>
@cgwalters cgwalters force-pushed the warn-deprecated-non-unified-core branch from 5e324e5 to e120ee7 Compare May 19, 2020 21:51
@ashcrow
Copy link
Member

ashcrow commented May 20, 2020

/lgtm

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

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

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 70462a9 into coreos:master May 20, 2020
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.

5 participants