This repository has been archived by the owner. It is now read-only.

Upgrade license to MPL 2. #859

wants to merge 1 commit into


None yet
4 participants

gerv commented Jan 10, 2012

Here's a first cut at upgrading the licence of the BrowseriD codebase to MPL 2, including adding licence blocks to files which lack them. Hopefully I haven't relicensed anything I shouldn't :-)

@lloyd lloyd closed this in 7bae598 Jan 10, 2012

@gerv do we need the license on HTML template files? Across our webapps and services, I think the majority do not have a license header.


gerv replied Jan 10, 2012

Every file should have a license statement unless it's trivial. Strictly speaking, without one, the licence is undefined, and the copyright default is "you can't do anything"! People normally don't actually follow that, but it's helpful for us to be clear about our intentions. Historically, we haven't been good at that; we are taking this opportunity to be better :-)

Great work on migrating all these files! Thanks again!

I'd vote to treat CSS and html templates as trivial, but I'll defer to you. I agree it should be a standard across Mozilla webapps and services.


gerv replied Jan 11, 2012

The particular file this note is attached to seems a bit more than trivial to me...

Good rule of thumb: if the licence boilerplate (3 lines) has more lines than the file, either use a PD declaration (2 lines; good for tests) or just leave it off. My script doesn't do this, but I have no problem with others doing it for new files in the future.


benadida commented Jan 11, 2012

I love that you just removed 3200 lines. I'm sold on MPL2 based only on that fact ;)

@c4milo c4milo referenced this pull request in hashicorp/yamux Sep 7, 2014


Please consider using Apache2 license instead. #5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.