Closed desruisseaux closed 3 years ago
In netCDF-Java 5, we moved to the following copyright block:
/*
* Copyright (c) <creation-year>-<last-significant-addition-year> University Corporation for Atmospheric Research/Unidata
* See LICENSE for license information.
*/
and sometimes you will see a similar block that looks like:
/*
* Copyright (c) <creation-year>-<last-significant-addition-year> <contributor name(s)> and University Corporation for Atmospheric Research/Unidata
* See LICENSE for license information.
*/
Basically, the author of a contribution keeps the copyright to the code they contributed, but as part of the CLA, they agree that we have permission to distribute their contributions under they license we have in use (which is BSD-3).
For this code, I would say your name should be in the copyright (along with anyone else who has contributed to the code). If/when I make changes, I'll add UCAR to the copyright block, but no need to do so until that point.
So the Java file header would contain only those 2 lines? (keeping Unidata in the copyright for simplicity)
/*
* Copyright (c) 2012-2021 Geomatys and University Corporation for Atmospheric Research/Unidata
* See LICENSE for license information.
*/
Yes, at least that is what we currently do in netCDF-Java (rather than including the license text in addition to the copyright notice). That said, I think it might be good to have a little more information about the license, for clarity. Perhaps something like:
/*
* Copyright (c) 2012-2021 Geomatys and University Corporation for Atmospheric Research/Unidata
* Distributed under the terms of the BSD 3-Clause License.
* SPDX-License-Identifier: BSD-3-Clause
* See LICENSE for license information.
*/
It's more clear than simply "See LICENSE for license information", and the LICENCE file would still have the full text.
Merge request updated with above copyright header.
Is the following copyright header okay? I copied it from
NetcdfDataset.java
. Some observations: