LGPL Dependencies

We see that in Theia 10 a package with an LGPL license was included. Filesystem added “jschardet”: “1.6.0”

Checking here I see that LGPL deps require special approvals: https://www.eclipse.org/legal/licenses.php#approved. Has that been done and is that approval avaialble somewhere for us to use for our legal work?

[original thread by Peter Haumer]

cc @marc-dumais

Hi @phaumer . Yes, that dependency has been looked-at by the foundation and its usage in Theia approved by the board. You may need to be logged-in to be able to access the CQ: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=20251

[Peter Haumer]

Ok, thanks. My Eclipse account does not have the permissions. To be honest, though, I was hoping that this dependency was a mistake as anything with GPL makes it really hard for commercial adoption. We have to jump now through many hoops in our organization to get an exception approved as well.

Hi @phaumer . A bit more info for you, that I hope may help make the case for an exception on your side. In the current Theia code-base, you’ll find a single use of jschardet (commit: https://github.com/eclipse-theia/theia/commit/5a1f7b113a7bfa72f8529faa74afdc89e717936d) . However this was not the original case for which we “adopted” that library. Rather we first asked for an exception at the Foundation because it’s used in vscode’s git built-in extension: https://github.com/microsoft/vscode/blob/master/extensions/git/package.json#L1588 . It looks like a strong possibility that we will eventually switch to using that extension in Theia, instead of, or as an alternative to our own git extension.

There is not much info in the CQ above, other than the confirmation that the project has been granted the special permission to use jschardet despite its license. In a preliminary CQ, the following was mentioned by the Foundation, confirming that to their understanding, vscode were using it for “good reasons”: “Regarding jschardet, we have confirmed VS Code has a strong and unavoidable
requirement for the jschardet dependency.”. (src: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=19512#c15)