Просмотр исходного кода

Relicense under FSL-1.0-Apache-2.0 (#60144)

https://github.com/getsentry/team-ospo/issues/212

---------

Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
Chad Whitacre 1 год назад
Родитель
Сommit
d4d89e2fa9
5 измененных файлов с 111 добавлено и 108 удалено
  1. 1 1
      .pre-commit-config.yaml
  2. 0 104
      LICENSE
  3. 108 0
      LICENSE.md
  4. 0 1
      scripts/bump-version.sh
  5. 2 2
      setup.cfg

+ 1 - 1
.pre-commit-config.yaml

@@ -2,7 +2,7 @@ default_install_hook_types: ['pre-commit', 'pre-push']
 
 exclude: >
   (?x)(
-      LICENSE$|
+      LICENSE.md$|
       \.snap$|
       \.map$|
       \.map\.js$|

+ 0 - 104
LICENSE

@@ -1,104 +0,0 @@
-Business Source License 1.1
-
-Parameters
-
-Licensor:             Functional Software, Inc.
-Licensed Work:        Sentry
-                      The Licensed Work is (c) 2019 Functional Software, Inc.
-Additional Use Grant: You may make use of the Licensed Work, provided that you do
-                      not use the Licensed Work for an Application Monitoring
-                      Service.
-
-                      An "Application Monitoring Service" is a commercial offering
-                      that allows third parties (other than your employees and
-                      contractors) to access the functionality of the Licensed
-                      Work so that such third parties directly benefit from the
-                      error-reporting or application monitoring features of the
-                      Licensed Work.
-
-Change Date:          2026-11-15
-
-Change License:       Apache License, Version 2.0
-
-For information about alternative licensing arrangements for the Software,
-please visit: https://sentry.io/pricing/
-
-Notice
-
-The Business Source License (this document, or the "License") is not an Open
-Source license. However, the Licensed Work will eventually be made available
-under an Open Source License, as stated in this License.
-
-License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
-"Business Source License" is a trademark of MariaDB Corporation Ab.
-
------------------------------------------------------------------------------
-
-Business Source License 1.1
-
-Terms
-
-The Licensor hereby grants you the right to copy, modify, create derivative
-works, redistribute, and make non-production use of the Licensed Work. The
-Licensor may make an Additional Use Grant, above, permitting limited
-production use.
-
-Effective on the Change Date, or the fourth anniversary of the first publicly
-available distribution of a specific version of the Licensed Work under this
-License, whichever comes first, the Licensor hereby grants you rights under
-the terms of the Change License, and the rights granted in the paragraph
-above terminate.
-
-If your use of the Licensed Work does not comply with the requirements
-currently in effect as described in this License, you must purchase a
-commercial license from the Licensor, its affiliated entities, or authorized
-resellers, or you must refrain from using the Licensed Work.
-
-All copies of the original and modified Licensed Work, and derivative works
-of the Licensed Work, are subject to this License. This License applies
-separately for each version of the Licensed Work and the Change Date may vary
-for each version of the Licensed Work released by Licensor.
-
-You must conspicuously display this License on each original or modified copy
-of the Licensed Work. If you receive the Licensed Work in original or
-modified form from a third party, the terms and conditions set forth in this
-License apply to your use of that work.
-
-Any use of the Licensed Work in violation of this License will automatically
-terminate your rights under this License for the current and all other
-versions of the Licensed Work.
-
-This License does not grant you any right in any trademark or logo of
-Licensor or its affiliates (provided that you may use a trademark or logo of
-Licensor as expressly required by this License).
-
-TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
-AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
-EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
-TITLE.
-
-MariaDB hereby grants you permission to use this License’s text to license
-your works, and to refer to it using the trademark "Business Source License",
-as long as you comply with the Covenants of Licensor below.
-
-Covenants of Licensor
-
-In consideration of the right to use this License’s text and the "Business
-Source License" name and trademark, Licensor covenants to MariaDB, and to all
-other recipients of the licensed work to be provided by Licensor:
-
-1. To specify as the Change License the GPL Version 2.0 or any later version,
-   or a license that is compatible with GPL Version 2.0 or a later version,
-   where "compatible" means that software provided under the Change License can
-   be included in a program with software provided under GPL Version 2.0 or a
-   later version. Licensor may specify additional Change Licenses without
-   limitation.
-
-2. To either: (a) specify an additional grant of rights to use that does not
-   impose any additional restriction on the right granted in this License, as
-   the Additional Use Grant; or (b) insert the text "None".
-
-3. To specify a Change Date.
-
-4. Not to modify this License in any other way.

+ 108 - 0
LICENSE.md

@@ -0,0 +1,108 @@
+# Functional Source License, Version 1.0, Apache 2.0 Change License
+
+## Abbreviation
+
+FSL-1.0-Apache-2.0
+
+## Notice
+
+Copyright 2008-2023 Functional Software, Inc. dba Sentry
+
+## Terms and Conditions
+
+### Licensor ("We")
+
+The party offering the Software under these Terms and Conditions.
+
+### The Software
+
+The "Software" is each version of the software that we make available under
+these Terms and Conditions, as indicated by our inclusion of these Terms and
+Conditions with the Software.
+
+### License Grant
+
+Subject to your compliance with this License Grant and the Patents,
+Redistribution and Trademark clauses below, we hereby grant you the right to
+use, copy, modify, create derivative works, publicly perform, publicly display
+and redistribute the Software for any Permitted Purpose identified below.
+
+### Permitted Purpose
+
+A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
+means use of the Software in or for a commercial product or service that
+competes with the Software or any other product or service we offer using the
+Software as of the date we make the Software available.
+
+Competing Uses specifically include using the Software:
+
+1. as a substitute for any of our products or services;
+
+2. in a way that exposes the APIs of the Software; and
+
+3. in a product or service that offers the same or substantially similar
+   functionality to the Software.
+
+Permitted Purposes specifically include using the Software:
+
+1. for your internal use and access;
+
+2. for non-commercial education;
+
+3. for non-commercial research; and
+
+4. in connection with software development services or managed services that
+   you provide to a licensee using the Software in accordance with these Terms
+and Conditions.
+
+### Patents
+
+To the extent your use for a Permitted Purpose would necessarily infringe our
+patents, the license grant above includes a license under our patents. If you
+make a claim against any party that the Software infringes or contributes to
+the infringement of any patent, then your patent license to the Software ends
+immediately.
+
+### Redistribution
+
+The Terms and Conditions apply to all copies, modifications and derivatives of
+the Software.
+
+If you redistribute any copies, modifications or derivatives of the Software,
+you must include a copy of or a link to these Terms and Conditions and not
+remove any copyright notices provided in or with the Software.
+
+### Disclaimer
+
+THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
+PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
+
+IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
+SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
+EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
+
+### Trademarks
+
+Except for displaying the License Details and identifying us as the origin of
+the Software, you have no right under these Terms and Conditions to use our
+trademarks, trade names, service marks or product names.
+
+## Change License
+
+On the second anniversary of the date we make the Software available, the
+Software will become available under the Apache 2.0 license. On that date, the
+Terms and Conditions above automatically terminate and the following terms
+become effective:
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+this file except in compliance with the License.
+
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed
+under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+CONDITIONS OF ANY KIND, either express or implied. See the License for the
+specific language governing permissions and limitations under the License.

+ 0 - 1
scripts/bump-version.sh

@@ -9,6 +9,5 @@ OLD_VERSION="$1"
 NEW_VERSION="$2"
 
 sed -i -e 's/^version = .*$/version = '"$NEW_VERSION/" setup.cfg
-sed -i -e "s/\(Change Date:\s*\)[-0-9]\+\$/\\1$(date +'%Y-%m-%d' -d '3 years')/" LICENSE
 
 echo "New version: $NEW_VERSION"

+ 2 - 2
setup.cfg

@@ -7,8 +7,8 @@ long_description_content_type = text/markdown
 url = https://sentry.io
 author = Sentry
 author_email = oss@sentry.io
-license = BSL-1.1
-license_file = LICENSE
+license = FSL-1.0-Apache-2.0
+license_file = LICENSE.md
 classifiers =
     Framework :: Django
     Intended Audience :: Developers