On Wed, Nov 1, 2017 at 8:50 AM, Elijah Newren <newren@xxxxxxxxx> wrote: > Hi, > > My employer has a new-ish open-source-contribution process, and is > curious about some licensing question(s) before I submit a few patch > series. cool. :) > Background: git's README.md file points out that some parts of git are > under a license other than GPLv2 (while still GPLv2-compatible), e.g. xdiff/* seems to have headers indicating it is LGPL. otherwise I suspect contrib/ to be a fun place to look for different licenses. IIUC, the files in builtin/ as well as the root of the git repo are all GPLv2, though I am not your lawyer. > though it doesn't state which one(s) or what a contributor might want > to do if they want to grant permission under one of those more I'd be surprised if we had anything more permissive than GPL, e.g. BSD, APACHE in the tree outside of contrib/. > permissive license(s). Also, I seem to recall that years ago there > were requests to make code available under a slightly more permissive > license to allow re-usage in jgit JGit is in Java, so you have to rewrite the code anyway? > and perhaps other projects, though I > can't find any trace of this in the codebase. git's COPYING file has > wording suggesting how to make a license transition (to GPLv3) easier, > but only considers completely new files as opposed to (significant) > modifications to existing files. I think going to GPLv3 is a pipe dream by now: git shortlog -sne | wc -l 1589 It will be hard to identify all the contributors that had meaningful contributions (more than a typofix?) and ask them if they agree on a re-licensing of the code they submitted at the time. These potential contributors may have changed their email address (e.g. by switching jobs, whereas the copyright is with the employer anyways, usually. :/) > I'm not sure whether my specific git contributions would matter to > jgit (which we also use internally, both directly and indirectly), but > generally, is contributing under a more permissive GPLv2-compatible > license to permit re-usage in other projects like jgit (or for easing > future license switches) still relevant? Contributions to git ask for your 'sign off', which ensures that the conditions in https://developercertificate.org/ are met. The first point points out "open source license indicated in the file". However most files (e.g. git.c) have no license header and just assume the license as in COPYING. > If so, which license(s) have > folks gravitated towards for these contributions, and how would one > mark their submitted patches? That is an interesting question. When adding new files, maybe by a file header? Existing files are more interesting though. Stefan