Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Conversation

@sboeuf
Copy link

@sboeuf sboeuf commented Oct 24, 2018

Some structures such as Interface and Route are not only used by the
kata-agent since they are generic enough to be reused by kata-runtime
or kata-netmon.

By splitting those structures into their separate package, we prevent
their consumers from importing the whole protocols/grpc package which
pulls a lot of unneeded content.

Depends-on: github.com/kata-containers/runtime#858

Fixes #399

Signed-off-by: Sebastien Boeuf sebastien.boeuf@intel.com

@sboeuf
Copy link
Author

sboeuf commented Oct 24, 2018

/test

@jodh-intel
Copy link

A la #402, Travis doesn't like this change either :(

@sboeuf
Copy link
Author

sboeuf commented Oct 24, 2018

Depends on kata-containers/tests#852

@sboeuf sboeuf force-pushed the split_pkg branch 3 times, most recently from b3f6bdb to b6380f8 Compare October 24, 2018 21:02
@codecov
Copy link

codecov bot commented Oct 24, 2018

Codecov Report

Merging #400 into master will not change coverage.
The diff coverage is 61.53%.

@@           Coverage Diff           @@
##           master     #400   +/-   ##
=======================================
  Coverage   47.96%   47.96%           
=======================================
  Files          17       17           
  Lines        2648     2648           
=======================================
  Hits         1270     1270           
  Misses       1216     1216           
  Partials      162      162

@sboeuf
Copy link
Author

sboeuf commented Oct 24, 2018

/test

Some structures such as Interface and Route are not only used by the
kata-agent since they are generic enough to be reused by kata-runtime
or kata-netmon.

By splitting those structures into their separate package, we prevent
their consumers from importing the whole protocols/grpc package which
pulls a lot of unneeded content.

Depends-on: github.com/kata-containers/runtime#858

Fixes kata-containers#399

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
@sboeuf
Copy link
Author

sboeuf commented Oct 25, 2018

/test

@sboeuf
Copy link
Author

sboeuf commented Oct 25, 2018

@amshinde @devimc @caoruidong @jodh-intel
This PR is ready to be merged, it relies on the runtime PR kata-containers/runtime#858 to make the CI passing.

@jodh-intel
Copy link

jodh-intel commented Oct 26, 2018

lgtm

Approved with PullApprove Approved with PullApprove

@caoruidong
Copy link
Member

This is really helpful. lgtm

Copy link

@devimc devimc left a comment

Choose a reason for hiding this comment

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

lgtm

@devimc devimc merged commit dd8f32c into kata-containers:master Oct 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants