Hacker News new | past | comments | ask | show | jobs | submit login

You can't just remove the above copyright notice and replace it with your own and claim you retained the copyright notice lol



Can you give me a couple examples how this is done? I mean, in terms of actual repositories.


The easiest way to do it is to add your own copyright line above the original LICENSE copyright line.

That way anyone touching the project can just add their own line on top.

Done.

EDIT: Example: https://github.com/go-gitea/gitea/blob/main/LICENSE

A more complicated way to do it is to add a folder that contains the original LICENSE file or files. Sometimes there is more than one license, or the license texts differ. In that case, you must preserve all the different variants, even if they all call themselves MIT.

Then, you can optionally add your additional own LICENSE file * only iff* it is compatible with all existing LICENSES. In the case of the MIT license, you may relicense, sublicense, or use a different license in addition, provided it is MIT-compatible. With e.g. GPL you can't. Note that you still have to preserve all the original LICENSE files in the repo.


Original license of Redis is retained in the form Valkey:

https://github.com/valkey-io/valkey/blob/unstable/COPYING

Third party licenses retained in a THIRDPARTY file in MariaDB

https://github.com/MariaDB/server/blob/main/THIRDPARTY

Only two good examples I could quickly find.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: