Skip to content

Conversation

baude
Copy link
Member

@baude baude commented Jun 24, 2019

the compilation demands of having libpod in main is a burden for the
remote client compilations. to combat this, we should move the use of
libpod structs, vars, constants, and functions into the adapter code
where it will only be compiled by the local client.

this should result in cleaner code organization and smaller binaries. it
should also help if we ever need to compile the remote client on
non-Linux operating systems natively (not cross-compiled).

Signed-off-by: baude bbaude@redhat.com

@baude baude requested review from rhatdan and mheon June 24, 2019 20:52
@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: baude

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-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jun 24, 2019
@TomSweeneyRedHat
Copy link
Member

Changes LGTM, but you'll hate me for this, but I HATE, HATE, HATE the config package name. Too generic and you already have a couple of collisions. Perhaps 'podconfig' or 'podcfg' or even 'pconfig'? Just so it likely won't be tromped over by another package in the future.

@mheon
Copy link
Member

mheon commented Jun 25, 2019

I do sort of agree that the config name is terrible.

Maybe libpod/define? libpod/const?

@baude baude force-pushed the removelibpodfrommainphase1 branch from 67c800b to 6c63de6 Compare June 25, 2019 18:39
@baude
Copy link
Member Author

baude commented Jun 25, 2019

ok, updated and used 'define'

@mheon
Copy link
Member

mheon commented Jun 25, 2019

I'll say LGTM, but let's leave this until after 1.4.3 merges

the compilation demands of having libpod in main is a burden for the
remote client compilations.  to combat this, we should move the use of
libpod structs, vars, constants, and functions into the adapter code
where it will only be compiled by the local client.

this should result in cleaner code organization and smaller binaries. it
should also help if we ever need to compile the remote client on
non-Linux operating systems natively (not cross-compiled).

Signed-off-by: baude <bbaude@redhat.com>
@baude baude force-pushed the removelibpodfrommainphase1 branch from 6c63de6 to dd81a44 Compare June 25, 2019 18:51
@mheon
Copy link
Member

mheon commented Jun 25, 2019

/hold
/lgtm

@openshift-ci-robot openshift-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. labels Jun 25, 2019
@jwhonce
Copy link
Member

jwhonce commented Jun 25, 2019

LGTM

@TomSweeneyRedHat
Copy link
Member

LGTM, thanks for the rework @baude

@TomSweeneyRedHat
Copy link
Member

and I forgot, a painful but I think will prove to be a very nice change. Thanks for taking it on!

@baude
Copy link
Member Author

baude commented Jun 26, 2019

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 26, 2019
@openshift-merge-robot openshift-merge-robot merged commit c907893 into containers:master Jun 26, 2019
@baude baude deleted the removelibpodfrommainphase1 branch December 22, 2019 19:08
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants