realm / realm-core

Core database component for the Realm Mobile Database SDKs
https://realm.io
Apache License 2.0
1.01k stars 158 forks source link

License Clarification? #2429

Closed Steviey closed 7 years ago

Steviey commented 7 years ago

I may want to use realm.js in some OSS projects.

So currently proving GPL-compliance of the core-library, I'm a bit confused.

What is this?:

https://github.com/realm/realm-core/blob/master/tools/LICENSE

Is it deprecated?

Is this package Apache 2 only, or what other licenses are involved?

Thank you.

bmunkholm commented 7 years ago

Sorry, that file was a deprecated template used before we fully open sourced the core library. It's now been deleted. The only applicable file is the one at the root of the project : Apache 2.

bmunkholm commented 7 years ago

@Steviey Would love to hear if you decide to use Realm in the project! And if not, why :-)?

Steviey commented 7 years ago

@bmunkholm

Thank you for your response. In my opinion/understanding then Realm (Apache 2.0) is compatible to GPL 3 and GPL 2+ (or later clause). Realm is not compatible to GPL 2.0 only.

https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses

That means Realm is GPL-compliant to some Software like Drupal (GPL 2+). Others like WordPress (GPL 2.0 only) could not used together with Realm.

Could someone confirm this eventually?

bmunkholm commented 7 years ago

We can't really make those conclusion on behalf of other licenses. But if it's stated at gnu.org - I'm sure they have taken a stance on it and is right. I can only really confirm that Realm is Apache 2.0.

Steviey commented 7 years ago

@bmunkholm Thank you.

Regarding to your question...

We are coding for many different software, running on multiple platforms, with very limited HR. So we would choose Realm, if we could use it on all projects, regardless of the license compatibility and the operating system. We must have code once approaches as much as we can realize.

So currently SQlite will still be our first choice for cross-platform applications because:

PS: We know Realm probably has many technical advantages over SQlite, but for us the mentioned points are most important.

bmunkholm commented 7 years ago

@Steviey Thanks for the feedback! Yeah, we can't do anything about the license - except you could have a commercial term license. We actually just now made support for Windows, and also have a browser that can import/export and generate code for your models.