The Rust project has the same problem, it's also dual-licensed under Apache2 + MIT.
You want Apache 2 because of the explicit patent grant, but at the same time you also want to allow GPL2 projects to use your code.
The Rust project has the same problem, it's also dual-licensed under Apache2 + MIT.
You want Apache 2 because of the explicit patent grant, but at the same time you also want to allow GPL2 projects to use your code.
In practice, the fact that MPL2 is not as permissive as Apache 2 or MIT and has copyleft-like reciprocal terms is not a problem, because it's a file-based license, and few (if any) developers tend to be interested in changing the source files for the upstream project, and those who are are usually people doing so because they're in the process of trying to submit a fix upstream, anyway. For the fraction of a fraction of a minority of folks for whom it still would be a problem, it's as simple as the upstream project either declaring Apache 2 as a compatible Secondary License or just saying that they won't enforce MPL2's reciprocal clauses against downstream folks who are using the project in a way that is permitted by Apache 2.
MPL2 is an extremely underused and underappreciated license.
> I don't really see MPL as a replacement for Apache/MIT, more as a replacement for the GPL
That doesn't really make sense. GPL is a hard copyleft license, and MPL2 is not. The latter can be seen as a replacement for the former perhaps in the sense that a person who is being charged $20+/mo for streaming video might like to see their provider to offer a $0 "replacement" instead—i.e. a change clearly to the benefit of one party with regard to narrowly delivering something it sees as desirable, to the detriment of the other party (or more accurately: without regard to the benefit or detriment to the other).
MPL2 is a great alternative for the use cases I described—where the constraints/conditions of the license are agreeable to both upstream and downstream due to the way it matches how they already interact in practice (and expect to continue interacting).
> I would love to see the MPL2 used more often instead of the GPLs
I don't see GPL as overused at all in 2023. If anything, it, too, is underused.
MPL2 and GPLv2/GPLv3/LGPL/AGPL are underused relative to the fairly new tendency to reflexively reach for e.g. the MIT License and then get stung by the consequences of doing so, resulting in formerly libre codebases getting locked down in future revisions under a regressive, non-FOSS, shared source license (or fully proprietary), when the reality is that e.g. GPL would have better suited the project from the beginning and wouldn't have led to the circumstances that ended with the owner pulling back from FOSS entirely.
I agree for other things, e.g. webdev, I never had to hack Django or Vue.js.
The game industry is notorious for using, but not contributing back to open source. I don't want to know how often the same bug in recast/detour has been fix in different games, and never upstreamed.
Only if you ignore, like, everything that I wrote.