We have to be careful with copyrights on the files. I have provided a
software grant to the ASF and have agreed to change the license to
Apache 2.0 for all of the files for which I am the sole copyright
holder. So I think that those code be changed (provided that there are
no other caveats in the headers).
But we must be very careful in all other cases: Where the previous
license might not be BSD-3, where there are other Copyright claims on
the files, where there are caveats. It would be extremely dangerous to
do any wholesale conversion of license headers. That needs to be done
with care.
Greg
On 3/6/2020 4:52 PM, Adam Feuer wrote:
Hi,
To comply with NuttX coding style in a recent PR, I modified a file license
header tool to easily replace license headers in NuttX code.
Here's the PR I used it on:
https://github.com/apache/incubator-nuttx/pull/449
Here's the tool, the modifications are currently on this branch:
https://github.com/adamfeuer/licenseheaders/tree/feature/nuttx-apache-2
I could pretty easily run the tool on some more NuttX source code— either
on some subsections, or the entire C codebase; and then generate some PRs.
Would that be helpful?
cheers
adam