14 Jan 2010 21:16
Licensing of Mozilla website code
Jeff Balogh <jbalogh <at> mozilla.com>
2010-01-14 20:16:31 GMT
2010-01-14 20:16:31 GMT
Greetings all, Over in webdev, we've been having some unproductive arguments over how our website code should be licensed. I'm hoping this list will be able to enlighten us. The repo in question is http://github.com/jbalogh/zamboni/, the new version of addons.mozilla.org. Bug 539671 asks that we add a license to that repository. I'd like to license our web code under a simple, permissive license like the BSD. I find clause 3.5 of the MPL, which requires a duplicate of the license text in every source file, onerous and fatiguing in our repositories. We create a lot of small files with code or templated HTML, and often the 40 lines of boilerplate license outweighs the lines of code. Even with large files, the first thing I invariably see when opening a file is a full screen of license. I can try to hide it with my text editor, but I look at our code in more than just a text editor. Sometimes I work with it on the command line, often I look at it through a web interface, and hiding the license for myself doesn't help all the other people who look at our code. It feels slightly trivial to complain about 40 lines so much, but I think the developer ergonomics of confronting the license at every turn are poor. In addition, the community we're working with uses and shares primarily BSD-licensed packages. I'm not sure if there are any restrictions to importing MPL code into a mostly-BSD codebase, but I'd(Continue reading)
> I'd like to license our web code under a simple, permissive license
> like the BSD. I find clause 3.5 of the MPL, which requires a
> duplicate of the license text in every source file, onerous and
> fatiguing in our repositories.
I agree entirely. If the MPL is ever revised, this will be one of the
first things to be fixed.
> In addition, the community we're working with uses and shares
> primarily BSD-licensed packages. I'm not sure if there are any
> restrictions to importing MPL code into a mostly-BSD codebase, but I'd
> like to make our interactions with them as smooth as possible. Advice
> on this point would be appreciated.
Here's the advice: you cannot import MPLed code into a BSD-licensed
codebase if you want the result to be BSD-licensed. And I suspect that
third party libraries would not appreciate the additional licensing
complexity of having some of their code MPL and the rest BSD. However,
if you know who the copyright owners are and have their permission, then
of course you can copy it over. And I'd expect changes made directly to
those packages to be made BSD to start with (and our licence policy is
cool with that - point 4).
RSS Feed