You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@incubator.apache.org by "John D. Ament" <jo...@apache.org> on 2018/01/22 12:56:48 UTC

License headers on test data (was Re: [VOTE] Release Apache NetBeans 9.0 Beta (incubating) rc2)

>
>
> > - Specific call outs in the README about test data licensing not be
> Apache
> > license
> >
>
> This is one of the things that are very unclear to me. If we are talking
> about files like these [1][2][3][4][5][6] (they may appear to differ, but
> they actually are all the same: test data), then I believe these were part
> of the initial donation and I don't have a reason to believe these are not
> under the Apache license. Of course we could list them in the README, but
> if that's a requirement, I'd suggest to fix:
> https://www.apache.org/legal/src-headers.html#faq-exceptions
>
> to include that requirement to avoid further confusion.
>
>
I've seen you post this link several times now in this thread.  I
personally have no idea what you'd like to get updated on this page, and
the IPMC cannot help you get that updated, only the legal committee can.

I'm assuming that some of your concerns are around bullet #2 "Test data for
which the addition of a source header would cause the tests to fail."  The
problem looking at this statement vs the file actually in source:

https://github.com/apache/incubator-netbeans/blob/master/diff/test/unit/src/org/netbeans/modules/diff/builtin/provider/DiffTestFile1a.txt

It includes a license header "Sun Public License".  This line in the
document is saying to exclude the header, but you're including a SPL
header.  Ultimately, at this point you can't remove the header since it's
already been declared and was not included in the relicensing of Netbeans
to Apache License.

Or am I miss understanding your points around changing this document?


>
> > - Specific call outs somewhere that the XSDs, ENTs, etc are derived from
> > other locations
> >
>
> I've sent an e-mail to dev@netbeans asking those to be resolved.
>
> Thanks,
>    Jan
>
> [1]
>
> https://github.com/apache/incubator-netbeans/blob/master/java.hints/test/unit/data/org/netbeans/test/java/hints/AddCast1.java
> [2]
>
> https://github.com/apache/incubator-netbeans/blob/master/java.hints/test/unit/data/goldenfiles/org/netbeans/modules/java/hints/errors/ErrorHintsTest/testAddCastHint1-hints.pass
> [3]
>
> https://github.com/apache/incubator-netbeans/blob/master/java.hints/test/unit/data/goldenfiles/org/netbeans/modules/java/hints/errors/ErrorHintsTest/testAddCastHint1.pass
> [4]
>
> https://github.com/apache/incubator-netbeans/blob/master/java.completion/test/unit/data/goldenfiles/org/netbeans/modules/java/completion/JavaCompletionTaskTest/1.8/intVarName.pass
> [5]
>
> https://github.com/apache/incubator-netbeans/blob/master/java.completion/test/unit/data/goldenfiles/org/netbeans/modules/java/completion/JavaCompletionTaskTest/1.8/empty.pass
> [6]
>
> https://github.com/apache/incubator-netbeans/blob/master/java.completion/test/unit/data/goldenfiles/org/netbeans/modules/java/completion/JavaCompletionTaskTest/1.8/CreateConstructorNonDefaultConstructor.pass
>
>
> > >
> > > Gj
> > >
> > > On Monday, January 22, 2018, Justin Mclean <ju...@classsoftware.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > > I am not sure what the point is of spending time on putting rat
> > > > exclusions
> > > > > together if they’re simply going to be ignored when it comes to
> IPMC
> > > > > members evaluating a release.
> > > >
> > > > Rat exclusions are fine if they comply with policy and don’t hide
> > things.
> > > > I’ve reviewed and voted on 300+ releases on the IPMC list so perhaps
> I
> > > have
> > > > some advice to give that you should listen to. You can of course
> choose
> > > to
> > > > ignore it.
> > > >
> > > > > Yes, we can of course discuss those rat exclusions. No, they cannot
> > > > simply be ignored and we cannot be confronted
> > > > > with a very long list of issues in the IPMC vote thread primarily
> > based
> > > > on
> > > > > the fact that our rat exclusions have been ignored.
> > > >
> > > > Some of the issues I’ve brought up are minor and can be fixed in
> later
> > > > releases and some IMO are not and are not in line with ASF licensing
> or
> > > > release policy. I suggest you try are fix those.
> > > >
> > > > > I would like this to be affirmed by the IPMC and I would like our
> > > > mentors to advise on their perspective on this too.
> > > >
> > > > That would be a good way forward. As I said said previously your
> > mentors
> > > > can vote +1 on this release - my vote is not a veto. I would be
> totally
> > > > fine if you got  3 +1 votes from other IPMC members and my vote is
> the
> > > only
> > > > -1.That’s how Apache works.
> > > >
> > > > Thanks,
> > > > Justin
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
> > > > For additional commands, e-mail: general-help@incubator.apache.org
> > > >
> > > >
> > >
> >
>

