This website uses browsing/session and functional cookies to ensure you get the best experience. Learn More

Licensing

From Wiki for iCub and Friends
Jump to: navigation, search

In general, anything created in connection with the iCub has to comply with the documentation standards set forth in Deliverable 1.2 (licensing strategy).

All code committed to the repository should be licensed with GPL or it should have a GPL compatible license. If you do not own the copyright of the code you commit make sure it has been released under a GPL compatible license.

Make sure each file contains proper copyright and license statement. The recommended license template for code released under GPL is the following:

/* 
 * Copyright (C) <year> <Institution or copyright holder>
 * Author: <name of author>
 * email:   
 * Permission is granted to copy, distribute, and/or modify this program
 * under the terms of the GNU General Public License, version 2 or any
 * later version published by the Free Software Foundation.
 *
 * A copy of the license can be found at
 * http://www.robotcub.org/icub/license/gpl.txt
 *
 * 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
*/

However the absolute minimum that would need to be present in each source file is:

  • A copyright statement with author name and year. Don't forget the year.
  • A license statement that is compatible with the GPL.

The minimal form of these statements is:

/*
 * Copyright (C) 2007 Author McAuthor
 * CopyPolicy: Released under the terms of <the license name>
 */

The CopyPolicy line is useful to add for semi-automated license reviews of material in the repository.

Code contributed within the RobotCub consortium

Code contributed within the RobotCub project must be released under GPL. According to the Consortium Agreement (see Deliverable 1.2) we ask you to grant the copyright to the RobotCub consortium.

We request that you use this template:

/* 
 * Copyright (C) <year> RobotCub Consortium, European Commission FP6 Project IST-004370
 * Author: <name of author>
 * email:   <firstname.secondname>@robotcub.org
 * website: www.robotcub.org
 * Permission is granted to copy, distribute, and/or modify this program
 * under the terms of the GNU General Public License, version 2 or any
 * later version published by the Free Software Foundation.
 *
 * A copy of the license can be found at
 * http://www.robotcub.org/icub/license/gpl.txt
 *
 * 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
*/
Personal tools
Namespaces

Variants
Actions
Navigation
Print/export
Toolbox