Please consider relicensing (unlicensing) example code into public domain
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 35.1k
- Forks
- 16.3k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 143
Description
The code in netty/example is licensed under the Apache license v2. Since this code forms the starting point for many projects, the Apache license is probably overly restrictive, because it requires that derivative works retain copyright, license and authorship information. It's not that credit shouldn't be given when it's due, but the purpose of these examples is just to show basic usage patterns, and having to carry around license information after copying/pasting and modifying basic usage patterns is unduly arduous.
My understanding is that if a license is not specified, example code (e.g. a code snippet you find posted in a help forum without attached license) is in some sense not copyrightable, or could be arguably considered to be in the public domain, for the same reason that a cooking recipe is uncopyrightable. (Though I don't know if there is a strong legal underpinning for that yet in the case of source code.)
Would it be possible to explicitly license Netty's example code in the public domain, allowing for reuse and relicensing in any form? See, for a couple of possible ways of addressing this:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the licensing of netty/example and compare the proposed Unlicense and CC0 references against the repository's current Apache license terms. Done means the project has reached and documented a licensing decision for the example code, with the affected files and license metadata updated consistently if the change is approved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100