You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2020/04/07 08:35:25 UTC

[incubator-doris] branch master updated: [License] Add License to codes (#3272)

This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new c9c5834  [License] Add License to codes (#3272)
c9c5834 is described below

commit c9c58342b2b840ca85f6e0adbf777cd3b5d6efd2
Author: lichaoyong <li...@baidu.com>
AuthorDate: Tue Apr 7 16:35:13 2020 +0800

    [License] Add License to codes (#3272)
---
 .rat-excludes                                       |  4 ++++
 LICENSE.txt                                         |  8 ++++++++
 docs/website/Makefile                               | 19 ++++++++++++++++++-
 docs/website/source/_templates/footer.html          | 17 +++++++++++++++++
 .../org.apache.spark.sql.sources.DataSourceRegister | 19 ++++++++++++++++++-
 .../doris/spark/rest/TestPartitionDefinition.java   | 21 ++++++++++++++++-----
 .../org/apache/doris/analysis/SelectStmtTest.java   | 17 +++++++++++++++++
 .../apache/doris/analysis/SetOperationStmtTest.java | 17 +++++++++++++++++
 .../doris/catalog/DynamicPartitionTableTest.java    | 19 ++++++++++++++++++-
 .../gson/GsonDerivedClassSerializationTest.java     | 17 +++++++++++++++++
 .../resources/plugin_test/source/plugin.properties  | 19 ++++++++++++++++++-
 .../plugin_test/test_local_plugin/plugin.properties | 19 ++++++++++++++++++-
 .../auditdemo/src/main/assembly/plugin.properties   | 19 ++++++++++++++++++-
 .../auditloader/src/main/assembly/plugin.properties | 19 ++++++++++++++++++-
 14 files changed, 222 insertions(+), 12 deletions(-)

diff --git a/.rat-excludes b/.rat-excludes
index c659e3a..377bcf0 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -3,13 +3,17 @@
 .*svg
 .*xml
 .*zip
+.clang-format
 .gitattributes
 .gitignore
 .rat-excludes
 .travis.yml
+DISCLAIMER-WIP
 LICENSE
 NOTICE
 gutil/*
 manifest
 patches/*
 test_data/*
+test.zip
+test.zip.md5
diff --git a/LICENSE.txt b/LICENSE.txt
index 70a4367..571e94b 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -622,3 +622,11 @@ 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.
+
+--------------------------------------------------------------------------------
+
+be/src/util/condition_variable* : BSD-style license
+
+Copyright (c) 2011 The Chromium Authors. All rights reserved.
+Use of this source code is governed by a BSD-style license that can be
+found in the LICENSE file.
diff --git a/docs/website/Makefile b/docs/website/Makefile
index 69fe55e..76d13b4 100644
--- a/docs/website/Makefile
+++ b/docs/website/Makefile
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
 # Minimal makefile for Sphinx documentation
 #
 
@@ -16,4 +33,4 @@ help:
 # Catch-all target: route all unknown targets to Sphinx using the new
 # "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
 %: Makefile
-	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
\ No newline at end of file
+	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
diff --git a/docs/website/source/_templates/footer.html b/docs/website/source/_templates/footer.html
index ab9402b..21beb5c 100644
--- a/docs/website/source/_templates/footer.html
+++ b/docs/website/source/_templates/footer.html
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you 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.
+-->
+
 {% extends '!footer.html' %}
 {% block extrafooter %}
 <div role="contentinfo">
diff --git a/extension/spark-doris-connector/src/main/resources/META-INF/services/org.apache.spark.sql.sources.DataSourceRegister b/extension/spark-doris-connector/src/main/resources/META-INF/services/org.apache.spark.sql.sources.DataSourceRegister
index 15f36f6..15b2434 100644
--- a/extension/spark-doris-connector/src/main/resources/META-INF/services/org.apache.spark.sql.sources.DataSourceRegister
+++ b/extension/spark-doris-connector/src/main/resources/META-INF/services/org.apache.spark.sql.sources.DataSourceRegister
@@ -1 +1,18 @@
-org.apache.doris.spark.sql.DorisSourceProvider
\ No newline at end of file
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+org.apache.doris.spark.sql.DorisSourceProvider
diff --git a/extension/spark-doris-connector/src/test/java/org/apache/doris/spark/rest/TestPartitionDefinition.java b/extension/spark-doris-connector/src/test/java/org/apache/doris/spark/rest/TestPartitionDefinition.java
index b5f477e..0bfa3aa 100644
--- a/extension/spark-doris-connector/src/test/java/org/apache/doris/spark/rest/TestPartitionDefinition.java
+++ b/extension/spark-doris-connector/src/test/java/org/apache/doris/spark/rest/TestPartitionDefinition.java
@@ -1,8 +1,19 @@
-/**
- * Copyright (c) 2019.  Baidu.com, Inc. All Rights Reserved.
- * Author: zhangwenxin01
- * Date: 2019-08-07
- */
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you 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.
 
 package org.apache.doris.spark.rest;
 
diff --git a/fe/src/test/java/org/apache/doris/analysis/SelectStmtTest.java b/fe/src/test/java/org/apache/doris/analysis/SelectStmtTest.java
index d1e2829..171776b 100644
--- a/fe/src/test/java/org/apache/doris/analysis/SelectStmtTest.java
+++ b/fe/src/test/java/org/apache/doris/analysis/SelectStmtTest.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you 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.
+
 package org.apache.doris.analysis;
 
 import org.apache.doris.common.AnalysisException;
diff --git a/fe/src/test/java/org/apache/doris/analysis/SetOperationStmtTest.java b/fe/src/test/java/org/apache/doris/analysis/SetOperationStmtTest.java
index 7c59ee4..c4eb520 100644
--- a/fe/src/test/java/org/apache/doris/analysis/SetOperationStmtTest.java
+++ b/fe/src/test/java/org/apache/doris/analysis/SetOperationStmtTest.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you 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.
+
 package org.apache.doris.analysis;
 
 import org.apache.doris.common.util.SqlParserUtils;
diff --git a/fe/src/test/java/org/apache/doris/catalog/DynamicPartitionTableTest.java b/fe/src/test/java/org/apache/doris/catalog/DynamicPartitionTableTest.java
index c65277e..70ce4c0 100644
--- a/fe/src/test/java/org/apache/doris/catalog/DynamicPartitionTableTest.java
+++ b/fe/src/test/java/org/apache/doris/catalog/DynamicPartitionTableTest.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you 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.
+
 package org.apache.doris.catalog;
 
 import org.apache.doris.analysis.Analyzer;
@@ -480,4 +497,4 @@ public class DynamicPartitionTableTest {
 
         catalog.createTable(stmt);
     }
-}
\ No newline at end of file
+}
diff --git a/fe/src/test/java/org/apache/doris/persist/gson/GsonDerivedClassSerializationTest.java b/fe/src/test/java/org/apache/doris/persist/gson/GsonDerivedClassSerializationTest.java
index e39938b..3f3a938 100644
--- a/fe/src/test/java/org/apache/doris/persist/gson/GsonDerivedClassSerializationTest.java
+++ b/fe/src/test/java/org/apache/doris/persist/gson/GsonDerivedClassSerializationTest.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you 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.
+
 package org.apache.doris.persist.gson;
 
 import org.apache.doris.common.io.Text;
diff --git a/fe/src/test/resources/plugin_test/source/plugin.properties b/fe/src/test/resources/plugin_test/source/plugin.properties
index 24975d9..7df12b6 100644
--- a/fe/src/test/resources/plugin_test/source/plugin.properties
+++ b/fe/src/test/resources/plugin_test/source/plugin.properties
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
 ### required:
 #
 # the plugin name
@@ -23,4 +40,4 @@ classname=doris.test.plugin.PluginTest
 
 ### BE-Plugin optional:
 #
-#
\ No newline at end of file
+#
diff --git a/fe/src/test/resources/plugin_test/test_local_plugin/plugin.properties b/fe/src/test/resources/plugin_test/test_local_plugin/plugin.properties
index 70e19b4..cb4d744 100644
--- a/fe/src/test/resources/plugin_test/test_local_plugin/plugin.properties
+++ b/fe/src/test/resources/plugin_test/test_local_plugin/plugin.properties
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
 ### required:
 #
 # the plugin name
@@ -23,4 +40,4 @@ classname=plugin.AuditPluginDemo
 
 ### BE-Plugin optional:
 #
-#
\ No newline at end of file
+#
diff --git a/fe_plugins/auditdemo/src/main/assembly/plugin.properties b/fe_plugins/auditdemo/src/main/assembly/plugin.properties
index c51d54f..c529870 100755
--- a/fe_plugins/auditdemo/src/main/assembly/plugin.properties
+++ b/fe_plugins/auditdemo/src/main/assembly/plugin.properties
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
 ### required:
 #
 # the plugin name
@@ -21,4 +38,4 @@ java.version=1.8.31
 classname=org.apache.doris.plugin.audit.AuditPluginDemo
 ### BE-Plugin optional:
 #
-#
\ No newline at end of file
+#
diff --git a/fe_plugins/auditloader/src/main/assembly/plugin.properties b/fe_plugins/auditloader/src/main/assembly/plugin.properties
index 05cb6c7..1226f9b 100755
--- a/fe_plugins/auditloader/src/main/assembly/plugin.properties
+++ b/fe_plugins/auditloader/src/main/assembly/plugin.properties
@@ -1,6 +1,23 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
 name=AuditLoader
 type=AUDIT
 description=load audit log to olap load, and user can view the statistic of queries
 version=0.12.0
 java.version=1.8.0
-classname=org.apache.doris.plugin.audit.AuditLoaderPlugin
\ No newline at end of file
+classname=org.apache.doris.plugin.audit.AuditLoaderPlugin


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org