Re: License headers on test data (was Re: [VOTE] Release Apache NetBeans 9.0 Beta (incubating) rc2)

Posted by Jaroslav Tulach <ja...@gmail.com>.
2018-01-23 17:36 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> FWIW,  some build and test processes have a "generate-sources" and/or
> "generate-test-sources" step.  Have you considered having a step in your
> test processes copy the source test files into a temporary folder and
> remove the headers as part of that step?   Then you may not need to change
> the test harness and expected result set.
>

Thanks Alex. Should the introduction of headers to test data looking like
Java files be inevitable, this is my favorite solution as well.
-jt



> On 1/23/18, 5:46 AM, "Geertjan Wielenga"
> <ge...@googlemail.com> wrote:
>
> >OK, makes sense, thanks for these insights and ideas.
> >
> >Gj
> >
> >On Tue, Jan 23, 2018 at 2:40 PM, Bertrand Delacretaz
> ><bd...@codeconsult.ch> wrote:
> >> Hi,
> >>
> >> On Tue, Jan 23, 2018 at 2:35 PM, Geertjan Wielenga
> >> <ge...@googlemail.com> wrote:
> >>
> >>>...
> >>>
> >>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub
> .
> >>>com%2Fapache%2Fincubator-netbeans%2Fblob%2Fmaster%2Fnbbui
> ld%2Fbuild.xml&
> >>>data=02%7C01%7Caharui%40adobe.com%7C0a91dd1e925e467c4bed0
> 8d56267bfbc%7Cf
> >>>a7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636523120091967
> 780&sdata=flP%2
> >>>BmQUSLXLED3puYUrZzALhDD3adb%2F%2BSkgekR07mOQ%3D&reserved=0
> >>> This is what line 2105 says:
> >>> <exclude name="*/test/unit/data/**" /> <!--would cause tests to
> >>>fail--> ...
> >>
> >> Maybe grouping those exclusions by families would make it easier for
> >> reviewers to understand them: first the ones which are not creative,
> >> then those where a header would cause tests to fail etc.
> >>
> >>> ...You're saying the comment isn't needed in the README...
> >>
> >> What I'm saying is that it shouldn't be duplicated - have the README
> >> point to that build.xml file,or as discussed a file that just has RAT
> >> exclusions, and add the comments next to the exclusions, pointing to
> >> apache.org docs where useful.
> >>
> >>> ...can NETBEANS-306 be closed as resolved?...
> >>
> >> I suggest grouping the exclusions that fall in that family and adding
> >> a pointer to the Apache docs that mention that the header is not
> >> required if it causes tests to fail.
> >>
> >> You then get links from README -> commented RAT exclusions -> Apache
> >> documentation which provide a clear justification.
> >>
> >> -Bertrand
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
> >> For additional commands, e-mail: general-help@incubator.apache.org
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
> >For additional commands, e-mail: general-help@incubator.apache.org
> >
>
>

Re: License headers on test data (was Re: [VOTE] Release Apache NetBeans 9.0 Beta (incubating) rc2)

Posted by Alex Harui <ah...@adobe.com.INVALID>.
FWIW,  some build and test processes have a "generate-sources" and/or
"generate-test-sources" step.  Have you considered having a step in your
test processes copy the source test files into a temporary folder and
remove the headers as part of that step?   Then you may not need to change
the test harness and expected result set.

HTH,
-Alex

On 1/23/18, 5:46 AM, "Geertjan Wielenga"
<ge...@googlemail.com> wrote:

>OK, makes sense, thanks for these insights and ideas.
>
>Gj
>
>On Tue, Jan 23, 2018 at 2:40 PM, Bertrand Delacretaz
><bd...@codeconsult.ch> wrote:
>> Hi,
>>
>> On Tue, Jan 23, 2018 at 2:35 PM, Geertjan Wielenga
>> <ge...@googlemail.com> wrote:
>>
>>>...
>>> 
>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.
>>>com%2Fapache%2Fincubator-netbeans%2Fblob%2Fmaster%2Fnbbuild%2Fbuild.xml&
>>>data=02%7C01%7Caharui%40adobe.com%7C0a91dd1e925e467c4bed08d56267bfbc%7Cf
>>>a7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636523120091967780&sdata=flP%2
>>>BmQUSLXLED3puYUrZzALhDD3adb%2F%2BSkgekR07mOQ%3D&reserved=0
>>> This is what line 2105 says:
>>> <exclude name="*/test/unit/data/**" /> <!--would cause tests to
>>>fail--> ...
>>
>> Maybe grouping those exclusions by families would make it easier for
>> reviewers to understand them: first the ones which are not creative,
>> then those where a header would cause tests to fail etc.
>>
>>> ...You're saying the comment isn't needed in the README...
>>
>> What I'm saying is that it shouldn't be duplicated - have the README
>> point to that build.xml file,or as discussed a file that just has RAT
>> exclusions, and add the comments next to the exclusions, pointing to
>> apache.org docs where useful.
>>
>>> ...can NETBEANS-306 be closed as resolved?...
>>
>> I suggest grouping the exclusions that fall in that family and adding
>> a pointer to the Apache docs that mention that the header is not
>> required if it causes tests to fail.
>>
>> You then get links from README -> commented RAT exclusions -> Apache
>> documentation which provide a clear justification.
>>
>> -Bertrand
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: general-help@incubator.apache.org
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
>For additional commands, e-mail: general-help@incubator.apache.org
>


