Skip to content

Commit

Permalink
Re-re-license from AGPLv3 to the weaker copyleft OSL-3.0.
Browse files Browse the repository at this point in the history
After spending too much time researching licenses, my laymen
understanding makes me feel that OSL-3.0 will be a better match given
TrailBase's rare dual use as a standalone backend or framework.

It tried to outline the reasoning in the README.md. I would appreciate
input from anyone more experienced with licenses.
For now, I would like to turn my attention back to more technical issues
:hide:.
  • Loading branch information
ignatz committed Nov 2, 2024
1 parent 724f917 commit 2da572e
Show file tree
Hide file tree
Showing 7 changed files with 198 additions and 666 deletions.
833 changes: 172 additions & 661 deletions LICENSE

Large diffs are not rendered by default.

24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,26 @@ $ docker build . -t trailbase
## Contributing

Contributions are very welcome 🙏. Let's talk to see how a proposal fits into
the overall roadmap and avoid surprises.
the overall roadmap and avoid surprises. You'll also have to sign a CLA that
retains your copyright, ensures that TrailBase will continue to be freely
available under an OSI-approved copyleft license, and allow the TrailBase
project to sub-license your contributions in line with more prominent projects
such as Grafana or Element.
This may sound presumptuous but we ain't lawyers and try to follow precedent.

## License

TrailBase is free software under the terms of the [AGPLv3](LICENSE.md). If you
require an [exception](https://www.gnu.org/philosophy/selling-exceptions.html),
reach out to [email protected].
TrailBase is free software under the terms of the [OSL-3.0](LICENSE).

We chose this license over more popular, similar copyleft licenses such as
AGPLv3 due to its narrower definition of derivative work that only covers
modifications to TrailBase itself. This is akin to "GPL + classpath exception"
and allows the use of TrailBase as a framework without inflicting licensing
requirement on original work layered on top.
That said, we ain't lawyers. The author of the license provides a more
thorough [explanation](https://rosenlaw.com/OSL3.0-explained.htm).
If you have any concerns or advice for us, please reach out.

If you require an
[exception](https://www.gnu.org/philosophy/selling-exceptions.html), reach out
to [email protected].
3 changes: 2 additions & 1 deletion client/trailbase-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "trailbase",
"version": "0.1.0",
"description": "Official TrailBase client",
"version": "0.1.0",
"license": "OSL-3.0",
"type": "module",
"main": "./src/index.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions trailbase-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "trailbase-cli"
version = "0.1.0"
edition = "2021"
license = "OSL-3.0"

[[bin]]
name = "trail"
Expand Down
1 change: 1 addition & 0 deletions trailbase-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "trailbase-core"
version = "0.1.0"
edition = "2021"
license = "OSL-3.0"

[[bench]]
name = "benchmark"
Expand Down
1 change: 1 addition & 0 deletions trailbase-extension/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "trailbase-extension"
version = "0.1.0"
edition = "2021"
license = "OSL-3.0"

[lib]
crate-type=["cdylib", "rlib"]
Expand Down
1 change: 1 addition & 0 deletions trailbase-sqlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "trailbase-sqlite"
version = "0.1.0"
edition = "2021"
license = "OSL-3.0"

[dependencies]
trailbase-extension = { path = "../trailbase-extension" }
Expand Down

0 comments on commit 2da572e

Please sign in to comment.