Relicense code to Apache License, Version 2.0#1688
Conversation
This patch updates the CVMix submodule to a more recent version that is licensed under the Apache 2.0 license. There are no code changes to CVMix relative to the current version.
This PR re-licenses the MOM6 source code from the Lesser GNU Public License, version 3 to Apache License, Version 2.0. This is done with the consent of all contributors to the source code. All source files are now tagged with the following disclaimer. ``` This file is part of MOM6, the Modular Ocean Model version 6. See the LICENSE file for licensing information. SPDX-License-Identifier: Apache-2.0 ``` All relevent source code, scripts, and macros are now explicitly identified as part of MOM6. Configuration files containing scripts, such as GitHub Actions, have also been tagged. Any other configurations, such as model inputs, have been excluded.
|
The intention is to handle this after #1677 has been merged, but I'm submitting it now to get an early start on the review process. |
jiandewang
left a comment
There was a problem hiding this comment.
can't image Marshall has to make changes in more than 300 codes.
I was very excited to realize mom-ocean/CVMix-src already contained a commit that had identical source code to the previous MOM6 submodule but with the updated license! As you can see from the changed files tab, we're only changing two LICENSE files (transitioning from md -> txt) and a README. |
If there was ever a job for GPT/Claude/Gemini/Copilot, it's this. "Add this text to every file using the right comment style" 😄 |
The advice that I saw was to tag every file, because you never know when someone might accidentally grab a file and then add it to their own repo. Little scripts and GitHub Actions code are most vulnerable!
The script I wrote to do this was a work of art. |
|
We're now an Apache shop. Thanks to everyone, especially @Hallberg-NOAA for getting everyone's approval. |
This PR re-licenses the MOM6 source code from the Lesser GNU Public License, version 3 to Apache License, Version 2.0. This is done with the consent of all contributors to the source code.
All source files are now tagged with the following disclaimer.
All relevant source code, scripts, and macros are now explicitly identified as part of MOM6. Configuration files containing scripts, such as GitHub Actions, have also been tagged. Any other configurations, such as model inputs, have been excluded.
A separate commit updates the CVMix submodule from its older LGPL licensed version to its newer Apache licensed version. This is required to consistently integrate CVMix source into MOM6. There are no code changes between the current and new CVMix source. This change has been included with the consent of the CVMix maintainer (@mnlevy1981).