Difference between revisions of "GeoNetwork Provenance Review"
Line 4: | Line 4: | ||
Creation date: 09-03-2007 | Creation date: 09-03-2007 | ||
+ | Updated: 12-03-2007 | ||
=== Purpose === | === Purpose === |
Revision as of 02:35, 12 March 2007
Code provenance checklist
Created by: Jeroen Ticheler
Creation date: 09-03-2007 Updated: 12-03-2007
Purpose
Ensure all source code has a know provenance and has correct headers with license and contact details.
Process
The project has taken a serious step at ensuring all code is copyrighted and licensed properly since a number of years. For this process all source code files have been reviewed to ensure a correct and uniform copyright and license header is in place.
Three small updates to the header have been applied to all source code files using search and replace. At the end of the process all changes have been committed and a list of changes and a simple list of changed files has been generated by querying the SVN. This ensures all files (except 4, see below) have indeed been updated with the corrected header.
All source code (except for 4 classes, see below) is licensed as GNU-GPL version 2 and copyrighted as follows:
//============================================================================= //=== Copyright (C) 2001-2007 Food and Agriculture Organization of the //=== United Nations (FAO-UN), United Nations World Food Programme (WFP) //=== and United Nations Environment Programme (UNEP) //=== //=== This program is free software; you can redistribute it and/or modify //=== it under the terms of the GNU General Public License as published by //=== the Free Software Foundation; either version 2 of the License, or (at //=== your option) any later version. //=== //=== This program is distributed in the hope that it will be useful, but //=== WITHOUT ANY WARRANTY; without even the implied warranty of //=== MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //=== General Public License for more details. //=== //=== You should have received a copy of the GNU General Public License //=== along with this program; if not, write to the Free Software //=== Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA //=== //=== Contact: Jeroen Ticheler - FAO - Viale delle Terme di Caracalla 2, //=== Rome - Italy. email: geonetwork@osgeo.org //==============================================================================
Four (4) classes are licensed as GNU-GPL version 2 and copyrighted as follows:
//============================================================================== //=== //=== Codec (adapted class from druid project http://druid.sf.net) //=== //=== Copyright (C) by Andrea Carboni. //=== This file may be distributed under the terms of the GPL license. //==============================================================================
Files concerned:
- org/fao/gast/lib/druid/Codec.java
- org/fao/gast/lib/druid/Import.java
- org/fao/gast/lib/druid/SqlMapper.java
- org/fao/gast/lib/druid/SqlType.java
Three (3) files that missed the copyright header have been corrected:
- org/fao/geonet/apps/CheckLocalizedFiles.java
- org/fao/geonet/util/MailSender.java
- org/fao/gast/gui/panels/migration/oldinst/MainFrame.java
All headers have been updated with:
- A new copyright date (2001-2007 instead of 2001-2005)
- An updated address of the Free Software Foundation
- An updated contact email address, now pointing to geonetwork@osgeo.org
The source folder contains 239 classes.
A full list of classes is added here: GeoNetwork List of classes
A list of latest commits updating the header copyright statements is added here: GeoNetwork List of header updates