-
Notifications
You must be signed in to change notification settings - Fork 918
Backporting profiler related changes into Apache NetBeans. #2949
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
Backporting profiler related changes into Apache NetBeans. #2949
Conversation
Diff generated with: git diff affe1eb1308554d4df8fcdd6308e9fa4e3f3787a...e88fe0edbb lib.profiler
…4e3f3787a...e88fe0edbb
|
-1 for now - this surely raises some licensing issues?! cc. @matthiasblaesing @geertjanw |
|
The big question is: Who is the author of the code and in who owns copyright/can relicense the code. Options I can speculate about:
In any case I like the intention to get this all merged again so in general a +1 for the intention and a -1 for the unclear license question. |
|
No, the code wasn't written by me. I tried to admit that by making myself a committer, but not author of a07981a. Deeper investigation of all the commits shows: visualvm$ git log affe1eb1308554...e88fe0edbb | grep ^Author: | sort -u
Author: Brandon Fish <brandon.j.fish@oracle.com>
Author: Jiri Sedlacek <jiri.sedlacek@oracle.com>
Author: Tomas Hurka <tomas.hurka@gmail.com>
visualvm$ git log affe1eb1308554...e88fe0edbb | grep ^Author.*Hurka | wc -l
552
visualvm$ git log affe1eb1308554...e88fe0edbb | grep ^Author.*Sedlacek | wc -l
446
visualvm$ git log affe1eb1308554...e88fe0edbb | grep ^Author.*Fish | wc -l
1E.g except oracle/visualvm@9efce02 all the code is written by either @thurka or @jisedlac. Now, let's try to select just the commits related to git log affe1eb1308554...e88fe0edbb | grep commit | cut -d " " -f2 | while read X; do
D=`git show $X | filterdiff -i '*/visualvm/libs.profiler/lib.profiler/**'`
if [ "x$D" == "x" ]; then
# echo None $D
IGNORE=$D
else
git show $X | grep ^Author:
fi
doneRunning |
|
Thank you for the analysis. So could the two main authors get an ICLA on file? I looked through the ICLA signee list and did not find either. |
|
@matthiasblaesing well, we don't strictly need an ICLA for contributions even if useful - only committers require one. But either way, we surely need the clear intention of the authors (and/or employer if necessary) to re-license and contribute these particular changes here? |
|
@neilcsmith-net ah yes - you are right. To have some permanent record, a tracking issue in JIRA would then be helpful. |
|
Yes, having consents from both authors is a pre-requisitte to integrate. I haven't obtained the permission so far. Closing. Whether there is a way to avoid doing the same work twice remains to be seen. |
VisualVM project decided to pursue its own development of
profiler.libandprofiler.oqlsince affe1eb1308554. Understandable given the complicated situation NetBeans project was in at that time. However since then the Apache NetBeans project has proven its maturity, ability to deliver and produce regular quarterly releases, as well as upload all the NetBeans libraries to Maven central. Maven central is the default way of distributing and consuming the libraries and I am reusingprofiler.libin Insight project. While doing so, I noticed slight differences in behavior and in order to mimize them I am proposing applying them to Apache NetBeansprofiler.libandprofiler.oqllibraries.First of all I took the changes from
$ git diff affe1eb1308554...e88fe0edbb
and filtered them out to contain only the changes in above two libraries:
then I applied the changes as a07981a and resolved remaining clashes manually. Now I am creating a pull request to let the integration tests run and notify me of remaining issues that need to be polished.