From: "brian m. carlson" <sandals@crustytoothpaste.net>
To: Kevin Gale <s7g2vp2@yahoo.co.uk>
Cc: git@vger.kernel.org
Subject: Re: Embedding Git Command Line
Date: Thu, 16 May 2024 15:15:27 +0000 [thread overview]
Message-ID: <ZkYjD7VGC4zLhRDF@tapette.crustytoothpaste.net> (raw)
In-Reply-To: <36B52407-B52F-4394-8DF2-F2DF3D3F0504@yahoo.co.uk>
[-- Attachment #1: Type: text/plain, Size: 1972 bytes --]
On 2024-05-16 at 12:04:35, Kevin Gale wrote:
> Hi.
Hey,
> What I would like to know is if integrating with the command line tools would still fall foul of the GPLv2 license or if there is an exception like there is for libgit2.
First of all, I'm not a lawyer and this is not legal advice. However,
having said that, I think the common understanding is that it's fine to
call out to a GPL binary from your proprietary program without violating
the license, unless the output is a derivative work. Usually that's not
the case; it would only usually be so if the output included part of the
GPL software's source code, such as a parser generator. The FSF has a
FAQ[0] that covers this to some extent, which calls the approach of
calling out to the program a form of "communicat[ing] at arms length".
As a major copyright holder in Git, I don't see a problem from my
perspective with a proprietary piece of software calling out to Git as a
separate binary. Git is designed to provide scripting interfaces so
it's easy to use from a variety of software. You would of course need
to provide the source to the version of Git you distribute and the
copyright and license information as well, in compliance with the
license. Note also that if you are distributing Git, you cannot link it
against GPL-incompatible software (e.g., OpenSSL) unless that
GPL-incompatible software is distributed independently as part of the
operating system.
I also want to be clear that this is my understanding as a layperson and
my interpretation as a contributor to and copyright holder in Git, but
it isn't binding on anyone else here. If you want a legal opinion, you
need to consult a lawyer licensed in your jurisdiction who has
experience in FLOSS copyright law. Nobody here can provide you such
an opinion.
[0] https://www.gnu.org/licenses/gpl-faq.html#GPLInProprietarySystem
--
brian m. carlson (they/them or he/him)
Toronto, Ontario, CA
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
next prev parent reply other threads:[~2024-05-16 15:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <36B52407-B52F-4394-8DF2-F2DF3D3F0504.ref@yahoo.co.uk>
2024-05-16 12:04 ` Embedding Git Command Line Kevin Gale
2024-05-16 15:15 ` brian m. carlson [this message]
2024-05-16 18:17 ` Konstantin Khomoutov
2024-05-18 19:50 ` Johannes Schindelin
2024-05-21 16:00 ` Konstantin Khomoutov
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZkYjD7VGC4zLhRDF@tapette.crustytoothpaste.net \
--to=sandals@crustytoothpaste.net \
--cc=git@vger.kernel.org \
--cc=s7g2vp2@yahoo.co.uk \
/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.
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 NNTP newsgroup(s).