From 00389271cf6c9910c5c51e35e0340900f4341a53 Mon Sep 17 00:00:00 2001
From: Pranay Prateek
Date: Wed, 14 Sep 2022 12:36:33 +0530
Subject: [PATCH] chore: Introduce enterprise edition license (#1567)
* chore: Introduce enterprise edition license
---
CONTRIBUTING.md | 4 ---
LICENSE | 8 ++++--
README.de-de.md | 1 -
README.md | 1 -
README.pt-br.md | 1 -
README.zh-cn.md | 1 -
ee/LICENSE | 37 ++++++++++++++++++++++++++++
pkg/query-service/version/version.go | 2 +-
8 files changed, 44 insertions(+), 11 deletions(-)
create mode 100644 ee/LICENSE
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 686bcdba58..dae0b09524 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -363,10 +363,6 @@ There are many other ways to get involved with the community and to participate
- Tell others about the project on Twitter, your blog, etc.
-## License
-
-By contributing to SigNoz, you agree that your contributions will be licensed under its MIT license.
-
Again, Feel free to ping us on [`#contributing`](https://signoz-community.slack.com/archives/C01LWQ8KS7M) or [`#contributing-frontend`](https://signoz-community.slack.com/archives/C027134DM8B) on our slack community if you need any help on this :)
Thank You!
diff --git a/LICENSE b/LICENSE
index c6a42fd84a..2fef891b37 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,10 @@
-MIT License
+Copyright (c) 2020-present SigNoz Inc.
-Copyright (c) 2021 SigNoz
+Portions of this software are licensed as follows:
+
+* All content that resides under the "ee/" directory of this repository, if that directory exists, is licensed under the license defined in "ee/LICENSE".
+* All third party components incorporated into the SigNoz Software are licensed under the original license provided by the owner of the applicable component.
+* Content outside of the above mentioned directories or restrictions above is available under the "MIT Expat" license as defined below.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/README.de-de.md b/README.de-de.md
index b728cd094c..7d2a91b974 100644
--- a/README.de-de.md
+++ b/README.de-de.md
@@ -5,7 +5,6 @@
-
diff --git a/README.md b/README.md
index 094415aadb..89696310fc 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,6 @@
-
diff --git a/README.pt-br.md b/README.pt-br.md
index e8113cd7ca..ce168b4101 100644
--- a/README.pt-br.md
+++ b/README.pt-br.md
@@ -5,7 +5,6 @@
-
diff --git a/README.zh-cn.md b/README.zh-cn.md
index 0e1add22d2..d584d10f4e 100644
--- a/README.zh-cn.md
+++ b/README.zh-cn.md
@@ -5,7 +5,6 @@
-
diff --git a/ee/LICENSE b/ee/LICENSE
new file mode 100644
index 0000000000..c024dbdaf4
--- /dev/null
+++ b/ee/LICENSE
@@ -0,0 +1,37 @@
+
+The SigNoz Enterprise license (the "Enterprise License")
+Copyright (c) 2020 - present SigNoz Inc.
+
+With regard to the SigNoz Software:
+
+This software and associated documentation files (the "Software") may only be
+used in production, if you (and any entity that you represent) have agreed to,
+and are in compliance with, the SigNoz Subscription Terms of Service, available
+via email (hello@signoz.io) (the "Enterprise Terms"), or other
+agreement governing the use of the Software, as agreed by you and SigNoz,
+and otherwise have a valid SigNoz Enterprise license for the
+correct number of user seats. Subject to the foregoing sentence, you are free to
+modify this Software and publish patches to the Software. You agree that SigNoz
+and/or its licensors (as applicable) retain all right, title and interest in and
+to all such modifications and/or patches, and all such modifications and/or
+patches may only be used, copied, modified, displayed, distributed, or otherwise
+exploited with a valid SigNoz Enterprise license for the correct
+number of user seats. Notwithstanding the foregoing, you may copy and modify
+the Software for development and testing purposes, without requiring a
+subscription. You agree that SigNoz and/or its licensors (as applicable) retain
+all right, title and interest in and to all such modifications. You are not
+granted any other rights beyond what is expressly stated herein. Subject to the
+foregoing, it is forbidden to copy, merge, publish, distribute, sublicense,
+and/or sell the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+For all third party components incorporated into the SigNoz Software, those
+components are licensed under the original license provided by the owner of the
+applicable component.
\ No newline at end of file
diff --git a/pkg/query-service/version/version.go b/pkg/query-service/version/version.go
index f53f42c544..577fe6789c 100644
--- a/pkg/query-service/version/version.go
+++ b/pkg/query-service/version/version.go
@@ -18,7 +18,7 @@ var (
// BuildDetails returns a string containing details about the SigNoz query-service binary.
func BuildDetails() string {
- licenseInfo := `Licensed under the MIT License`
+ licenseInfo := `Check SigNoz Github repo for license details`
return fmt.Sprintf(`
SigNoz version : %v