-
-
Notifications
You must be signed in to change notification settings - Fork 176
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
Support Debian #44
Comments
@normanmaurer @trustin @Scottmitch any thoughts on this? |
@nmittler - I would like to see Debian supported. I wonder if we could make an "intermediate" dependency which pulls in the correct one depending on linux distro (and maybe for mac, windows, etc..).
Does this sound feasible? |
@nmittler I would love to see Debian support as well but I was just too busy to think about it.. gimme some more time. |
@Scottmitch yeah that might work. So maybe have an intermediate dependency called It would also be nice to have the os-maven-plugin updated to provide more information. |
@nmittler - Maybe but what I was originally thinking was having 3 layers:
If you wanted you could include a 4th layer which knows more details about its respective platform (layer 3 would be layer 4...and the new layer 3 would include 1 pom for windows, 1 for linux, 1 for mac, etc...) |
@Scottmitch So what we have now is layers 1 & 3. I think we can avoid layer 2 if we modify the |
@normanmaurer any thoughts? |
We could add However, I think we could solve this problem more nicely. Please see the issues filed by @cconroy - #33 and netty/netty#3502 We could revise our release (and deployment) process so that our CI server takes care of producing the JAR with the native libraries of all platforms, then the problem gets much simpler. |
@trustin regarding #33 and netty/netty#3502, wouldn't we still need a separate build for debian/rhel due to the difference of soname for libssl.so and libcrypto.so? |
@nmittler yes we would. That said I would like to also release a version build against libressl ans maybe also boringssl. So let me pick this up next week and get all of it done. |
@normanmaurer that would be awesome! Let me know if there's anything I can help out with. |
@trustin Protobuf team and gRPC team are using os.detected.classifier in the pre-compiled protoc and codegen artifacts published on Maven Central. This would break us as we are not going to publish artifacts per family. |
If we make the inclusion of @normanmaurer thoughts? |
I would not change what IMO the biggest value of os-maven-plugin is producing unified identifiers for OS, arch, etc. Providing a unified classifier is not universally useful because different projects may want to include different fields in the classifier. It would be more reasonable for different projects to compose their own classifiers from the individual fields provided by os-maven-plugin. Maybe we should eventually remove os.detected.classifier. |
On Thu, Jul 9, 2015, at 04:15 AM, Kun Zhang wrote:
Agreed. +1 for not changing os.detected.classifier. Not sure about Let me try to release os-maven-plugin with my spare cycle. |
@trustin +1, I see no need in deprecating @normanmaurer is this still on your radar? |
@nmittler yeah kind of... just too busy and not really very high on my to do list atm :( |
@normanmaurer anything I could do to help out? Maybe I could take a crack at the changes to the os-maven-plugin to get the ball rolling? |
FYI, I just created trustin/os-maven-plugin#10 to add detection of OS variants to the |
@normanmaurer gentle ping. Now that the |
@nmittler will do tomorrow. Sorry for the slowness 👎 |
@normanmaurer sgtm! No worries, I know you're busy! :) |
@normanmaurer Just to clarify, you'll also release a "_debian" artifact built on wheezy? |
@nmittler that's the plan |
👍 |
@normanmaurer I think we can close this now? |
It brings a tear to my eye!!! Closing!!! :) Thanks @normanmaurer @Scottmitch @trustin!!! |
Boom!
|
LOL ... what he said! |
@nmittler High-five! ✋ |
For gRPC, we're interested in encouraging users to use tcnative instead of jetty-apln. This would work pretty well, except that lots of our users would be Debian/Ubuntu users. Having a pre-built binary for Debian is a prerequisite for us encouraging our users to use tcnative.
We would have little problem making our own builds of tcnative, but it seems that solving the "Debian vs Red Hat" problem would help tcnative in general.
The main problem I see is what to specify as the classifier for any Debian binary. The OS detector doesn't vary based on RHEL/Debian. We could just add "-debian" to the end and force users to hard-code when they are running on Debian. Not great, but better than nothing.
If combined with #24, we could solve it more cleanly as both variants of the Linux .so could be included in the JAR.
The text was updated successfully, but these errors were encountered: