Difference between revisions of "GeoNetwork Provenance Review"

From OSGeo
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
Creation date: 09-03-2007
 
Creation date: 09-03-2007
Updated: 12-03-2007
+
 
 +
Updated: 12-03-2007, 10-10-2007, 05-05-2008
 +
 
 +
Back to [[GeoNetwork Incubation Status]]
 +
 
 +
'''The project graduated from incubation on [http://wiki.osgeo.org/wiki/Thirty_Sixth_Board_Meeting 2 May 2008]'''
  
 
=== Purpose ===
 
=== Purpose ===
Line 20: Line 25:
  
 
----
 
----
All source code (except for 4 classes, see below) is licensed as GNU-GPL version 2 and copyrighted as follows:
+
All source code (except for 6 classes, see below) is licensed as GNU-GPL version 2 and copyrighted as follows:
  
 
<pre>//=============================================================================
 
<pre>//=============================================================================
Line 47: Line 52:
  
 
----
 
----
Four (4) classes are licensed as GNU-GPL version 2 and copyrighted as follows:
+
Six (6) classes are licensed as GNU-GPL version 2 and copyrighted as follows:
 
<pre>//==============================================================================
 
<pre>//==============================================================================
 
//===
 
//===
Line 59: Line 64:
  
 
* org/fao/gast/lib/druid/Codec.java
 
* 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/Import.java
 +
* org/fao/gast/lib/druid/ImportField.java
 
* org/fao/gast/lib/druid/SqlMapper.java
 
* org/fao/gast/lib/druid/SqlMapper.java
 
* org/fao/gast/lib/druid/SqlType.java
 
* org/fao/gast/lib/druid/SqlType.java
  
 
----
 
----
Three (3) files that missed the copyright header have been corrected:
+
All java classes 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
 
  
 
----
 
----
Line 77: Line 80:
 
* An updated contact email address, now pointing to geonetwork@osgeo.org
 
* An updated contact email address, now pointing to geonetwork@osgeo.org
  
The source folder contains 239 classes.  
+
The source folder contains 498 classes.  
  
 
A full list of classes is added here: [[GeoNetwork List of 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]]
+
A full list of libraries used in the project is added here: [[GeoNetwork Library Review]]
 +
 
 +
[[Category:GeoNetwork]]
 +
[[Category: Incubation]]

Latest revision as of 00:10, 5 May 2008

Code provenance checklist

Created by: Jeroen Ticheler

Creation date: 09-03-2007

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

Back to GeoNetwork Incubation Status

The project graduated from incubation on 2 May 2008

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