Re: License headers on test data (was Re: [VOTE] Release Apache NetBeans 9.0 Beta (incubating) rc2)

Posted by Geertjan Wielenga <ge...@googlemail.com>.
OK, makes sense, thanks for these insights and ideas.

Gj

On Tue, Jan 23, 2018 at 2:40 PM, Bertrand Delacretaz
<bd...@codeconsult.ch> wrote:
> Hi,
>
> On Tue, Jan 23, 2018 at 2:35 PM, Geertjan Wielenga
> <ge...@googlemail.com> wrote:
>
>>...
>> https://github.com/apache/incubator-netbeans/blob/master/nbbuild/build.xml
>> This is what line 2105 says:
>> <exclude name="*/test/unit/data/**" /> <!--would cause tests to fail--> ...
>
> Maybe grouping those exclusions by families would make it easier for
> reviewers to understand them: first the ones which are not creative,
> then those where a header would cause tests to fail etc.
>
>> ...You're saying the comment isn't needed in the README...
>
> What I'm saying is that it shouldn't be duplicated - have the README
> point to that build.xml file,or as discussed a file that just has RAT
> exclusions, and add the comments next to the exclusions, pointing to
> apache.org docs where useful.
>
>> ...can NETBEANS-306 be closed as resolved?...
>
> I suggest grouping the exclusions that fall in that family and adding
> a pointer to the Apache docs that mention that the header is not
> required if it causes tests to fail.
>
> You then get links from README -> commented RAT exclusions -> Apache
> documentation which provide a clear justification.
>
> -Bertrand
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
> For additional commands, e-mail: general-help@incubator.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org


Re: License headers on test data (was Re: [VOTE] Release Apache NetBeans 9.0 Beta (incubating) rc2)

Posted by Bertrand Delacretaz <bd...@codeconsult.ch>.
Hi,

On Tue, Jan 23, 2018 at 2:35 PM, Geertjan Wielenga
<ge...@googlemail.com> wrote:

>...
> https://github.com/apache/incubator-netbeans/blob/master/nbbuild/build.xml
> This is what line 2105 says:
> <exclude name="*/test/unit/data/**" /> <!--would cause tests to fail--> ...

Maybe grouping those exclusions by families would make it easier for
reviewers to understand them: first the ones which are not creative,
then those where a header would cause tests to fail etc.

> ...You're saying the comment isn't needed in the README...

What I'm saying is that it shouldn't be duplicated - have the README
point to that build.xml file,or as discussed a file that just has RAT
exclusions, and add the comments next to the exclusions, pointing to
apache.org docs where useful.

> ...can NETBEANS-306 be closed as resolved?...

I suggest grouping the exclusions that fall in that family and adding
a pointer to the Apache docs that mention that the header is not
required if it causes tests to fail.

You then get links from README -> commented RAT exclusions -> Apache
documentation which provide a clear justification.

-Bertrand

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org


Re: License headers on test data (was Re: [VOTE] Release Apache NetBeans 9.0 Beta (incubating) rc2)

Posted by Geertjan Wielenga <ge...@googlemail.com>.
Well, it's been a comment there, e.g., see line 2105 here:

https://github.com/apache/incubator-netbeans/blob/master/nbbuild/build.xml

This is what line 2105 says:

<exclude name="*/test/unit/data/**" /> <!--would cause tests to fail-->

Indeed, we will pull out those exclusions into a separate file[1],
however, as can be seen, that comment is already there.

You're saying the comment isn't needed in the README then, good if so,
since that would mean less to do, though what needs to be done to
resolve the issue[2] or is it resolved by the fact that the comment
(see line 2105) is already there? I.e., can NETBEANS-306 be closed as
resolved?

[1]https://issues.apache.org/jira/browse/NETBEANS-318
[2]https://issues.apache.org/jira/browse/NETBEANS-306

