threads / discuss / 38639

Fwd: Copyright on wildmatch.c

Subject: Fwd: Copyright on wildmatch.c

## tl;dr

12 messages between Feb 24, 2015 and Feb 24, 2015.

replies: 11people: 6as markdown or json

Guilherme· Feb 24, 2015, 08:08 UTC · lore
Hello,

I have already posted this to the users mailing list but i guess it's more appropriate to have it here.

---------- Forwarded message ----------
From: Guilherme <guibufolo@gmail.com>
Date: Tue, Feb 24, 2015 at 9:02 AM
Subject: Copyright on wildmatch.c
To: "git-users@googlegroups.com" <git-users@googlegroups.com>
Hello,

I'm trying to implement support for gitignore files in the_silver_searcher (https://github.com/ggreer/the_silver_searcher). It is a source code optimized version of grep. And it is way faster than ack.

The problems at hand is that I'd like to use wildmatch.c and some dependencies (hex.c, some portions of compat-util.h) but it seems that git is GPL whereas tss is Apache2 licensed.

Is there any possibility to re-license the files above to Apache2 for the TSS project?

If not, is there any c library that provides support gitignore patterns?

Thank you very much, Bufolo

Duy Nguyen· Feb 24, 2015, 08:58 UTC · re: Guilherme · lore

Re: Copyright on wildmatch.c

