Reminder: Create & find trunk-related issues here. Legacy Trac tickets are still available. Problems? Workflow feedback? Need a module project? Open a support ticket.

OpenMRS Trunk

Add license to websites and code

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Should Should
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: OpenMRS 1.2.02
  • Component/s: None
  • Severity:
    3
  • Keywords:
  • Description:
    Hide

    We need to license our code. I suggest that we just adopt the Mozilla Public License 1.1, put it on the website and matching headers in our code...then we can debate about edits and/or switching to another license.

    Show
    We need to license our code. I suggest that we just adopt the Mozilla Public License 1.1, put it on the website and matching headers in our code...then we can debate about edits and/or switching to another license.
  1. AddLicense.java
    (3 kB)
    Burke Mamlin
    2008-03-23 22:33:57 EDT
  2. LicenseCommentPatch.patch
    (517 kB)
    Burke Mamlin
    2008-03-20 19:03:13 EDT

Activity

Hide
Burke Mamlin added a comment - 2007-06-25 13:44:02 EDT

We've adopted the OpenMRS Public License, but we still need to create a copyright statement that can be put at the top of each document (in the code).

Show
Burke Mamlin added a comment - 2007-06-25 13:44:02 EDT We've adopted the OpenMRS Public License, but we still need to create a copyright statement that can be put at the top of each document (in the code).
Hide
Burke Mamlin added a comment - 2007-06-25 18:04:50 EDT

Added this as header template for new classes (before package declaration):

/**
 * The contents of this file are subject to the OpenMRS Public License
 * Version 1.0 (the "License"); you may not use this file except in
 * compliance with the License. You may obtain a copy of the License at
 * http://license.openmrs.org
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific language governing rights and limitations
 * under the License.
 *
 * Copyright (C) OpenMRS, LLC.  All Rights Reserved.
 */

We'll need to retrofit this into all existing code.

Show
Burke Mamlin added a comment - 2007-06-25 18:04:50 EDT Added this as header template for new classes (before package declaration):
/**
 * The contents of this file are subject to the OpenMRS Public License
 * Version 1.0 (the "License"); you may not use this file except in
 * compliance with the License. You may obtain a copy of the License at
 * http://license.openmrs.org
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific language governing rights and limitations
 * under the License.
 *
 * Copyright (C) OpenMRS, LLC.  All Rights Reserved.
 */
We'll need to retrofit this into all existing code.
Hide
Saptarshi Purkayastha added a comment - 2008-03-20 19:03:13 EDT

LicenseCommentPatch

Show
Saptarshi Purkayastha added a comment - 2008-03-20 19:03:13 EDT LicenseCommentPatch
Hide
Saptarshi Purkayastha added a comment - 2008-03-23 22:33:57 EDT

The java program to add license comments

Show
Saptarshi Purkayastha added a comment - 2008-03-23 22:33:57 EDT The java program to add license comments
Hide
Ben Wolfe added a comment - 2008-03-24 13:23:46 EDT

The patch was committed to trunk in revision rev:3685. All java files now have the license. Do we want to put this in some of the /metadata files? (mapping files, scripts, etc)

Show
Ben Wolfe added a comment - 2008-03-24 13:23:46 EDT The patch was committed to trunk in revision rev:3685. All java files now have the license. Do we want to put this in some of the /metadata files? (mapping files, scripts, etc)

People

Dates

  • Created:
    2006-08-14 03:00:23 EDT
    Updated:
    2010-07-08 16:21:30 EDT
    Resolved:
    2010-07-01 22:39:58 EDT