mirror of
https://codeberg.org/NoGitHub/nogithub.codeberg.page.git
synced 2024-12-22 15:13:00 -05:00
ee4e686d2e
Signed-off-by: RaptaG <george-raptis@tutamail.com>
57 lines
4.1 KiB
Markdown
57 lines
4.1 KiB
Markdown
+++
|
|
title = "Please don't upload my code on GitHub"
|
|
+++
|
|
|
|
<div align="center"><img src="./icon.svg" width="128" height="128"></div>
|
|
|
|
# Please don't upload my code on GitHub
|
|
|
|
_This is a call to open source developers to **not** upload the work of others on GitHub._
|
|
|
|
## What's the problem with GitHub?
|
|
|
|
Well, there are **a lot** of problems with GitHub. Here, we will mainly focus on a feature called _Copilot_, but if you're interested to learn more about the others, [please visit this page](https://sfconservancy.org/GiveUpGitHub/).
|
|
|
|
## What is Copilot?
|
|
|
|
According to GitHub,
|
|
|
|
> GitHub Copilot is an AI pair programmer that helps you write code faster and with less work. It draws context from comments and code to suggest individual lines and whole functions instantly.\
|
|
--- [https://github.com/features/copilot](https://web.archive.org/web/20221017065610/https://github.com/features/copilot)
|
|
|
|
The question is where does it know how to code? Well, it learns by scanning GitHub repositories:
|
|
|
|
> GitHub Copilot is trained on billions of lines of public code. The suggestions it makes to you are adapted to your code, but the processing behind it is ultimately informed by code written by others.\
|
|
--- [https://github.blog/2021-06-30-github-copilot-research-recitation/](https://web.archive.org/web/20221017082203/https://github.blog/2021-06-30-github-copilot-research-recitation/)
|
|
|
|
The problem is that this so-called _public code_ is not always under _public domain_ dedication. Sometimes, the code is licensed under a copyleft license (such as [GPL](https://www.gnu.org/licenses/gpl-3.0.html)), which requires any modification of the source code to be redistributed under the same license as the original. Sometimes the code is licensed under a permissive license (such as [ISC](https://en.wikipedia.org/wiki/ISC_license)) which at the very least requires the inclusion of authorship information and license text.
|
|
|
|
However, [when Copilot suggests pieces of copylefted code, it doesn't include any notice of the original author or the original license](https://web.archive.org/web/20221017081115/https://nitter.net/docsparse/status/1581461734665367554). This can lead [to some copylefted code being included in proprietary or simply not copylefted projects](https://sfconservancy.org/blog/2022/feb/03/github-copilot-copyleft-gpl/). And this is a violation of both the license terms and the intellectual property of the authors of the original code.
|
|
|
|
We are tired of this legal abuse and we want to stop right now! Microsoft has been attacking copyleft licensing for years. We want that to stop. We would like to protect our work.
|
|
|
|
## So, just don't put your code on GitHub, what's the big deal?
|
|
|
|
The issue is bigger than it seems. Even if a project is not hosted on GitHub, other people have the legal right (depending on the license) to redistribute the source code. It means that they have the right to share the code of others on GitHub, as long as they respect the terms of license. This is totally legal. But then, Copilot will be able to analyze the code and violates the license terms, which isn't.
|
|
|
|
This is why we ask you, as other developers of the open source community, to not upload our code on GitHub.
|
|
|
|
## Is this a legal document?
|
|
|
|
No, it isn't. If the project is under an open source license, it means that everyone can share a copy -- even on GitHub -- of the licensed material under certain conditions. A license restricting this right wouldn't be open source anymore. However, since GitHub may not respect the terms of licensed code that is hosted on their servers, not uploading the code of others there is, in fact, an ethical choice.
|
|
|
|
## How to ask others to not share my code on GitHub?
|
|
|
|
If you want, you can add our badge to your website or to your repository's README:
|
|
|
|
[![Please don't upload to GitHub](/badge.svg)](https://nogithub.codeberg.page)
|
|
|
|
**Markdown:**
|
|
```markdown
|
|
[![Please don't upload to GitHub](https://nogithub.codeberg.page/badge.svg)](https://nogithub.codeberg.page)
|
|
```
|
|
|
|
**HTML:**
|
|
```html
|
|
<a href="https://nogithub.codeberg.page"><img src="https://nogithub.codeberg.page/badge.svg" alt="Please don't upload to GitHub"></a>
|
|
```
|