Skip to content

Latest commit

 

History

History
111 lines (80 loc) · 5.07 KB

jasp-licensing.md

File metadata and controls

111 lines (80 loc) · 5.07 KB

JASP Licensing

JASP is made up of two parts, or executables. The JASP graphical user interface, and the JASP engine responsible for running the analyses in the background.

The JASP source code itself is licensed:

  • JASP-Common: GPL2+
  • JASP-Engine: GPL2+
  • JASP-Desktop: AGPL3+

The JASP graphical user interface, with the filename JASP, is built from the JASP-Desktop and JASP-Common folders in the JASP source tree. As a binary, it is released under the AGPL3 (JASP-Desktop and JASP-Common can be combined because GPL2+ can be treated as GPL3, and the GPL3 and the AGPL3 are compatible)

The JASP engine, with the filename JASPEngine is built from the JASP-Engine and JASP-Common folders in the JASP source tree. As a binary, it is released under the GPL2 (and cannot be released under the GPL3 because, at present, it has a number of R package dependencies which are GPL2 only).

Contributing to JASP

Individuals contributing to the JASP project should ensure that correct copyright and license statements are added to the beginnings of all source files.

Copyright declarations in source code

JASP source files should contain a copyright declaration (followed by the license details). If you are contributing as a University of Amsterdam employee, the University holds the copyright, and the copyright assignment should be something like:

// Copyright (C) 2013-2015 University of Amsterdam

If you are contributing a new file (that you have written), and are not an employee of the University of Amsterdam, then you should place a copyright assignment with your name:

// Copyright (C) 2015 John Smith

If you are modifying or adding to an existing file in the JASP project, then simply add your name to the copyright holders:

// Copyright (C) 2013-2015 University of Amsterdam, John Smith

License statement in source code

Following the copyright statement, a statement of the license should follow.

JASP-Desktop

.c, .cpp, and .h files in JASP-Desktop should have the following AGPL3+ header (year and copyright holders may vary).

//
// Copyright (C) 2015 University of Amsterdam
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public
// License along with this program.  If not, see
// <http://www.gnu.org/licenses/>.
//

JASP-Engine, JASP-Common

.c, .cpp, and .h files in JASP-Engine and JASP-Common should have the following GPL2+ header (year and copyright holders may vary).

//
// Copyright (C) 2015 University of Amsterdam
//
// 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, see <http://www.gnu.org/licenses/>.
//

JASP-Engine/JASP/R

.R files in JASP-Engine/JASP/R/* should have the following GPL2+ header (note that this is the same as above, but the lines begin with #'es) (year and copyright holders may vary).

#
# Copyright (C) 2013-2015 University of Amsterdam
#
# 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, see <http://www.gnu.org/licenses/>.
#