Thanks,

Gj

On Tue, Jan 23, 2018 at 2:28 PM, Bertrand Delacretaz
<bd...@codeconsult.ch> wrote:
> On Tue, Jan 23, 2018 at 2:22 PM, Geertjan Wielenga
> <ge...@googlemail.com> wrote:
>> ...we propose that we add a line to the README that says:
>> "*/test/*/data folders contain test data and therefore may have no
>> license headers"....
>
> I would prefer for that info to be added as comments in the file that
> defines the RAT exclusions, to give it a better chance of staying in
> sync.
>
> You can then point from the README to that file with a comment like
> "see XXX for RAT exclusions and their justifications".
>
> -Bertrand
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
> For additional commands, e-mail: general-help@incubator.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org


Re: License headers on test data (was Re: [VOTE] Release Apache NetBeans 9.0 Beta (incubating) rc2)

Posted by Bertrand Delacretaz <bd...@codeconsult.ch>.
On Tue, Jan 23, 2018 at 2:22 PM, Geertjan Wielenga
<ge...@googlemail.com> wrote:
> ...we propose that we add a line to the README that says:
> "*/test/*/data folders contain test data and therefore may have no
> license headers"....

I would prefer for that info to be added as comments in the file that
defines the RAT exclusions, to give it a better chance of staying in
sync.

You can then point from the README to that file with a comment like
"see XXX for RAT exclusions and their justifications".

-Bertrand

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org


Re: License headers on test data (was Re: [VOTE] Release Apache NetBeans 9.0 Beta (incubating) rc2)

