Quellcode durchsuchen

[ui-core] Allow Blue Oak License 1.0.0

This updates the license checker to include BlueOak-1.0.0 as a valid license. The complete license text has also been added to NOTICE.txt.
Johan Åhlén vor 1 Jahr
Ursprung
Commit
9ea0ac50eb
2 geänderte Dateien mit 66 neuen und 1 gelöschten Zeilen
  1. 65 1
      NOTICE.txt
  2. 1 0
      tools/ci/check_for_js_licenses.js

+ 65 - 1
NOTICE.txt

@@ -1,4 +1,4 @@
-Cloudera Hue 4.5.0
+Cloudera Hue 4.11.0
 Copyright 2020 Cloudera Inc.  All Rights Reserved.
 
 
@@ -816,6 +816,7 @@ istanbul-lib-instrument 4.0.1 : BSD 3-clause "New" or "Revised" License
 istanbul-lib-report 3.0.0 : BSD 3-clause "New" or "Revised" License
 istanbul-lib-source-maps 4.0.0 : BSD 3-clause "New" or "Revised" License
 istanbul-reports 3.0.1 : BSD 3-clause "New" or "Revised" License
+jackspeak 3.4.0: BlueOak-1.0.0
 Jaeger 4.0.0 : Apache License 2.0
 jaeger-client 3.13.0 : MIT License
 JavaCPP Presets for CPython 3.7.7-1.5.3 : (GNU General Public License v2.0 w/Classpath exception AND Apache License 2.0 AND GNU General Public License v3.0 or later)
@@ -1151,6 +1152,7 @@ p-locate 4.1.0 : MIT License
 p-map 1.2.0 : MIT License
 p-try 1.0.0 : MIT License
 p-try 2.2.0 : MIT License
+package-json-from-dist 1.0.0: BlueOak-1.0.0
 page.js 1.8.6 : MIT License
 parallel-transform v1.2.0 : MIT License
 parent-module 1.0.0 : MIT License
@@ -1175,6 +1177,7 @@ path-is-inside 1.0.2 : (MIT License OR Do What The F*ck You Want To Public Licen
 path-key 2.0.1 : MIT License
 path-key 3.1.1 : MIT License
 path-parse 1.0.6 : MIT License
+path-scurry 1.11.1: BlueOak-1.0.0
 path-type 1.1.0 : MIT License
 path-type 3.0.0 : MIT License
 path-type 4.0.0 : MIT License
@@ -22670,3 +22673,64 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 SUCH DAMAGE.
 
+---
+
+BlueOak-1.0.0
+(jackspeak 3.4.0, package-json-from-dist 1.0.0, path-scurry 1.11.1)
+
+Blue Oak Model License
+======================
+
+Version 1.0.0
+
+Purpose
+
+This license gives everyone as much permission to work with
+this software as possible, while protecting contributors
+from liability.
+
+Acceptance
+
+In order to receive this license, you must agree to its
+rules.  The rules of this license are both obligations
+under that agreement and conditions to your license.
+You must not do anything with this software that triggers
+a rule that you cannot or will not follow.
+
+Copyright
+
+Each contributor licenses you to do everything with this
+software that would otherwise infringe that contributor's
+copyright in it.
+
+Notices
+
+You must ensure that everyone who gets a copy of
+any part of this software from you, with or without
+changes, also gets the text of this license or a link to
+https://blueoakcouncil.org/license/1.0.0.
+
+Excuse
+
+If anyone notifies you in writing that you have not
+complied with [Notices](#notices), you can keep your
+license by taking all practical steps to comply within 30
+days after the notice.  If you do not do so, your license
+ends immediately.
+
+Patent
+
+Each contributor licenses you to do everything with this
+software that would otherwise infringe any patent claims
+they can license or become able to license.
+
+Reliability
+
+No contributor can revoke this license.
+
+No Liability
+
+As far as the law allows, this software comes as is,
+without any warranty or condition, and no contributor
+will be liable to anyone for any damages related to this
+software or this license, under any kind of legal claim.

+ 1 - 0
tools/ci/check_for_js_licenses.js

@@ -43,6 +43,7 @@ checker.init(
           lowerLicenses.indexOf('unlicense') === -1 &&
           lowerLicenses.indexOf('cc') === -1 &&
           lowerLicenses.indexOf('python-2.0') === -1 &&
+          lowerLicenses.indexOf('blueoak-1.0.0') === -1 &&
           // lz-string is marked as WTFPL license on NPM but the valid license is MIT from the github repo
           // https://github.com/pieroxy/lz-string/issues/147
           !packageName.startsWith('lz-string@') &&