The GitHub Co-pilot provide code as a service. As far as I know they use code from public repos of GitHub as suggestions to the developers. How they deal with different licenses on public repos and how consumers of these services are not bound by those licenses. I used co-pilot as a free trial once and it don’t give license info along with the code. If they don’t need license to distribute the code why did individual developers are bound to do so under the license terms.
These words are on GitHub Copilot webpage:
Trained on billions of lines of code, GitHub Copilot turns natural
language prompts into coding suggestions across dozens of languages.
I am curious to know from the experts about the legal as well as moral implications of this services.
I am answering my own question based on the above comment from Nicolas Formichella. This Question will be answered by the court in this class action. An excerpt from the aforementioned webpage:
By training their AI systems on public GitHub repositories (though based on their public statements, possibly much more) we contend that the defendants have violated the legal rights of a vast number of creators who posted code or other work under certain open-source licenses on GitHub. Which licenses? A set of 11 popular open-source licenses that all require attribution of the author’s name and copyright, including the MIT license, the GPL, and the Apache license. (These are enumerated in the appendix to the complaint.)
My personal opinion is GitHub has robbed the code of millions of it's users by using the public code from GitHub in their commercial service.
Law Stack Exchange is for educational purposes only and is not a substitute for individualized advice from a qualified legal practitioner. Communications on Law Stack Exchange are not privileged communications and do not create an attorney-client relationship.