Posted by Geertjan Wielenga <ge...@googlemail.com>.
We have created one of many[1] issues dedicated to data files in
*/test/*data folders.

The point is that these are all data files, used by our tests, and if
license headers were to be added the tests would fail.

E.g., some tests make use of a position in the file, which would be
different (and wrong) if a license header were to be added.

Hence this should apply:
https://www.apache.org/legal/src-headers.html#faq-exceptions

And we propose that we add a line to the README that says:
"*/test/*/data folders contain test data and therefore may have no
license headers".

https://issues.apache.org/jira/browse/NETBEANS-306

What needs to be done to resolve this issue?

Thanks,

Gj

[1]https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans+9.0+Beta+rc3

On Mon, Jan 22, 2018 at 3:43 PM, John D. Ament <jo...@apache.org> wrote:
> On Mon, Jan 22, 2018 at 9:41 AM Jaroslav Tulach <ja...@gmail.com>
> wrote:
>
>> I'd like to focus on the actual issue found, leaving the overall discussion
>> aside...
>>
>> > ...
>> > I'm assuming that some of your concerns are around bullet #2 "Test data
>> for
>>
>> > which the addition of a source header would cause the tests to fail."
>> The
>> > problem looking at this statement vs the file actually in source:
>> >
>> > https://github.com/apache/incubator-netbeans/blob/
>> > master/diff/test/unit/src/org/netbeans/modules/diff/builtin/
>> > provider/DiffTestFile1a.txt
>> >
>> > It includes a license header "Sun Public License".  This line in the
>> > document is saying to exclude the header, but you're including a SPL
>> > header.
>>
>>
>> Obviously a mistake. Here is a fix:
>> https://github.com/apache/incubator-netbeans/pull/381
>>
>>
>> > Ultimately, at this point you can't remove the header since it's
>> > already been declared and was not included in the relicensing of Netbeans
>> > to Apache License.
>> >
>>
>> I don't understand why I should not be allowed to fix omitted ancient
>> license that hasn't been fixed yet?
>>
>
> Simply my interpretation of the fact the header wasn't fixed.  If it was an
> oversight, that's fine.
>
>
>>
>> Best regards and keep an eye on what we do! Thanks for your findings.
>> -jt
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org


Re: License headers on test data (was Re: [VOTE] Release Apache NetBeans 9.0 Beta (incubating) rc2)

Posted by "John D. Ament" <jo...@apache.org>.
On Mon, Jan 22, 2018 at 9:41 AM Jaroslav Tulach <ja...@gmail.com>
wrote:

> I'd like to focus on the actual issue found, leaving the overall discussion
> aside...
>
> > ...
> > I'm assuming that some of your concerns are around bullet #2 "Test data
> for
>
> > which the addition of a source header would cause the tests to fail."
> The
> > problem looking at this statement vs the file actually in source:
> >
> > https://github.com/apache/incubator-netbeans/blob/
> > master/diff/test/unit/src/org/netbeans/modules/diff/builtin/
> > provider/DiffTestFile1a.txt
> >
> > It includes a license header "Sun Public License".  This line in the
> > document is saying to exclude the header, but you're including a SPL
> > header.
>
>
> Obviously a mistake. Here is a fix:
> https://github.com/apache/incubator-netbeans/pull/381
>
>
> > Ultimately, at this point you can't remove the header since it's
> > already been declared and was not included in the relicensing of Netbeans
> > to Apache License.
> >
>
> I don't understand why I should not be allowed to fix omitted ancient
> license that hasn't been fixed yet?
>

Simply my interpretation of the fact the header wasn't fixed.  If it was an
oversight, that's fine.


>
> Best regards and keep an eye on what we do! Thanks for your findings.
> -jt
>

Re: License headers on test data (was Re: [VOTE] Release Apache NetBeans 9.0 Beta (incubating) rc2)

Posted by Jaroslav Tulach <ja...@gmail.com>.
I'd like to focus on the actual issue found, leaving the overall discussion
aside...

> ...
> I'm assuming that some of your concerns are around bullet #2 "Test data
for

> which the addition of a source header would cause the tests to fail."  The
> problem looking at this statement vs the file actually in source:
>
> https://github.com/apache/incubator-netbeans/blob/
> master/diff/test/unit/src/org/netbeans/modules/diff/builtin/
> provider/DiffTestFile1a.txt
>
> It includes a license header "Sun Public License".  This line in the
> document is saying to exclude the header, but you're including a SPL
> header.


Obviously a mistake. Here is a fix:
https://github.com/apache/incubator-netbeans/pull/381


> Ultimately, at this point you can't remove the header since it's
> already been declared and was not included in the relicensing of Netbeans
> to Apache License.
>

I don't understand why I should not be allowed to fix omitted ancient
license that hasn't been fixed yet?

Best regards and keep an eye on what we do! Thanks for your findings.
-jt

Re: License headers on test data (was Re: [VOTE] Release Apache NetBeans 9.0 Beta (incubating) rc2)

Posted by Jan Lahoda <la...@gmail.com>.
On Mon, Jan 22, 2018 at 1:56 PM, John D. Ament <jo...@apache.org>
wrote:

> >
> >
> > > - Specific call outs in the README about test data licensing not be
> > Apache
> > > license
> > >
> >
> > This is one of the things that are very unclear to me. If we are talking
> > about files like these [1][2][3][4][5][6] (they may appear to differ, but
> > they actually are all the same: test data), then I believe these were
> part
> > of the initial donation and I don't have a reason to believe these are
> not
> > under the Apache license. Of course we could list them in the README, but
> > if that's a requirement, I'd suggest to fix:
> > https://www.apache.org/legal/src-headers.html#faq-exceptions
> >
> > to include that requirement to avoid further confusion.
> >
> >
> I've seen you post this link several times now in this thread.  I
> personally have no idea what you'd like to get updated on this page, and
> the IPMC cannot help you get that updated, only the legal committee can.
>
> I'm assuming that some of your concerns are around bullet #2 "Test data for
> which the addition of a source header would cause the tests to fail."  The
> problem looking at this statement vs the file actually in source:
>
> https://github.com/apache/incubator-netbeans/blob/
> master/diff/test/unit/src/org/netbeans/modules/diff/builtin/
> provider/DiffTestFile1a.txt
>
> It includes a license header "Sun Public License".  This line in the
>

I agree this is bad. (I think it was not found by the re-licensing tools
because the header is broken.)

document is saying to exclude the header, but you're including a SPL
> header.  Ultimately, at this point you can't remove the header since it's
> already been declared and was not included in the relicensing of Netbeans
> to Apache License.
>

Not sure why is that.

There appear to be 2 (3) files with this header, used by a single testcase,
I am pretty sure we can solve that.


>
> Or am I miss understanding your points around changing this document?
>

Sorry, I guess I misunderstood. If there's no other problem with test data,
we can trivially fix this one, and there won't be any problem.

Should there be any other problem with the test data, please let us know.

Thanks for finding the SPL problem,
    Jan


>
>
> >
> > > - Specific call outs somewhere that the XSDs, ENTs, etc are derived
> from
> > > other locations
> > >
> >
> > I've sent an e-mail to dev@netbeans asking those to be resolved.
> >
> > Thanks,
> >    Jan
> >
> > [1]
> >
> > https://github.com/apache/incubator-netbeans/blob/
> master/java.hints/test/unit/data/org/netbeans/test/java/
> hints/AddCast1.java
> > [2]
> >
> > https://github.com/apache/incubator-netbeans/blob/
> master/java.hints/test/unit/data/goldenfiles/org/netbeans/
> modules/java/hints/errors/ErrorHintsTest/testAddCastHint1-hints.pass
> > [3]
> >
> > https://github.com/apache/incubator-netbeans/blob/
> master/java.hints/test/unit/data/goldenfiles/org/netbeans/
> modules/java/hints/errors/ErrorHintsTest/testAddCastHint1.pass
> > [4]
> >
> > https://github.com/apache/incubator-netbeans/blob/
> master/java.completion/test/unit/data/goldenfiles/org/
> netbeans/modules/java/completion/JavaCompletionTaskTest/1.8/
> intVarName.pass
> > [5]
> >
> > https://github.com/apache/incubator-netbeans/blob/
> master/java.completion/test/unit/data/goldenfiles/org/
> netbeans/modules/java/completion/JavaCompletionTaskTest/1.8/empty.pass
> > [6]
> >
> > https://github.com/apache/incubator-netbeans/blob/
> master/java.completion/test/unit/data/goldenfiles/org/
> netbeans/modules/java/completion/JavaCompletionTaskTest/1.8/
> CreateConstructorNonDefaultConstructor.pass
> >
> >
> > > >
> > > > Gj
> > > >
> > > > On Monday, January 22, 2018, Justin Mclean <justin@classsoftware.com
> >
> > > > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > > I am not sure what the point is of spending time on putting rat
> > > > > exclusions
> > > > > > together if they’re simply going to be ignored when it comes to
> > IPMC
> > > > > > members evaluating a release.
> > > > >
> > > > > Rat exclusions are fine if they comply with policy and don’t hide
> > > things.
> > > > > I’ve reviewed and voted on 300+ releases on the IPMC list so
> perhaps
> > I
> > > > have
> > > > > some advice to give that you should listen to. You can of course
> > choose
> > > > to
> > > > > ignore it.
> > > > >
> > > > > > Yes, we can of course discuss those rat exclusions. No, they
> cannot
> > > > > simply be ignored and we cannot be confronted
> > > > > > with a very long list of issues in the IPMC vote thread primarily
> > > based
> > > > > on
> > > > > > the fact that our rat exclusions have been ignored.
> > > > >
> > > > > Some of the issues I’ve brought up are minor and can be fixed in
> > later
> > > > > releases and some IMO are not and are not in line with ASF
> licensing
> > or
> > > > > release policy. I suggest you try are fix those.
> > > > >
> > > > > > I would like this to be affirmed by the IPMC and I would like our
> > > > > mentors to advise on their perspective on this too.
> > > > >
> > > > > That would be a good way forward. As I said said previously your
> > > mentors
> > > > > can vote +1 on this release - my vote is not a veto. I would be
> > totally
> > > > > fine if you got  3 +1 votes from other IPMC members and my vote is
> > the
> > > > only
> > > > > -1.That’s how Apache works.
> > > > >
> > > > > Thanks,
> > > > > Justin
> > > > > ------------------------------------------------------------
> ---------
> > > > > To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
> > > > > For additional commands, e-mail: general-help@incubator.apache.org
> > > > >
> > > > >
> > > >
> > >
> >
>

Re: License headers on test data (was Re: [VOTE] Release Apache NetBeans 9.0 Beta (incubating) rc2)

Posted by "John D. Ament" <jo...@apache.org>.
On Mon, Jan 22, 2018 at 8:03 AM Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> On Monday, January 22, 2018, John D. Ament <jo...@apache.org> wrote:
>
> > >
> > >
> > > > - Specific call outs in the README about test data licensing not be
> > > Apache
> > > > license
> > > >
> > >
> > > This is one of the things that are very unclear to me. If we are
> talking
> > > about files like these [1][2][3][4][5][6] (they may appear to differ,
> but
> > > they actually are all the same: test data), then I believe these were
> > part
> > > of the initial donation and I don't have a reason to believe these are
> > not
> > > under the Apache license. Of course we could list them in the README,
> but
> > > if that's a requirement, I'd suggest to fix:
> > > https://www.apache.org/legal/src-headers.html#faq-exceptions
> > >
> > > to include that requirement to avoid further confusion.
> > >
> > >
> > I've seen you post this link several times now in this thread.  I
> > personally have no idea what you'd like to get updated on this page, and
> > the IPMC cannot help you get that updated, only the legal committee can.
> >
> > I'm assuming that some of your concerns are around bullet #2 "Test data
> for
> > which the addition of a source header would cause the tests to fail."
>
>
> Snip snip...
>
>
> >
> > Or am I miss understanding your points around changing this document?
>
>
>
> It’s not about that document (which simply needs to be relicensed to Apache
> like all other files from the donation, simply slipped through that process
> somehow) but about those in Jan’s mail, i.e., the test data and pseudo code
> in test/*/data folders.
>
>
As best as I can tell, only the file I mentioned and its pair
(DiffTestFile1b.txt) are the ones with the wrong license on them.  The
other files were not raised by Justin as having bad headers, since we have
already documented that test data does not require the headers for the
reasons listed on that page.