On Tue, Feb 24, 2015 at 3:08 PM, Guilherme <guibufolo@gmail.com> wrote:
> Hello,
>
> I have already posted this to the users mailing list but i guess it's
> more appropriate to have it here.
Related thread about relicensing wildmatch.c for tss
http://thread.gmane.org/gmane.comp.version-control.git/259764/focus=259798
Show 30 quoted lines
>
> ---------- Forwarded message ----------
> From: Guilherme <guibufolo@gmail.com>
> Date: Tue, Feb 24, 2015 at 9:02 AM
> Subject: Copyright on wildmatch.c
> To: "git-users@googlegroups.com" <git-users@googlegroups.com>
>
>
> Hello,
>
> I'm trying to implement support for gitignore files in
> the_silver_searcher (https://github.com/ggreer/the_silver_searcher).
> It is a source code optimized version of grep. And it is way faster
> than ack.
>
> The problems at hand is that I'd like to use wildmatch.c and some
> dependencies (hex.c, some portions of compat-util.h) but it seems that
> git is GPL whereas tss is Apache2 licensed.
>
> Is there any possibility to re-license the files above to Apache2 for
> the TSS project?
>
> If not, is there any c library that provides support gitignore patterns?
>
> Thank you very much,
> Bufolo
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Duy
Guilherme· Feb 24, 2015, 09:29 UTC · re: Duy Nguyen · lore

Re: Copyright on wildmatch.c

That discussion seems to have just died off.

Whom should i write to about making the license change effective? You (Duy Nguyen) seemed to be fine with the license change. Can you, or anyone else, further guide me on the process on making sure i can use the file(s) in TSS?

Thank you.
On Tue, Feb 24, 2015 at 9:58 AM, Duy Nguyen <pclouds@gmail.com> wrote:
Show 45 quoted lines
> On Tue, Feb 24, 2015 at 3:08 PM, Guilherme <guibufolo@gmail.com> wrote:
>> Hello,
>>
>> I have already posted this to the users mailing list but i guess it's
>> more appropriate to have it here.
>
> Related thread about relicensing wildmatch.c for tss
>
> http://thread.gmane.org/gmane.comp.version-control.git/259764/focus=259798
>
>>
>> ---------- Forwarded message ----------
>> From: Guilherme <guibufolo@gmail.com>
>> Date: Tue, Feb 24, 2015 at 9:02 AM
>> Subject: Copyright on wildmatch.c
>> To: "git-users@googlegroups.com" <git-users@googlegroups.com>
>>
>>
>> Hello,
>>
>> I'm trying to implement support for gitignore files in
>> the_silver_searcher (https://github.com/ggreer/the_silver_searcher).
>> It is a source code optimized version of grep. And it is way faster
>> than ack.
>>
>> The problems at hand is that I'd like to use wildmatch.c and some
>> dependencies (hex.c, some portions of compat-util.h) but it seems that
>> git is GPL whereas tss is Apache2 licensed.
>>
>> Is there any possibility to re-license the files above to Apache2 for
>> the TSS project?
>>
>> If not, is there any c library that provides support gitignore patterns?
>>
>> Thank you very much,
>> Bufolo
>> --
>> To unsubscribe from this list: send the line "unsubscribe git" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
>
> --
> Duy
Duy Nguyen· Feb 24, 2015, 09:46 UTC · re: Guilherme · lore

Re: Copyright on wildmatch.c

On Tue, Feb 24, 2015 at 4:29 PM, Guilherme <guibufolo@gmail.com> wrote:
Show 6 quoted lines
> That discussion seems to have just died off.
>
> Whom should i write to about making the license change effective? You
> (Duy Nguyen) seemed to be fine with the license change. Can you, or
> anyone else, further guide me on the process on making sure i can use
> the file(s) in TSS?
I'm not a lawyer, but I think after you double check
 - what Jonathan Neider wrote about GPLv3 and Apache2 is true
 - perhaps check with Anthony Ramine, who is the only person besides
me that has made changes in wildmatch.c, in b79c0c3 (wildmatch:
properly fold case everywhere - 2013-05-30)

then wildmatch.c is good for reuse. You probably need to check with other people who made changes in hex.c and git-compat-util.h. git-shortlog and git-blame could be used to get the email list of these people. But maybe it's just easier to rewrite those, hex.c is not big and I suspect you don't need much of git-compat-util.h.

-- 
Duy
Guilherme· Feb 24, 2015, 12:17 UTC · re: Duy Nguyen · lore

Re: Copyright on wildmatch.c

I'm not sure on how i would rewrite hex.c it is just an array.
>From git-compat-util.h i only needed a subset of the file (Lines 699

to 785), as you assumed, but rewriting it also seems pointless as it is only a few defines and 4 very short functions.

I have asked everybody who changed anything in those lines for their approval. I hope they all agree.

On Tue, Feb 24, 2015 at 10:46 AM, Duy Nguyen <pclouds@gmail.com> wrote:
Show 22 quoted lines
> On Tue, Feb 24, 2015 at 4:29 PM, Guilherme <guibufolo@gmail.com> wrote:
>> That discussion seems to have just died off.
>>
>> Whom should i write to about making the license change effective? You
>> (Duy Nguyen) seemed to be fine with the license change. Can you, or
>> anyone else, further guide me on the process on making sure i can use
>> the file(s) in TSS?
>
> I'm not a lawyer, but I think after you double check
>
>  - what Jonathan Neider wrote about GPLv3 and Apache2 is true
>  - perhaps check with Anthony Ramine, who is the only person besides
> me that has made changes in wildmatch.c, in b79c0c3 (wildmatch:
> properly fold case everywhere - 2013-05-30)
>
> then wildmatch.c is good for reuse. You probably need to check with
> other people who made changes in hex.c and git-compat-util.h.
> git-shortlog and git-blame could be used to get the email list of
> these people. But maybe it's just easier to rewrite those, hex.c is
> not big and I suspect you don't need much of git-compat-util.h.
> --
> Duy
Guilherme· Feb 24, 2015, 12:22 UTC · re: Guilherme · lore

Re: Copyright on wildmatch.c

Hello,

I'm writing to you in regards to the files ctypes.c which you have modified part of in the git project.

I'm currently working on integrating gitignore pattern matching into the_sivler_searcher(http://github.com/ggreer/the_silver_searcher). PR https://github.com/ggreer/the_silver_searcher/pull/614

For that i needed wildmatch.c and it's dependencies. That is parts of ctypes.c lines 8 to 31.

Unfortunately TSS is Apache licensed wheras git is GPL, those licenses are incompatible and thus i ask if you agree that your portion if the code is also licensed under Apache2 for the use in TSS.

You can follow the discussion under http://article.gmane.org/gmane.comp.version-control.git/264312

Thank you very much, Bufolo

Guilherme· Feb 24, 2015, 12:34 UTC · re: Guilherme · lore

Re: Copyright on wildmatch.c

This is just an email to all the people i have written in private about relicensing the files in need in TSS so they can reply to this email and it be recorded in the mailing list.

The files are part of ctypes.c hex.c git-compat-util.h.
On Tue, Feb 24, 2015 at 1:22 PM, Guilherme <guibufolo@gmail.com> wrote:
Show 21 quoted lines
> Hello,
>
> I'm writing to you in regards to the files ctypes.c
> which you have modified part of in the git project.
>
> I'm currently working on integrating gitignore pattern matching into
> the_sivler_searcher(http://github.com/ggreer/the_silver_searcher). PR
> https://github.com/ggreer/the_silver_searcher/pull/614
>
> For that i needed wildmatch.c and it's dependencies. That is parts of
> ctypes.c lines 8 to 31.
>
> Unfortunately TSS is Apache licensed wheras git is GPL, those licenses
> are incompatible and thus i ask if you agree that your portion if the
> code is also licensed under Apache2 for the use in TSS.
>
> You can follow the discussion under
> http://article.gmane.org/gmane.comp.version-control.git/264312
>
> Thank you very much,
> Bufolo
Guilherme· Feb 24, 2015, 12:54 UTC · re: Guilherme · lore

Re: Copyright on wildmatch.c

This is CC to Anthony Ramine.
On Tue, Feb 24, 2015 at 1:34 PM, Guilherme <guibufolo@gmail.com> wrote:
Show 28 quoted lines
> This is just an email to all the people i have written in private
> about relicensing the files in need in TSS so they can reply to this
> email and it be recorded in the mailing list.
>
> The files are part of ctypes.c hex.c git-compat-util.h.
>
> On Tue, Feb 24, 2015 at 1:22 PM, Guilherme <guibufolo@gmail.com> wrote:
>> Hello,
>>
>> I'm writing to you in regards to the files ctypes.c
>> which you have modified part of in the git project.
>>
>> I'm currently working on integrating gitignore pattern matching into
>> the_sivler_searcher(http://github.com/ggreer/the_silver_searcher). PR
>> https://github.com/ggreer/the_silver_searcher/pull/614
>>
>> For that i needed wildmatch.c and it's dependencies. That is parts of
>> ctypes.c lines 8 to 31.
>>
>> Unfortunately TSS is Apache licensed wheras git is GPL, those licenses
>> are incompatible and thus i ask if you agree that your portion if the
>> code is also licensed under Apache2 for the use in TSS.
>>
>> You can follow the discussion under
>> http://article.gmane.org/gmane.comp.version-control.git/264312
>>
>> Thank you very much,
>> Bufolo
Anthony Ramine· Feb 24, 2015, 13:35 UTC · re: Guilherme · lore

Re: Copyright on wildmatch.c

I agree to relicense my contributions on wildmatch.c under the Apache license.
Le 24 févr. 2015 à 13:54, Guilherme <guibufolo@gmail.com> a écrit :
Show 31 quoted lines
> This is CC to Anthony Ramine.
> 
> On Tue, Feb 24, 2015 at 1:34 PM, Guilherme <guibufolo@gmail.com> wrote:
>> This is just an email to all the people i have written in private
>> about relicensing the files in need in TSS so they can reply to this
>> email and it be recorded in the mailing list.
>> 
>> The files are part of ctypes.c hex.c git-compat-util.h.
>> 
>> On Tue, Feb 24, 2015 at 1:22 PM, Guilherme <guibufolo@gmail.com> wrote:
>>> Hello,
>>> 
>>> I'm writing to you in regards to the files ctypes.c
>>> which you have modified part of in the git project.
>>> 
>>> I'm currently working on integrating gitignore pattern matching into
>>> the_sivler_searcher(http://github.com/ggreer/the_silver_searcher). PR
>>> https://github.com/ggreer/the_silver_searcher/pull/614
>>> 
>>> For that i needed wildmatch.c and it's dependencies. That is parts of
>>> ctypes.c lines 8 to 31.
>>> 
>>> Unfortunately TSS is Apache licensed wheras git is GPL, those licenses
>>> are incompatible and thus i ask if you agree that your portion if the
>>> code is also licensed under Apache2 for the use in TSS.
>>> 
>>> You can follow the discussion under
>>> http://article.gmane.org/gmane.comp.version-control.git/264312
>>> 
>>> Thank you very much,
>>> Bufolo
René Scharfe· Feb 24, 2015, 15:58 UTC · re: Guilherme · lore

Re: Copyright on wildmatch.c

Am 24.02.2015 um 13:34 schrieb Guilherme:
Show 22 quoted lines
> This is just an email to all the people i have written in private
> about relicensing the files in need in TSS so they can reply to this
> email and it be recorded in the mailing list.
>
> The files are part of ctypes.c hex.c git-compat-util.h.
>
> On Tue, Feb 24, 2015 at 1:22 PM, Guilherme <guibufolo@gmail.com> wrote:
>> Hello,
>>
>> I'm writing to you in regards to the files ctypes.c
>> which you have modified part of in the git project.
>>
>> I'm currently working on integrating gitignore pattern matching into
>> the_sivler_searcher(http://github.com/ggreer/the_silver_searcher). PR
>> https://github.com/ggreer/the_silver_searcher/pull/614
>>
>> For that i needed wildmatch.c and it's dependencies. That is parts of
>> ctypes.c lines 8 to 31.
>>
>> Unfortunately TSS is Apache licensed wheras git is GPL, those licenses
>> are incompatible and thus i ask if you agree that your portion if the
>> code is also licensed under Apache2 for the use in TSS.
That's fine with me.
René
Jim Meyering· Feb 24, 2015, 22:16 UTC · re: Guilherme · lore

Re: Copyright on wildmatch.c

On Tue, Feb 24, 2015 at 4:34 AM, Guilherme <guibufolo@gmail.com> wrote:
Show 22 quoted lines
> This is just an email to all the people i have written in private
> about relicensing the files in need in TSS so they can reply to this
> email and it be recorded in the mailing list.
>
> The files are part of ctypes.c hex.c git-compat-util.h.
>
> On Tue, Feb 24, 2015 at 1:22 PM, Guilherme <guibufolo@gmail.com> wrote:
>> Hello,
>>
>> I'm writing to you in regards to the files ctypes.c
>> which you have modified part of in the git project.
>>
>> I'm currently working on integrating gitignore pattern matching into
>> the_sivler_searcher(http://github.com/ggreer/the_silver_searcher). PR
>> https://github.com/ggreer/the_silver_searcher/pull/614
>>
>> For that i needed wildmatch.c and it's dependencies. That is parts of
>> ctypes.c lines 8 to 31.
>>
>> Unfortunately TSS is Apache licensed wheras git is GPL, those licenses
>> are incompatible and thus i ask if you agree that your portion if the
>> code is also licensed under Apache2 for the use in TSS.
Fine by me.
Junio C Hamano· Feb 24, 2015, 18:59 UTC · re: Guilherme · lore

Re: Copyright on wildmatch.c

Guilherme <guibufolo@gmail.com> writes:
Show 5 quoted lines
> I'm not sure on how i would rewrite hex.c it is just an array.
>
> From git-compat-util.h i only needed a subset of the file (Lines 699
> to 785), as you assumed, but rewriting it also seems pointless as it
> is only a few defines and 4 very short functions.

I do not think I have any contributions of significance under copyright protection in the parts of that file. The ctype-related lines in git-compat-util.h attribute to me primarily because they were moved by 4050c0df (Clean up compatibility definitions, 2005-12-05) from what Linus wrote in another file to the present location.

← back to recent threads