|
|
Log in / Subscribe / Register

Class action against GitHub Copilot

Class action against GitHub Copilot

Posted Nov 14, 2022 9:24 UTC (Mon) by LtWorf (subscriber, #124958)
In reply to: Class action against GitHub Copilot by Wol
Parent article: Class action against GitHub Copilot

If I copy paste a function from a MIT licensed file and another from a GPL licensed file, which licenses can I apply to my resulting file?

AFAIK It's only GPL and AGPL.

The authors of the MIT licensed file might not like the GPL but they did not restrict this kind of use.

It is however true that care should be taken to not mix code with incompatible licenses, so it's not so easy as "just license everything under AGPL".

By the way people say AGPL because it's the most restrictive of the famous ones.


to post comments

Class action against GitHub Copilot

Posted Nov 14, 2022 14:29 UTC (Mon) by Wol (subscriber, #4433) [Link] (8 responses)

Neither? It's not your code?

The file is only *distributable* under the GPL, but you cannot apply any licence to code you did not write. The licence(s) that apply to the file are the licences the authors/owners applied. Any recipient can (if they know the history) copy the BSD function from that file, and distribute it under BSD.

Cheers,
Wol

Class action against GitHub Copilot

Posted Nov 14, 2022 21:07 UTC (Mon) by LtWorf (subscriber, #124958) [Link] (7 responses)

> Neither? It's not your code?

I know it's not my code but it seems I'm free to relicense MIT to GPL, and of course license the following mod

https://news.ycombinator.com/item?id=19489157

Class action against GitHub Copilot

Posted Nov 14, 2022 21:50 UTC (Mon) by sfeam (subscriber, #2841) [Link] (2 responses)

That very analysis you link to states the opposite: it is not possible to relicense code to GPL. It is possible to include MIT code with GPL code, but this does not have the effect of changing the MIT license to something else. The original copyright, and the original permission to distribute under MIT terms (not GPL) continues to exist. Whether any of that applies to the Copilot case is another matter. I am inclined to think that if the operation of Copilot is deemed to be permissible because it constitutes the training of an automated system, then its output is neither a compilation nor an original creative work and therefore is not subject to copyright at all. Thus the question of license becomes moot unless and until the output is re-worked as part of a larger whole that is copyrightable and could be licensed (or challenged) at that time.

Class action against GitHub Copilot

Posted Nov 15, 2022 9:44 UTC (Tue) by farnz (subscriber, #17727) [Link] (1 responses)

I disagree with your analysis of Copilot, by analogy to a human.

Letting a human read text is not, in and of itself, an infringing activity. Nor is the resulting brain state in the human, even if it includes literal copies of text code they read. But the output of a human can itself be infringing, if instead of using my training to inform what I do, I regurgitate memorised chunks of text.

I expect the same principles to apply to Copilot and similar systems; training Copilot is not infringing. The resulting model is not infringing in and of itself. The output from the system, can, however, be infringing, and the degree to which it is a legal problem depends on the degree of infringement, and the extent to which the system disguises the origins of the code (in terms of contributory infringement, if I tell you that I'm showing you sample code from a given source, and you copy it, that's a different case to if I give you code that I do not attribute).

Class action against GitHub Copilot

Posted Nov 17, 2022 10:25 UTC (Thu) by NRArnot (subscriber, #3033) [Link]

Exactly what I was thinking. Also, whereas a human *might* accidentally regurgitate variable names as well as a learned code structure, an AI can be explicitly required to use generic variable names. The question then becomes a hard one. At what point is a chunk of code a derived work, rather than created from scratch? Haven't we been here before, with arguments about copyright of header files and APIs which cannot ever be written any other way?

for obj in object_list: obj.do_stuff() is surely fair, however the AI arrived at it.

for sd5obj in sd5_get_blue_meanies(): sd5obj.frobnicate_from_sd4( ) is surely a verbatim copy of somebody's identifiable code, and should at the very least be attributed.

Class action against GitHub Copilot

Posted Nov 14, 2022 22:17 UTC (Mon) by Wol (subscriber, #4433) [Link] (3 responses)

" including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,"

You clearly didn't read the thread you pointed at.

The MIT licence allows SUBlicencing, ie applying other terms on top. According to your thread, there is no such thing as relicencing, certainly I've never seen that in any legal document.

And as I understand English, RElicencing means throwing out the old licence, and replacing it with a new one. No open source licence I've come across allows any such thing. As I understand the meaning of the word "relicencing", in practice this has precious little difference from handing over the copyright.

And that's also why/how you can extract the original code under the original licence. If it had been RElicenced, you wouldn't be able to get the original licence back.

Cheers,
Wol

Class action against GitHub Copilot

Posted Nov 15, 2022 23:46 UTC (Tue) by NYKevin (subscriber, #129325) [Link] (2 responses)

I'm not sure "relicensing" is even a thing in legal terms. Let's clarify a few ideas. Suppose we have some software that was written by person A. A gives a copy to B, and B gives a copy to C. Then:

* With both the GPL and the MIT license, A automatically extends a license to each person who obtains a copy of the software, by whatever means. In our example, this means that A gives a license to B and to C.
* With the MIT license, B may optionally give a different license to C (or, in principle, the same license, but that would be kind of pointless). This is called a "sublicense." It does not extinguish the original license, so C can decide which license to comply with. However, as a general rule in most jurisdictions, the sublicense cannot be broader than the rights that B already enjoys under the MIT license in the first place - you can't give what you don't have.
* In the context where the sublicense is the GPL, C is still required to comply with the MIT license's formalities. Obviously, B is also required to comply with those formalities. In practice, this is usually done simply by copying the copyright and license into a comment at the top of the file, but there are other ways of complying. If you're distributing binaries, you might need to take additional measures to ensure a copy of the license is still visible somewhere.
* Under the GPL, sublicensing is forbidden - C can only get the license directly from A. A and C never need to communicate in order to do this. The license, as mentioned above, springs into being automatically as soon as C has a copy of the software, regardless of how A or B may feel about that. I'm pretty sure the FSF did this to prevent B from placing "additional restrictions" on the sublicense.
* In principle, we could imagine a license which does not have this automatic property, where all rights have to be conveyed by explicit sublicensing (sort of the inverse of how the GPL works). This is inconvenient, so nobody does it in the FOSS world, but I imagine it's more common in environments where permissions are more closely guarded.
* We could also imagine a license which terminates as soon as you accept a sublicense from somebody else. This would make sublicensing have the effect of extinguishing the original license, and allow intermediaries to restrict downstream users' rights via clickwrap licenses. Again, this is unheard of in the FOSS world, but to my understanding it is not unlawful. I suppose you could call that operation "relicensing," but in practice, I don't think this is really a thing that anyone does.

Class action against GitHub Copilot

Posted Nov 16, 2022 5:50 UTC (Wed) by unilynx (guest, #114305) [Link] (1 responses)

I’m not sure anything of this works this way for a sub license from B to C if B is just providing a copy

The license is a promise not to sue for copyright infringement providing you follow certain requirements.

C has the same rights as B in your case no matter what B said, as B has no standing to sue for copyright infringement as he does not have any copyright.

(Unless A specifically provided the product to B with the understanding that the MIT license would only be valid to B)

Class action against GitHub Copilot

Posted Nov 17, 2022 19:48 UTC (Thu) by NYKevin (subscriber, #129325) [Link]

As I mentioned, C can decide which license to comply with. In the scenario you describe, C would (probably) choose to comply with the license provided by A rather than the sublicense provided by B, so B's sublicense has no legal effect and may as well not exist. Thus, this is a distinction without a difference.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds