Skip to content

Make NettyDockerCmdExecFactory has compatibility both Linux and OSX automatically #862

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
merged 1 commit into from
Jul 5, 2017

Conversation

xuchenCN
Copy link
Contributor

@xuchenCN xuchenCN commented Jun 14, 2017

This PR make compatibility both Linux and OSX and automatically setting the EventLoopGroup (EpollEventLoopGroup or KQueueEventLoopGroup) .

Due to netty/netty#6837 this PR only work on OSX 10.12

Inspired by @marcuslinke 's branch netty-native-kqueue and we discussion #859 .


This change is Reviewable

@codecov-io
Copy link

codecov-io commented Jun 14, 2017

Codecov Report

Merging #862 into master will decrease coverage by 0.12%.
The diff coverage is 35.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #862      +/-   ##
==========================================
- Coverage    71.9%   71.77%   -0.13%     
==========================================
  Files         306      306              
  Lines        6858     6869      +11     
  Branches      509      511       +2     
==========================================
- Hits         4931     4930       -1     
- Misses       1634     1644      +10     
- Partials      293      295       +2
Impacted Files Coverage Δ
...ub/dockerjava/netty/NettyDockerCmdExecFactory.java 74.12% <35.71%> (-6.18%) ⬇️
...va/org/apache/http/impl/io/ChunkedInputStream.java 60.37% <0%> (-0.95%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fbd1ce1...7e1532f. Read the comment docs.

pom.xml Outdated
<artifactId>netty-transport-native-kqueue</artifactId>
<version>${netty.version}</version>
<classifier>osx-x86_64</classifier>
<exclusions>
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this exclusion?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, I will remove this exclusion later

@marcuslinke
Copy link
Contributor

For discussion: As netty/netty#6837 wont be fixed by the netty team this PR will work with MacOS Sierra+ only. Not sure if this is a blocker as the JAXRS implementation doesn't have this limitation.

@xuchenCN xuchenCN changed the title Make compatibility both Linux and OSX automatically Make NettyDockerCmdExecFactory has compatibility both Linux and OSX automatically Jun 14, 2017
@KostyaSha
Copy link
Member

@xuchenCN please squash commits

@xuchenCN xuchenCN force-pushed the OS-Compatibility branch from 821b8c9 to 7e1532f Compare July 5, 2017 05:19
@xuchenCN
Copy link
Contributor Author

xuchenCN commented Jul 5, 2017

Hi @KostyaSha sorry for late, already squashed commits. Thx

@KostyaSha KostyaSha added this to the 3.0.12 milestone Jul 5, 2017
@KostyaSha KostyaSha merged commit 2f84dfe into docker-java:master Jul 5, 2017
panuse pushed a commit to TuKangTech/docker-java that referenced this pull request Aug 20, 2017
Make NettyDockerCmdExecFactory has compatibility both Linux and OSX automatically
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.

4 participants