GeoNetwork Provenance Review

From OSGeo
Revision as of 07:53, 21 October 2007 by Neteler (talk | contribs)
Jump to navigation Jump to search

Code provenance checklist

Created by: Jeroen Ticheler

Creation date: 09-03-2007

Updated: 12-03-2007, 10-10-2007

Back to GeoNetwork Incubation Status

Purpose

Ensure all source code has a know provenance and has correct headers with license and contact details.

Ensure all libraries/components used by the software have compatible licenses.

The Library/Component Review can be found at GeoNetwork Library Review

Code Provenance 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 6 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
//==============================================================================

Six (6) 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/DdfLoader.java
  • org/fao/gast/lib/druid/Import.java
  • org/fao/gast/lib/druid/ImportField.java
  • org/fao/gast/lib/druid/SqlMapper.java
  • org/fao/gast/lib/druid/SqlType.java

All java classes that missed the copyright header have been corrected:


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 498 classes.

A full list of classes is added here: GeoNetwork List of classes

A full list of libraries used in the project is added here: GeoNetwork Library Review