← Back to team overview

mahara-contributors team mailing list archive

[Bug 1211621] Re: Correct license info in file headers

 

We are going to make this change once we have all new files in Mahara,
i.e. right before the release of RC 1.

We are going to do the following:

1. We have one file in Mahara that contains the copyright information. I would create LICENSE.txt.
2. Text as per below.
3. Each other file includes the following sentence at the top: For copyright information on Mahara, please see [path to the file].
4. We should also include two @ lines so that license and copyright information is properly picked up by documentation tools that can display such information. Check with Aaron who that might look like as he had a tool installed to check. I think it is the following two lines:

---
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later
* @copyright For copyright information on Mahara, please see [path to the file]
---

3. If a file contains bits and pieces from someone else with different
copyright, then that is added below our general copyright sentence
directly in that one file.

================
Updated text for license page:

* Copyright (C) 2006-2013 Catalyst IT and others; see:
* http://wiki.mahara.org/Contributors
*
* 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, version 3 or later of the License.
*
* 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/>.
*
* @package mahara
* @subpackage core
* @author Catalyst IT
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later
* @copyright (C) 2006-2013 Catalyst IT http://catalyst.net.nz

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1211621

Title:
  Correct license info in file headers

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  The license info currently reads:

  ----
  * 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 3 of the License, or
   * (at your option) any later version.
  ----

  To avoid any confusion, it should be corrected to read

  ----
  * 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 3 or later of the License.
  -----

  The text appears as comment in probably pretty much every file in
  Mahara but also on the installation screen.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1211621/+subscriptions


References