git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jeff King <peff@peff.net>
To: Elijah Newren <newren@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: Contribution licensing question(s)
Date: Wed, 1 Nov 2017 14:38:29 -0400	[thread overview]
Message-ID: <20171101183829.mwoi7urka3hze3pm@sigill.intra.peff.net> (raw)
In-Reply-To: <CABPp-BF5Aitu05X83Lbm+8rWKojOnNNec_4bf5PRy+hKZGPPHw@mail.gmail.com>

On Wed, Nov 01, 2017 at 08:50:00AM -0700, Elijah Newren wrote:

> Background: git's README.md file points out that some parts of git are
> under a license other than GPLv2 (while still GPLv2-compatible),
> though it doesn't state which one(s)

I think this note is mostly about code we've imported from elsewhere.
For example, libxdiff seems to be under LGPL.

> or what a contributor might want
> to do if they want to grant permission under one of those more
> permissive license(s).

If it's a whole file or subsystem that can be used standalone, I think
it would make sense to mark the copyright at the top of the file (like
xdiff does).

For smaller bits or changes to GPL'd code, it's not clear to me if you
can meaningfully dual-license them. I.e., I think you hit a question of
whether small changes are copyrightable in themselves or if they're
simply a derived work of Git. I'll leave that one to people more clueful
about legal issues.

> 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 and perhaps other projects, though I
> can't find any trace of this in the codebase.

This was mostly done for the libgit2 project, which uses GPL with a
linking exception:

  https://github.com/libgit2/libgit2/blob/master/COPYING

When that project started, they asked for dual-license permission from
various git.git contributors, which is documented in that repo:

  https://github.com/libgit2/libgit2/blob/master/git.git-authors

> 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?  If so, which license(s) have
> folks gravitated towards for these contributions, and how would one
> mark their submitted patches?

Hopefully the above answers most of these questions. But I think in
general the approach is not "license it differently in git.git", but
"grant those other projects a different license to use your code, too".

-Peff

  parent reply	other threads:[~2017-11-01 18:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-01 15:50 Contribution licensing question(s) Elijah Newren
2017-11-01 18:32 ` Stefan Beller
2017-11-01 18:38 ` Jeff King [this message]
2017-11-01 18:59   ` Elijah Newren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171101183829.mwoi7urka3hze3pm@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=newren@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).