# Re: Reftable format implementation in C and Go

3 messages from 2019-11-20 to 2019-11-20. Participants: Johannes Schindelin, Han-Wen Nienhuys, Pratyush Yadav.
Thread: https://gitlist.dev/t/52298

## Johannes Schindelin, 2019-11-20 11:48

Subject: Re: Reftable format implementation in C and Go
Message-ID: <nycvar.QRO.7.76.6.1911201247410.15956@tvgsbejvaqbjf.bet>
URL: https://gitlist.dev/e/nycvar.QRO.7.76.6.1911201247410.15956%40tvgsbejvaqbjf.bet
In-Reply-To: <CAFQ2z_Pe1Pdjy22VmCMzf4Gvx3wte1eQRn_PjSisJbr9_y7bbg@mail.gmail.com>

```
Hi Han-Wen,

On Tue, 19 Nov 2019, Han-Wen Nienhuys wrote:

> I spent the last few weeks cobbling together an implementation of the
> reftable format in C and in Go. I thought this would be cool to add to
> git-core, but I doubt whether I will have enough time to see such an effort
> through. Maybe some of you would want to  try integrating it into the
> Git-core code base?  Example code is here:
>
>   https://github.com/google/reftable/blob/master/c/api.h#L153

Awesome!

Would you mind, however, to relicense the code under a license compatible
with GPLv2? Currently your code is under the Apache License (which I heard
somewhere is probably incompatible with the GPLv2 used by the Git
project):
https://github.com/google/reftable/blob/6cd8dbb4106d18627f442d3148de71d7db43d4b6/c/api.h#L1-L13

Thanks,
Dscho

>
> cheers!
> --
> Han-Wen Nienhuys - Google Munich
> *I work 80%. Don't expect answers from me on Fridays.*
> --
>
> Google Germany GmbH, Erika-Mann-Strasse 33, 80636 Munich
>
> Registergericht und -nummer: Hamburg, HRB 86891
>
> Sitz der Gesellschaft: Hamburg
>
> Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
>

```

## Han-Wen Nienhuys, 2019-11-20 14:22

Subject: Re: Reftable format implementation in C and Go
Message-ID: <CAFQ2z_PBPPQuJYA-mvKz532GikBXureOi1ePr7YdBRJbxOJCeA@mail.gmail.com>
URL: https://gitlist.dev/e/CAFQ2z_PBPPQuJYA-mvKz532GikBXureOi1ePr7YdBRJbxOJCeA%40mail.gmail.com
In-Reply-To: <CAFQ2z_PiuFe=ZKNaZG3=2AqjcNRb-k5-CYSXeN6MQ0r5sv4S=g@mail.gmail.com>

```
On Wed, Nov 20, 2019 at 6:19 AM Han-Wen Nienhuys <hanwen@google.com> wrote:
>> Would you mind, however, to relicense the code under a license compatible
>> with GPLv2? Currently your code is under the Apache License (which I heard
>> somewhere is probably incompatible with the GPLv2 used by the Git
>> project):
>> https://github.com/google/reftable/blob/6cd8dbb4106d18627f442d3148de71d7db43d4b6/c/api.h#L1-L13
>>

according to our open source lawyers, Apache is actually compatible
with GPLv2, but I think we could dual-license the code.


-- 
Han-Wen Nienhuys - Google Munich
I work 80%. Don't expect answers from me on Fridays.
--
Google Germany GmbH, Erika-Mann-Strasse 33, 80636 Munich
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Paul Manicle, Halimah DeLaine Prado

```

## Pratyush Yadav, 2019-11-20 14:34

Subject: Re: Reftable format implementation in C and Go
Message-ID: <20191120143428.u3rmuufhphbntgm5@yadavpratyush.com>
URL: https://gitlist.dev/e/20191120143428.u3rmuufhphbntgm5%40yadavpratyush.com
In-Reply-To: <CAFQ2z_PBPPQuJYA-mvKz532GikBXureOi1ePr7YdBRJbxOJCeA@mail.gmail.com>

```
On 20/11/19 06:22AM, Han-Wen Nienhuys wrote:
> On Wed, Nov 20, 2019 at 6:19 AM Han-Wen Nienhuys <hanwen@google.com> wrote:
> >> Would you mind, however, to relicense the code under a license compatible
> >> with GPLv2? Currently your code is under the Apache License (which I heard
> >> somewhere is probably incompatible with the GPLv2 used by the Git
> >> project):
> >> https://github.com/google/reftable/blob/6cd8dbb4106d18627f442d3148de71d7db43d4b6/c/api.h#L1-L13
> >>
> 
> according to our open source lawyers, Apache is actually compatible
> with GPLv2, but I think we could dual-license the code.

The GNU website [0] says:

  Apache License, Version 2.0

    This is a free software license, compatible with version 3 of the GNU GPL.

    Please note that this license is not compatible with GPL version 2, 
    because it has some requirements that are not in that GPL version. 
    These include certain patent termination and indemnification 
    provisions. The patent termination provision is a good thing, which 
    is why we recommend the Apache 2.0 license for substantial programs 
    over other lax permissive licenses.

[0] https://www.gnu.org/licenses/license-list.html#apache2

-- 
Regards,
Pratyush Yadav

```
