gleb-sevruk / pycrunch-trace

Time Travel Debugging for Python
https://pytrace.com
MIT License
152 stars 12 forks source link

Add MIT License #4

Closed Zac-HD closed 3 years ago

Zac-HD commented 3 years ago

Adding a permissive licence to the tracer allows it to be incorporated into other tools.

I'll open a PR soon on https://github.com/gleb-sevruk/pycrunch-tracing-webui with a non-open-source license; per our call - the idea is that the commercialisable part is the UI to interact with traces, rather than the trace collection.

gleb-sevruk commented 3 years ago

Maybe this license can work: https://github.com/gleb-sevruk/pycrunch-engine/blob/master/LICENCE.txt

Free for open source, but restrictive for commercial

Zac-HD commented 3 years ago

It's surprisingly difficult to write a license that works all over the world. For example:

Overall, the choice is basically between a standard OSS license, or writing a custom commercial license. From our conversation the other day, I'd noted down that the trace-collector (this repo) could be MIT-licensed. Then the web UI, which is much more valuable as a service (even before collaboration features etc) could use a non-OSS paid license, with a free-for-personal-noncommercial-use clause.

Zac-HD commented 3 years ago

The idea is that https://github.com/gleb-sevruk/pycrunch-tracing-webui/pull/2 is the commercially valuable part; while the trace collector is given away for free to get more customers for the trace viewer.

(which is the exact tactic I'm trying: Hypothesis is free and open source, and hopefully that creates customers for HypoFuzz)