[ 
https://issues.apache.org/jira/browse/NETBEANS-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Lahoda updated NETBEANS-54:
-------------------------------
    Attachment: JavaApplication9.java

When I was relicensing the jackpot30 repository, I wrote a fairly strict tool 
(attached as JavaApplication9 for the record - please be warned it is not 
polished in any way) to do the replace. The tool (intentionally) does not 
accept different formattings, comment marks, etc. to minimize risk of errors. 
The only "fuzzy" element the tool accepts are years in the headers (i.e. it 
does not care too much about years, if they are on particular places). I 
believe the only files I touched by hand were:
-increment-spec-versions (broken license header, only one file with that header 
in the repo)
-cmdline/tool/scripts/jackpot.bat (sole .bat file in the repo, "standard" 
header AFAIK, didn't seem necessary to put the pattern in the tool)
-standard-nbm-license.txt (contains license that is copied into the built 
modules, replaces with Apache License Version 2.0)
-LICENSE
-NOTICE

Maybe we could use this as a start for the main repository, polish the tool a 
little and make a collection of all license headers types in the repository (I 
assume there'd be a few dozens of them, given any detail in formatting, comment 
characters, etc. will lead to a different license header type). We could 
manually review just these collected headers, and then relicense the files with 
those specific headers that are found to be OK (and discuss those that are not 
OK, should there be any). Then we would be left with files that don't have a 
license header (like manifests, form files, etc.), and we could discuss which 
of them need it and how to check their origin.

Any insights/opinions?

> Clarify the status of donated files from ApacheNetBeansDonation1.zip
> --------------------------------------------------------------------
>
>                 Key: NETBEANS-54
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-54
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: Bertrand Delacretaz
>         Attachments: JavaApplication9.java
>
>
> Reviewing the software grant [1] provided with the first NetBeans code 
> donation, my understanding is that not all files found in that zip are 
> donated.
> The grant indicates that the contents of that file [2] ("Code File") are 
> donated "excluding any third-party and separately licensed material contained 
> within the Code File". 
> I don't think we can consider that code ready to release as is, due to the 
> uncertainty that this creates w.r.t to which files are donated and which are 
> not.
> The zip archive contains about 45'000 files.
> I see the following options:
> a) Review all files and include only those which are not "third-party and 
> separately licensed material". How such files are identified needs to be 
> defined and documented, either in scripts under version control or as a set 
> of rules. The review process must be documented and traceable, so that we can 
> go back to it if problems are found in the future.
> b) Get an updated grant which does not mention such exclusions.
> If someone sees other options please discuss here or on the NetBeans dev 
> list, referencing this ticket.
> [1] in svn under private/documents/grants/oracle-america-netbeans.pdf , ASF 
> members have access
> [2] under http://bits.netbeans.org/download/apache-donation/  - 
> SHA256(ApacheNetBeansDonation1.zip)=
> 7f2ca0f61953a190613c9a0fbcc1b034084b04a4d55d23c02cefffc354e7c24a



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to