User contribution to Core

Erin Catto wrote:
On this topic, I'm thinking of moving the source to Google code. Any opinions on that?

I've always liked Google code a lot more than SF, mainly because I use my Google account a lot and their interface is so much cleaner. Only problem, from what I remember the choice of license wasn't too flexible. zlib is not an option, and the closest you can get is the New BSD license.

Quote:
Eric, do you know how someone can assign copyright to me? Apparently other projects do this.

Well, once the "I'm not a lawyer" disclaimer is out of the way...I looked into it a bit, and whereas my initial impression was that all that was necessary was a simple statement to the effect of "I transfer all copyright claims on Box2d code to Erin Catto," I'm not so sure now, it appears that something more substantial may need to be in writing, though filing is not necessary. The copyright office says that copyright transference happens via contract, but they don't offer a prefab form for it.

The FSF uses a standard form for this sort of thing, apparently: http://www.mail-archive.com/license-dis ... 02869.html . Keep in mind, item 4) in that agreement obligates the FSF to distribute the software as free software, and is a clause that often does not appear in other agreements of this kind.

Here's a blog entry talking about Sun's position on the matter, explaining a bit of the "why" behind copyright assignment: http://danesecooper.blogs.com/divablog/ ... assig.html

It seems it's not quite as simple as I would have hoped - in both of these cases (Apache seems to do this, too) they require either a snail-mail form or a scanned signed agreement, whereas what I was thinking was more along the lines of a simple e-mail (which is how I've "signed" several NDAs and contracts over the past few years).

Again, bearing in mind the "not a lawyer" thing, and advising you to consult one if you're uncomfortable, I'd think you should be just fine if people electronically signed ("I, <insert name>, hereby affix my electronic signature to this document and agree to all the terms specified therein.") something like the FSF agreement through e-mail. You're far less likely than Sun or the FSF to end up in court fighting high priced attorneys over violations of the license (there's not really much of note to enforce with zlib, since there's no requirement to redistribute; the only violation imaginable is pretty much if someone directly tries to pass off your code as their own without the notice attached). Electronic signatures are generally held to be valid (http://en.wikipedia.org/wiki/Electronic_signature), and in this case we're only talking about a few people that have a long standing, publicly verifiable relationship with the project, so I can't imagine you'd run into trouble there; the other organizations are just being extra cautious, if I had to guess.
I'm not too worried about any copyright disputes with the current list of contributors. So I'm thinking about sending around something simple like this:

Code:
I <insert name> hereby assign all copyrights on my contributions to the Box2D open source physics engine to Erin Catto.

I, <insert name>, hereby affix my electronic signature to this document and agree to all the terms specified therein.

<insert date>


Does that look okay?

I'm planning for all future contributions to go into a separate folder. Do you think any agreement should be made for those files?
Zlib is not really designed for open source work. You can tell just by reading it, it makes no note of changes. On the other hand, it's absurdly free. I should imagine it's possible to move to more restrictive licences, close source and sell the code, all within the terms of the original licence. You just get these "legacy" disclaimers at the top of the source, but you don't have to put those in every source file, that's just convention.
Yup, that looks okay to me, Erin. Re: contributions, that really depends if you feel like you'd like to be free to change licenses on those as well, and have 100% ownership of everything in the project. Personally, I'd probably leave it up to the contributors to choose licenses - there are cases where I can imagine someone building off of GPL code for things like creation tools, which could still be used by everyone without licensing worries since they don't get included in the games themselves, and I think as long as they're segregated from the core, that should be fine.

For some things people might not care about copyright, in which case you might as well see if they want to assign ownership to you for convenience, but otherwise, I'd still accept the contributions as long as they are under some sort of free software license (defer to FSF's definition of "free"), since they'll generally be useful to someone.

BorisTheBrave wrote:
I should imagine it's possible to move to more restrictive licences, close source and sell the code, all within the terms of the original licence.

Absolutely - someone could pick up any zlib project (or BSD, for that matter) and throw it on the shelf as their own project without any problem, all completely within the license terms. One copy-paste from SVN, and "Eric's Super-Spectacular Physics Engine" hits teh interwebs, buy now for the low, low price of $10,000 per dev seat!, and there's nothing anybody could do about it since I'm within the license terms. 🙂

You can view this as a plus or a minus at your discretion, of course, but it's deliberate in the license. Think of it as "just barely not public domain" and you're pretty much right on.
Yeah, I'm mainly concerned about preserving my ability to do whatever I want with the code rather than restricting other people's usage.

I hope people make money off of Box2D. That means it is useful.

The only restriction I want on the code is that other people can't claim they wrote it.

Original thread: https://box2d.org/forum/viewtopic.php?t=3466