ActiveState Powered by ActiveState

ActiveState Community


Mozilla license text for extensions

Posted by bcorfman on 2008-04-28 09:44
OS: All / Any

Some portions of my kNose JavaScript code were taken from Todd's Remote Drive Tree extension. When it comes to adding the license comments in my source code, how is it supposed to read? Currently the relevant comments say:

/* [snip]
 * The Original Code is kNose.
 *
 * The Initial Developer of the Original Code is Brandon Corfman.
 * Portions created by ActiveState Software Inc are Copyright (C) 2000-2008
 * ActiveState Software Inc. All Rights Reserved.
 *
 * Contributor(s):
 *   Brandon Corfman
 *   ActiveState Software Inc (Todd Whiteman - Remote Drive Tree)
 [snip] */

I have no experience with open source licenses, so I'd appreciate your help with marking it correctly.

Thanks
Brandon

shanec | Mon, 2008-04-28 10:42

Several of our extensions will be moved into the openkomodo repository in the near future. Remote Drive Tree should be under the MPL/GPL/LGPL tri-license, and have text in each file (e.g. src/chrome/komodo/content/about.js).

bcorfman | Mon, 2008-04-28 11:01

Right, but so far I can't find a licensing template for a new extension that borrows part of its code from another extension. The closest I've found is Todd's TODO extension, which has contributions from Renato Raver. In that case, the original code is still Todd's, and Renato is listed as a contributor. But in my case, is the original code kNose or Remote Drive Tree? And who is the original contributor, ActiveState or myself? That's where it gets confusing for me, especially when it's only the JavaScript parts of the code we are talking about.

shanec | Tue, 2008-04-29 17:37

If it's only the JS file, then that's the only place this is an issue. If your js is modified AS code, then mark us as original in that file. If you just used bits and pieces, then the "portions created by AS" mention is fine.

-->