Changes between Version 6 and Version 7 of ossimprovenance


Ignore:
Timestamp:
Oct 14, 2007, 2:14:44 PM (17 years ago)
Author:
rgould
Comment:

cleaning up and adding information

Legend:

Unmodified
Added
Removed
Modified
  • ossimprovenance

    v6 v7  
    55http://wiki.osgeo.org/index.php/Code_Provenance_Review
    66
    7 Work in progress, don't anticipate any issues.
    8 
    9 ''The following are OSSIM provenance review steps.  These were derived from  a working draft by the incubation committee.''
    10 
    117= OSSIM Library/Component Review =
    128
    13 # Prepare a list of any external components that are included "in the source tree" for the project.  For instance, GDAL includes a copy of libtiff, libjpeg, etc in the source tree.  It is necessary to be able to identify things like that in the source tree that are under their own distinct license, and are not explicited vetted by the project team.   If practical it is desirable to remove these internal components and treat them as external depenendencies.  If kept internal, notes on the licenses of the components should be included in the provenance review document.
    14 # Prepare a list of external dependencies with with potentially problematic license terms.  So, all non-free libraries for instance.  All libraries with licenses that might conflict (for instance GDAL's use of GPL'ed GRASS libraries in the non-GPL GDAL). 
    15  
    16  #  "LibTiff, GeoTiff, mpi, OpenThreads, and OpenSceneGraph are external library dependencies of the OSSIM project.  They are not included in the repository."
     9* No external libraries are included in the source tree.
    1710
     11* All external library dependences are available under a compatible license. These dependencies are: LibTiff, GeoTiff, mpi, OpenThreads, and OpenSceneGraph
    1812
    1913= Code Copyright Review =
     
    2115The objective here is to visit every source file, and identify possible issues, and work to "regularize" things.
    2216
    23 # Does the file include the license information?  If not, add it if there there is no ambiguity about whether the standard project license applies.  If that is not obvious, make notes in the review document. 
    24 # Is the file under the normal project license?  If not, make notes in the review document.
    25 # Is there anything obviously unusual about the origin of the code?  Does this pose any conflicts?  Is the issue properly described in the source file?  For instance, in GDAL, the gdal/port/cpl_strtod.cpp file is closely derived from external code that was placed in the public domain.  cpl_strtod.cpp is placed under the normal GDAL MIT/X license, but detailed notes are kept in the header text on it's origin, the fact that this was public domain and so the fact that we are ok to relicense it.  Oddities should be noted in the source file itself and in the review document.
    26 # Maintain a list of all copyright holders identified in the review document.  This list is essentially everyone who would need to agree to relicense the project.  It may be desirable to seek copyright assignment to a "project lead", or to the foundation to reduce the number of copyright holders for the project though this is not required.
     17* Does the file include the license information?  If not, add it if there there is no ambiguity about whether the standard project license applies.  If that is not obvious, make notes in the review document. 
     18  * Most c/cpp files in the SVN repository have a header. Most java files and some .h files do not.
    2719
     20* Is the file under the normal project license?  If not, make notes in the review document.
     21  * Not all projects in the repository use the same license, but that should not be an issue. Files within the same project share the same license.
    2822
     23* Is there anything obviously unusual about the origin of the code?  Does this pose any conflicts?  Is the issue properly described in the source file? 
     24  * No unusual origins noted.
    2925
    30 = Review Document =
     26* Maintain a list of all copyright holders identified in the review document.  This list is essentially everyone who would need to agree to relicense the project.
     27  * Copyright Holders: Mark Lucas, Garrett Potts
    3128
    32 The result of the provenance review is two fold.  First, there is clarification and "fixes" done during the review.  For instance, adding missing copyright notices, or factoring out external libraries.  The second is a review report with a fairly detailed list of outstanding issues, ambiguities and information of note.
     29Most files contain a notice of the form:
     30{{{
     31//----------------------------------------------------------------------------
     32//
     33// License:  See top level LICENSE.txt file.
     34//
     35// Author:  Garrett Potts
     36//
     37//----------------------------------------------------------------------------
     38}}}
    3339
    34 The review document will be distributed to the project PSC members, as well as the incubation committee.  Based on it, the incubation committee may require the project to do additional work, either resolving ambiguities, factoring items out, or rewriting questional components. 
    35 
    36 When completed, a much briefer form of the review document should be prepared, just listing information that would be pertinent to folks using the project.  Essentially a summary.  This summary might live in source control as README.LICENSE or something similar.
    37 
    38 = FAQ =
    39 
    40 ; Do we need to ensure there is a copyright and licence headers in every file?
    41 : Projects are expected to embed a copyright and license header in every source file (.cpp and .h for instance).  Machine generated files (such as lex or yacc output for instance) does not require a header if it is inconvenient to embed one, but then an effort should be made to embed a header in the original source file (ie. .l or .y).  There is no need to embed copyright and license headers in build files (ie. Makefiles, Visual Studio project files), nor in small documentation fragments (like READMEs).  Copyright/license headers should be included in substantial bodies of documentation if it can be done in such a way that it doesn't interfere with the document.
    42 
    43 ; Do I really need to embed the whole license agreement in every file?
    44 : No, it is sufficient to refer to a single copy of the license agreement for the project, but each file should include an indication of what the license is, and the location of the full license document.  For example:
    45 
    46  /*
    47   * Copyright (C) 2004-2005  Autodesk, Inc.
    48   *
    49   * This library is free software; you can redistribute it and/or
    50   * modify it under the terms of version 2.1 of the GNU Lesser
    51   * General Public License as published by the Free Software Foundation.
    52   * 
    53   * This library is distributed in the hope that it will be useful,
    54   * but WITHOUT ANY WARRANTY; without even the implied warranty of
    55   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    56   * Lesser General Public License for more details.
    57   *
    58   * You should have received a copy of the GNU Lesser General Public
    59   * License along with this library; if not, write to the Free Software
    60   * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    61   */
    62 
    63 : or
    64 
    65  * COPYRIGHT:    (C) 2001 by the GRASS Development Team
    66  *
    67  *               This program is free software under the GNU General Public
    68  *               License (>=v2). Read the file COPYING that comes with GRASS
    69  *               for details.
    70 
    71 
    72 ; Can I just write a script to check everything?
    73 : No.  The point of a human review is to ensure that human eyes have looked at the header of each file, looking for any anomolies.  For instance it is not uncommon to have additional messages written in headers about the original source of particular code, but not necessarily in a way that a script could recognise. 
    74 
    75 ; But I just did a review similar to this a few months ago, do I really need to do it again?
    76 : If you believe you have already met or exceeded the rigor described in this review document, then you can present the results of your previous analysis along with an explanation of why you think it still applies.  You will need to manually review additions since that earlier review.  It will be up to the Incubator (and ultimately the foundation board) to determine if they are satisfied with any review.
    77 
    78 ; Do I need to track down every contributor and ask for permission to use their code?
    79 : No.  As long as code was knowingly provided by contributors to the project while it was under a clear licensing policy then it is reasonable to assume the project licensing arrangements are accepted unless there is some reason to have doubts.  If code was brought into the project from outside sources under ambiguous circumstances then it may be necessary to contact the copyright holder for a legal release, or at least a statement of permission. 
    80 
    81 ; Some project code was adapted from other sources with ambiguous copyrights, what do I do?
    82 : First, document such concerns in the review document and within the source files themselves.  Second, try to obtain a release to use the provide code.  An email statement of permission should be sufficient, but pertinant details of such an email should be included in the source file in questions (eg. date, identification of releasing person, text of the release).  If no release is possible, but the code isn't very necessary, consider removing or replacing it to simplify things.  Otherwise the issue will need to be discussed in the incubator to assess risk.
    83 
    84 ; Should I be looking for patent problems?
    85 : No.  However, if the code review turns up notes about patent issues - or if there are known patent issues for the project, then these should be noted in the review document.  Generally speaking a proper patent review is very difficult and may increase, rather than decrease, legal liability. 
    86 
    87 ; Should I be looking for trademark conflicts?
    88 : Possibly.  It may be prudent to check for trademark conflicts for the project name, or the name of public packages within the project.  If issues are found they should be noted in the review document.