A similar problem exists with the file "testMoveClass.pass" which ends up
including multiple license headers.  I'm actually OK with that file, since
its clear that its trying to test these scenarios.

John


> Gj
>
>
>
> >
> >
> > >
> > > > - Specific call outs somewhere that the XSDs, ENTs, etc are derived
> > from
> > > > other locations
> > > >
> > >
> > > I've sent an e-mail to dev@netbeans asking those to be resolved.
> > >
> > > Thanks,
> > >    Jan
> > >
> > > [1]
> > >
> > > https://github.com/apache/incubator-netbeans/blob/
> > master/java.hints/test/unit/data/org/netbeans/test/java/
> > hints/AddCast1.java
> > > [2]
> > >
> > > https://github.com/apache/incubator-netbeans/blob/
> > master/java.hints/test/unit/data/goldenfiles/org/netbeans/
> > modules/java/hints/errors/ErrorHintsTest/testAddCastHint1-hints.pass
> > > [3]
> > >
> > > https://github.com/apache/incubator-netbeans/blob/
> > master/java.hints/test/unit/data/goldenfiles/org/netbeans/
> > modules/java/hints/errors/ErrorHintsTest/testAddCastHint1.pass
> > > [4]
> > >
> > > https://github.com/apache/incubator-netbeans/blob/
> > master/java.completion/test/unit/data/goldenfiles/org/
> > netbeans/modules/java/completion/JavaCompletionTaskTest/1.8/
> > intVarName.pass
> > > [5]
> > >
> > > https://github.com/apache/incubator-netbeans/blob/
> > master/java.completion/test/unit/data/goldenfiles/org/
> > netbeans/modules/java/completion/JavaCompletionTaskTest/1.8/empty.pass
> > > [6]
> > >
> > > https://github.com/apache/incubator-netbeans/blob/
> > master/java.completion/test/unit/data/goldenfiles/org/
> > netbeans/modules/java/completion/JavaCompletionTaskTest/1.8/
> > CreateConstructorNonDefaultConstructor.pass
> > >
> > >
> > > > >
> > > > > Gj
> > > > >
> > > > > On Monday, January 22, 2018, Justin Mclean <
> justin@classsoftware.com
> > >
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > > I am not sure what the point is of spending time on putting rat
> > > > > > exclusions
> > > > > > > together if they’re simply going to be ignored when it comes to
> > > IPMC
> > > > > > > members evaluating a release.
> > > > > >
> > > > > > Rat exclusions are fine if they comply with policy and don’t hide
> > > > things.
> > > > > > I’ve reviewed and voted on 300+ releases on the IPMC list so
> > perhaps
> > > I
> > > > > have
> > > > > > some advice to give that you should listen to. You can of course
> > > choose
> > > > > to
> > > > > > ignore it.
> > > > > >
> > > > > > > Yes, we can of course discuss those rat exclusions. No, they
> > cannot
> > > > > > simply be ignored and we cannot be confronted
> > > > > > > with a very long list of issues in the IPMC vote thread
> primarily
> > > > based
> > > > > > on
> > > > > > > the fact that our rat exclusions have been ignored.
> > > > > >
> > > > > > Some of the issues I’ve brought up are minor and can be fixed in
> > > later
> > > > > > releases and some IMO are not and are not in line with ASF
> > licensing
> > > or
> > > > > > release policy. I suggest you try are fix those.
> > > > > >
> > > > > > > I would like this to be affirmed by the IPMC and I would like
> our
> > > > > > mentors to advise on their perspective on this too.
> > > > > >
> > > > > > That would be a good way forward. As I said said previously your
> > > > mentors
> > > > > > can vote +1 on this release - my vote is not a veto. I would be
> > > totally
> > > > > > fine if you got  3 +1 votes from other IPMC members and my vote
> is
> > > the
> > > > > only
> > > > > > -1.That’s how Apache works.
> > > > > >
> > > > > > Thanks,
> > > > > > Justin
> > > > > > ------------------------------------------------------------
> > ---------
> > > > > > To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
> > > > > > For additional commands, e-mail:
> general-help@incubator.apache.org
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: License headers on test data (was Re: [VOTE] Release Apache NetBeans 9.0 Beta (incubating) rc2)

Posted by Geertjan Wielenga <ge...@googlemail.com>.
On Monday, January 22, 2018, John D. Ament <jo...@apache.org> wrote:

> >
> >
> > > - Specific call outs in the README about test data licensing not be
> > Apache
> > > license
> > >
> >
> > This is one of the things that are very unclear to me. If we are talking
> > about files like these [1][2][3][4][5][6] (they may appear to differ, but
> > they actually are all the same: test data), then I believe these were
> part
> > of the initial donation and I don't have a reason to believe these are
> not
> > under the Apache license. Of course we could list them in the README, but
> > if that's a requirement, I'd suggest to fix:
> > https://www.apache.org/legal/src-headers.html#faq-exceptions
> >
> > to include that requirement to avoid further confusion.
> >
> >
> I've seen you post this link several times now in this thread.  I
> personally have no idea what you'd like to get updated on this page, and
> the IPMC cannot help you get that updated, only the legal committee can.
>
> I'm assuming that some of your concerns are around bullet #2 "Test data for
> which the addition of a source header would cause the tests to fail."


Snip snip...


>
> Or am I miss understanding your points around changing this document?



It’s not about that document (which simply needs to be relicensed to Apache
like all other files from the donation, simply slipped through that process
somehow) but about those in Jan’s mail, i.e., the test data and pseudo code
in test/*/data folders.

Gj



>
>
> >
> > > - Specific call outs somewhere that the XSDs, ENTs, etc are derived
> from
> > > other locations
> > >
> >
> > I've sent an e-mail to dev@netbeans asking those to be resolved.
> >
> > Thanks,
> >    Jan
> >
> > [1]
> >
> > https://github.com/apache/incubator-netbeans/blob/
> master/java.hints/test/unit/data/org/netbeans/test/java/
> hints/AddCast1.java
> > [2]
> >
> > https://github.com/apache/incubator-netbeans/blob/
> master/java.hints/test/unit/data/goldenfiles/org/netbeans/
> modules/java/hints/errors/ErrorHintsTest/testAddCastHint1-hints.pass
> > [3]
> >
> > https://github.com/apache/incubator-netbeans/blob/
> master/java.hints/test/unit/data/goldenfiles/org/netbeans/
> modules/java/hints/errors/ErrorHintsTest/testAddCastHint1.pass
> > [4]
> >
> > https://github.com/apache/incubator-netbeans/blob/
> master/java.completion/test/unit/data/goldenfiles/org/
> netbeans/modules/java/completion/JavaCompletionTaskTest/1.8/
> intVarName.pass
> > [5]
> >
> > https://github.com/apache/incubator-netbeans/blob/
> master/java.completion/test/unit/data/goldenfiles/org/
> netbeans/modules/java/completion/JavaCompletionTaskTest/1.8/empty.pass
> > [6]
> >
> > https://github.com/apache/incubator-netbeans/blob/
> master/java.completion/test/unit/data/goldenfiles/org/
> netbeans/modules/java/completion/JavaCompletionTaskTest/1.8/
> CreateConstructorNonDefaultConstructor.pass
> >
> >
> > > >
> > > > Gj
> > > >
> > > > On Monday, January 22, 2018, Justin Mclean <justin@classsoftware.com
> >
> > > > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > > I am not sure what the point is of spending time on putting rat
> > > > > exclusions
> > > > > > together if they’re simply going to be ignored when it comes to
> > IPMC
> > > > > > members evaluating a release.
> > > > >
> > > > > Rat exclusions are fine if they comply with policy and don’t hide
> > > things.
> > > > > I’ve reviewed and voted on 300+ releases on the IPMC list so
> perhaps
> > I
> > > > have
> > > > > some advice to give that you should listen to. You can of course
> > choose
> > > > to
> > > > > ignore it.
> > > > >
> > > > > > Yes, we can of course discuss those rat exclusions. No, they
> cannot
> > > > > simply be ignored and we cannot be confronted
> > > > > > with a very long list of issues in the IPMC vote thread primarily
> > > based
> > > > > on
> > > > > > the fact that our rat exclusions have been ignored.
> > > > >
> > > > > Some of the issues I’ve brought up are minor and can be fixed in
> > later
> > > > > releases and some IMO are not and are not in line with ASF
> licensing
> > or
> > > > > release policy. I suggest you try are fix those.
> > > > >
> > > > > > I would like this to be affirmed by the IPMC and I would like our
> > > > > mentors to advise on their perspective on this too.
> > > > >
> > > > > That would be a good way forward. As I said said previously your
> > > mentors
> > > > > can vote +1 on this release - my vote is not a veto. I would be
> > totally
> > > > > fine if you got  3 +1 votes from other IPMC members and my vote is
> > the
> > > > only
> > > > > -1.That’s how Apache works.
> > > > >
> > > > > Thanks,
> > > > > Justin
> > > > > ------------------------------------------------------------
> ---------
> > > > > To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
> > > > > For additional commands, e-mail: general-help@incubator.apache.org
> > > > >
> > > > >
> > > >
> > >
> >
>