diff --git a/.clang-format b/.clang-format index bcf5df71..1f43cf47 100644 --- a/.clang-format +++ b/.clang-format @@ -1,7 +1,6 @@ # Copyright (c) 2020 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. # # This is the output of clang-format-10.0.0 --style=google --dump-config, # except for changes mentioned below. diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index faea651b..8b9578a5 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -23,6 +23,8 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 2 + - name: Check License Header + uses: apache/skywalking-eyes@main - name: Cpplint run: | ln -snf $PWD/.linters/cpp/hooks/pre-commit.sh $PWD/.linters/cpp/pre-commit.sh diff --git a/.licenserc.yaml b/.licenserc.yaml new file mode 100644 index 00000000..65b2d1df --- /dev/null +++ b/.licenserc.yaml @@ -0,0 +1,38 @@ +# +# Copyright (c) 2020 vesoft inc. All rights reserved. +# +# This source code is licensed under Apache 2.0 License. +header: + license: + spdx-id: Apache-2.0 + copyright-owner: vesoft inc + content: | + Copyright (c) 2020 vesoft inc. All rights reserved. + This source code is licensed under Apache 2.0 License. + pattern: | + Copyright (c) \d{4} vesoft inc. All rights reserved. + This source code is licensed under Apache 2.0 License. + paths-ignore: + - '.licenserc.yaml' + - '.clang-tidy' + - '.dockerignore' + - '**/.gitignore' + - 'cmake' + - 'package' + - 'src/**/*.thrift' + - 'src/**/*.lex' + - 'src/**/*.yy' + - 'src/**/*.dict' + - 'src/**/*.in' + - '.github' + - '.linters' + - '**/*.md' + - 'third-party' + - 'LICENSE' + - 'NOTICE' + - 'certs' + - 'src/interface/gen-cpp2' + - '.gitkeep' + - 'include/common/datatypes/ValueOps-inl.h' + + comment: on-failure diff --git a/.linters/cpp/hooks/pre-commit.sh b/.linters/cpp/hooks/pre-commit.sh index 86e18319..75543489 100755 --- a/.linters/cpp/hooks/pre-commit.sh +++ b/.linters/cpp/hooks/pre-commit.sh @@ -2,8 +2,7 @@ # Copyright (c) 2018 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. CPPLINT=`dirname $0`/../../.linters/cpp/cpplint.py diff --git a/CMakeLists.txt b/CMakeLists.txt index 2501177c..551f8b92 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (c) 2020 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. # # The build can be controlled by defining following variables on the # command line diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..261eeb9e --- /dev/null +++ b/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. diff --git a/cmake/CPackage.cmake b/cmake/CPackage.cmake index b26eda90..d45823b8 100644 --- a/cmake/CPackage.cmake +++ b/cmake/CPackage.cmake @@ -1,7 +1,6 @@ # Copyright (c) 2020 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. # @@ -10,7 +9,6 @@ macro(package to_one name home_page scripts_dir) set(CPACK_PACKAGE_DESCRIPTION ${name}) set(CPACK_PACKAGE_CONTACT ${name}) set(CPACK_PACKAGE_VERSION ${NEBULA_BUILD_VERSION}) - set(CPACK_RPM_PACKAGE_LICENSE "Apache 2.0 + Common Clause 1.0") set(CPACK_PACKAGE_NAME ${name}) # set(CPACK_SET_DESTDIR TRUE) set(CPACK_PACKAGE_RELOCATABLE ON) diff --git a/cmake/FetchModule.cmake b/cmake/FetchModule.cmake index f9dd79b5..b81ebc1e 100644 --- a/cmake/FetchModule.cmake +++ b/cmake/FetchModule.cmake @@ -1,7 +1,6 @@ # Copyright (c) 2020 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. # find_package(Git) diff --git a/cmake/nebula/ConfigNebulaClient.cmake b/cmake/nebula/ConfigNebulaClient.cmake index 4c80ddbe..79f746a1 100644 --- a/cmake/nebula/ConfigNebulaClient.cmake +++ b/cmake/nebula/ConfigNebulaClient.cmake @@ -1,7 +1,6 @@ # Copyright (c) 2020 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. # macro(config_nebula_client) diff --git a/date.py b/date.py index b6811856..7cfad76d 100755 --- a/date.py +++ b/date.py @@ -1,4 +1,8 @@ #! /usr/bin/env python3 +# +# Copyright (c) 2021 vesoft inc. All rights reserved. +# +# This source code is licensed under Apache 2.0 License. import datetime import argparse diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 74599efc..781ba36e 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (c) 2020 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. # # Set the project name diff --git a/examples/SessionExample.cpp b/examples/SessionExample.cpp index 2c1b5cd3..23fb4f3e 100644 --- a/examples/SessionExample.cpp +++ b/examples/SessionExample.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include diff --git a/exported-symbols.map b/exported-symbols.map index 644f9ea0..1de7d65a 100644 --- a/exported-symbols.map +++ b/exported-symbols.map @@ -1,3 +1,9 @@ + +/* Copyright (c) 2021 vesoft inc. All rights reserved. + * + * This source code is licensed under Apache 2.0 License. + */ + { global: extern "C++" { diff --git a/gen-interface.sh b/gen-interface.sh index 7cf19500..85eb9d30 100755 --- a/gen-interface.sh +++ b/gen-interface.sh @@ -1,4 +1,8 @@ #! /usr/bin/env bash +# +# Copyright (c) 2021 vesoft inc. All rights reserved. +# +# This source code is licensed under Apache 2.0 License. set -e diff --git a/include/common/datatypes/CommonCpp2Ops.h b/include/common/datatypes/CommonCpp2Ops.h index 7d3bcb78..85fcda7c 100644 --- a/include/common/datatypes/CommonCpp2Ops.h +++ b/include/common/datatypes/CommonCpp2Ops.h @@ -1,7 +1,6 @@ /* Copyright (c) 2021 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/DataSet.h b/include/common/datatypes/DataSet.h index 714799dc..b0858d4e 100644 --- a/include/common/datatypes/DataSet.h +++ b/include/common/datatypes/DataSet.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/DataSetOps-inl.h b/include/common/datatypes/DataSetOps-inl.h index bc171f3c..4ac4dd7e 100644 --- a/include/common/datatypes/DataSetOps-inl.h +++ b/include/common/datatypes/DataSetOps-inl.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/Date.h b/include/common/datatypes/Date.h index 7651e717..0dbabc3b 100644 --- a/include/common/datatypes/Date.h +++ b/include/common/datatypes/Date.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/DateOps-inl.h b/include/common/datatypes/DateOps-inl.h index d80897ef..ea11d6e3 100644 --- a/include/common/datatypes/DateOps-inl.h +++ b/include/common/datatypes/DateOps-inl.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/Edge.h b/include/common/datatypes/Edge.h index c0f6464f..5f1593a3 100644 --- a/include/common/datatypes/Edge.h +++ b/include/common/datatypes/Edge.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/EdgeOps-inl.h b/include/common/datatypes/EdgeOps-inl.h index d7c7440b..43b92833 100644 --- a/include/common/datatypes/EdgeOps-inl.h +++ b/include/common/datatypes/EdgeOps-inl.h @@ -1,7 +1,9 @@ -/* Copyright (c) 2020 vesoft inc. All rights reserved. +/* + * + * Copyright (c) 2020 vesoft inc. All rights reserved. + * + * This source code is licensed under Apache 2.0 License. * - * obj source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #pragma once diff --git a/include/common/datatypes/Geography.h b/include/common/datatypes/Geography.h index 75c50046..d4eb364d 100644 --- a/include/common/datatypes/Geography.h +++ b/include/common/datatypes/Geography.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/GeographyOps-inl.h b/include/common/datatypes/GeographyOps-inl.h index 6e460131..b46c5910 100644 --- a/include/common/datatypes/GeographyOps-inl.h +++ b/include/common/datatypes/GeographyOps-inl.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/HostAddr.h b/include/common/datatypes/HostAddr.h index 52dff818..c21c654e 100644 --- a/include/common/datatypes/HostAddr.h +++ b/include/common/datatypes/HostAddr.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/HostAddrOps-inl.h b/include/common/datatypes/HostAddrOps-inl.h index f2985639..ee7032b2 100644 --- a/include/common/datatypes/HostAddrOps-inl.h +++ b/include/common/datatypes/HostAddrOps-inl.h @@ -1,7 +1,9 @@ -/* Copyright (c) 2020 vesoft inc. All rights reserved. +/* + * + * Copyright (c) 2020 vesoft inc. All rights reserved. + * + * This source code is licensed under Apache 2.0 License. * - * obj source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #pragma once diff --git a/include/common/datatypes/KeyValue.h b/include/common/datatypes/KeyValue.h index ad6affb6..2ed03cd6 100644 --- a/include/common/datatypes/KeyValue.h +++ b/include/common/datatypes/KeyValue.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/KeyValueOps-inl.h b/include/common/datatypes/KeyValueOps-inl.h index af814ae1..d350b0e7 100644 --- a/include/common/datatypes/KeyValueOps-inl.h +++ b/include/common/datatypes/KeyValueOps-inl.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/List.h b/include/common/datatypes/List.h index 6fce82b2..06fbbed3 100644 --- a/include/common/datatypes/List.h +++ b/include/common/datatypes/List.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/ListOps-inl.h b/include/common/datatypes/ListOps-inl.h index b9ac6de4..607de5ed 100644 --- a/include/common/datatypes/ListOps-inl.h +++ b/include/common/datatypes/ListOps-inl.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/Map.h b/include/common/datatypes/Map.h index c26b27c1..f0626e18 100644 --- a/include/common/datatypes/Map.h +++ b/include/common/datatypes/Map.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/MapOps-inl.h b/include/common/datatypes/MapOps-inl.h index 42887691..b61989f4 100644 --- a/include/common/datatypes/MapOps-inl.h +++ b/include/common/datatypes/MapOps-inl.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/Path.h b/include/common/datatypes/Path.h index 54cdf2f3..f71391b9 100644 --- a/include/common/datatypes/Path.h +++ b/include/common/datatypes/Path.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/PathOps-inl.h b/include/common/datatypes/PathOps-inl.h index a027b744..951bde62 100644 --- a/include/common/datatypes/PathOps-inl.h +++ b/include/common/datatypes/PathOps-inl.h @@ -1,7 +1,9 @@ -/* Copyright (c) 2020 vesoft inc. All rights reserved. +/* + * + * Copyright (c) 2020 vesoft inc. All rights reserved. + * + * This source code is licensed under Apache 2.0 License. * - * obj source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #pragma once diff --git a/include/common/datatypes/Set.h b/include/common/datatypes/Set.h index 386c76a8..3f6308bb 100644 --- a/include/common/datatypes/Set.h +++ b/include/common/datatypes/Set.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/SetOps-inl.h b/include/common/datatypes/SetOps-inl.h index d7c33ad5..bafe2cce 100644 --- a/include/common/datatypes/SetOps-inl.h +++ b/include/common/datatypes/SetOps-inl.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/Value.h b/include/common/datatypes/Value.h index 2a259889..74451f28 100644 --- a/include/common/datatypes/Value.h +++ b/include/common/datatypes/Value.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/ValueOps-inl.h b/include/common/datatypes/ValueOps-inl.h index f7d885eb..d2104e40 100644 --- a/include/common/datatypes/ValueOps-inl.h +++ b/include/common/datatypes/ValueOps-inl.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * obj source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * obj source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/Vertex.h b/include/common/datatypes/Vertex.h index e85278b0..5d3eac49 100644 --- a/include/common/datatypes/Vertex.h +++ b/include/common/datatypes/Vertex.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/datatypes/VertexOps-inl.h b/include/common/datatypes/VertexOps-inl.h index 9f986131..29fae6bf 100644 --- a/include/common/datatypes/VertexOps-inl.h +++ b/include/common/datatypes/VertexOps-inl.h @@ -1,7 +1,7 @@ -/* Copyright (c) 2020 vesoft inc. All rights reserved. +/* + * Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/graph/AuthResponseOps-inl.h b/include/common/graph/AuthResponseOps-inl.h index 742b26e9..0af3eeb4 100644 --- a/include/common/graph/AuthResponseOps-inl.h +++ b/include/common/graph/AuthResponseOps-inl.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/graph/ExecutionResponseOps-inl.h b/include/common/graph/ExecutionResponseOps-inl.h index 6332bba2..fba00e17 100644 --- a/include/common/graph/ExecutionResponseOps-inl.h +++ b/include/common/graph/ExecutionResponseOps-inl.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/graph/GraphCpp2Ops.h b/include/common/graph/GraphCpp2Ops.h index 1d29db9a..2f57eea8 100644 --- a/include/common/graph/GraphCpp2Ops.h +++ b/include/common/graph/GraphCpp2Ops.h @@ -1,7 +1,6 @@ /* Copyright (c) 2021 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/graph/PairOps-inl.h b/include/common/graph/PairOps-inl.h index 67b11fff..e869edee 100644 --- a/include/common/graph/PairOps-inl.h +++ b/include/common/graph/PairOps-inl.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/graph/PlanDescriptionOps-inl.h b/include/common/graph/PlanDescriptionOps-inl.h index a42cf991..76e503e0 100644 --- a/include/common/graph/PlanDescriptionOps-inl.h +++ b/include/common/graph/PlanDescriptionOps-inl.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/graph/PlanNodeBranchInfoOps-inl.h b/include/common/graph/PlanNodeBranchInfoOps-inl.h index f25e6584..82921deb 100644 --- a/include/common/graph/PlanNodeBranchInfoOps-inl.h +++ b/include/common/graph/PlanNodeBranchInfoOps-inl.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/graph/PlanNodeDescriptionOps-inl.h b/include/common/graph/PlanNodeDescriptionOps-inl.h index f7c5f99e..8b5b8e85 100644 --- a/include/common/graph/PlanNodeDescriptionOps-inl.h +++ b/include/common/graph/PlanNodeDescriptionOps-inl.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/graph/ProfilingStatsOps-inl.h b/include/common/graph/ProfilingStatsOps-inl.h index 57a478b5..b8eee14e 100644 --- a/include/common/graph/ProfilingStatsOps-inl.h +++ b/include/common/graph/ProfilingStatsOps-inl.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/graph/Response.h b/include/common/graph/Response.h index 1f9d5765..fdb9eaa5 100644 --- a/include/common/graph/Response.h +++ b/include/common/graph/Response.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/thrift/ThriftCpp2OpsHelper.h b/include/common/thrift/ThriftCpp2OpsHelper.h index 1c6fddc9..33f3c96a 100644 --- a/include/common/thrift/ThriftCpp2OpsHelper.h +++ b/include/common/thrift/ThriftCpp2OpsHelper.h @@ -1,7 +1,6 @@ /* Copyright (c) 2021 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #ifndef COMMON_THRIFT_THRIFTCPP2OPS_HELPER_H_ diff --git a/include/common/thrift/ThriftTypes.h b/include/common/thrift/ThriftTypes.h index b69b4da5..69ec2cff 100644 --- a/include/common/thrift/ThriftTypes.h +++ b/include/common/thrift/ThriftTypes.h @@ -1,7 +1,6 @@ /* Copyright (c) 2018 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/time/TimeConversion.h b/include/common/time/TimeConversion.h index af44de32..bea807c0 100644 --- a/include/common/time/TimeConversion.h +++ b/include/common/time/TimeConversion.h @@ -1,7 +1,6 @@ /* Copyright (c) 2021 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/common/utils/utils.h b/include/common/utils/utils.h index e578f3a8..3f211103 100644 --- a/include/common/utils/utils.h +++ b/include/common/utils/utils.h @@ -1,7 +1,6 @@ /* Copyright (c) 2021 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/nebula/client/Config.h b/include/nebula/client/Config.h index 44e53c55..f504c826 100644 --- a/include/nebula/client/Config.h +++ b/include/nebula/client/Config.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/nebula/client/Connection.h b/include/nebula/client/Connection.h index b140a8b2..44394918 100644 --- a/include/nebula/client/Connection.h +++ b/include/nebula/client/Connection.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/nebula/client/ConnectionPool.h b/include/nebula/client/ConnectionPool.h index 027b0036..73023f78 100644 --- a/include/nebula/client/ConnectionPool.h +++ b/include/nebula/client/ConnectionPool.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/nebula/client/Init.h b/include/nebula/client/Init.h index a1e1917a..62552e7e 100644 --- a/include/nebula/client/Init.h +++ b/include/nebula/client/Init.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/include/nebula/client/Session.h b/include/nebula/client/Session.h index 5bdcff87..b5394c3f 100644 --- a/include/nebula/client/Session.h +++ b/include/nebula/client/Session.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/package/package.sh b/package/package.sh index 1dd11b0a..0b4d6a2f 100755 --- a/package/package.sh +++ b/package/package.sh @@ -2,8 +2,7 @@ # # Copyright (c) 2020 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. # # Package nebula as deb/rpm package diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4a0a20dd..5661c539 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (c) 2020 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. set(NEBULA_CLIENT_OBJS $ diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt index 4cf01328..3e4e755a 100644 --- a/src/client/CMakeLists.txt +++ b/src/client/CMakeLists.txt @@ -1,6 +1,5 @@ # Copyright (c) 2018 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. nebula_add_subdirectory(tests) diff --git a/src/client/Connection.cpp b/src/client/Connection.cpp index e08cacb4..98237b47 100644 --- a/src/client/Connection.cpp +++ b/src/client/Connection.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include "nebula/client/Connection.h" diff --git a/src/client/ConnectionPool.cpp b/src/client/ConnectionPool.cpp index 4fa4099d..58e3819b 100644 --- a/src/client/ConnectionPool.cpp +++ b/src/client/ConnectionPool.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include "nebula/client/ConnectionPool.h" diff --git a/src/client/Init.cpp b/src/client/Init.cpp index c96f1677..95b4187f 100644 --- a/src/client/Init.cpp +++ b/src/client/Init.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include diff --git a/src/client/SSLConfig.cpp b/src/client/SSLConfig.cpp index 5801375d..76f3cb39 100644 --- a/src/client/SSLConfig.cpp +++ b/src/client/SSLConfig.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2021 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include "./SSLConfig.h" diff --git a/src/client/SSLConfig.h b/src/client/SSLConfig.h index 1c4d0b89..18c8834e 100644 --- a/src/client/SSLConfig.h +++ b/src/client/SSLConfig.h @@ -1,7 +1,6 @@ /* Copyright (c) 2021 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/src/client/Session.cpp b/src/client/Session.cpp index f140e932..c83aafcf 100644 --- a/src/client/Session.cpp +++ b/src/client/Session.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include "nebula/client/Session.h" diff --git a/src/client/tests/AddressTest.cpp b/src/client/tests/AddressTest.cpp index e021ba69..d3ed6d13 100644 --- a/src/client/tests/AddressTest.cpp +++ b/src/client/tests/AddressTest.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include diff --git a/src/client/tests/CMakeLists.txt b/src/client/tests/CMakeLists.txt index 389b8a52..81f2852e 100644 --- a/src/client/tests/CMakeLists.txt +++ b/src/client/tests/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (c) 2020 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. # TODO check the exception in CI environment # nebula_add_test( diff --git a/src/client/tests/ClientTest.h b/src/client/tests/ClientTest.h index ad891335..3f0f13b9 100644 --- a/src/client/tests/ClientTest.h +++ b/src/client/tests/ClientTest.h @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #pragma once diff --git a/src/client/tests/ConfigTest.cpp b/src/client/tests/ConfigTest.cpp index 7bf3f418..dbb98dca 100644 --- a/src/client/tests/ConfigTest.cpp +++ b/src/client/tests/ConfigTest.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include diff --git a/src/client/tests/ConnectionTest.cpp b/src/client/tests/ConnectionTest.cpp index 4fddd152..fbeb12f2 100644 --- a/src/client/tests/ConnectionTest.cpp +++ b/src/client/tests/ConnectionTest.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include diff --git a/src/client/tests/SessionTest.cpp b/src/client/tests/SessionTest.cpp index 2c2095d5..aa4b5eaf 100644 --- a/src/client/tests/SessionTest.cpp +++ b/src/client/tests/SessionTest.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include diff --git a/src/client/tests/TimezoneConversionTest.cpp b/src/client/tests/TimezoneConversionTest.cpp index 661c0213..8acf041c 100644 --- a/src/client/tests/TimezoneConversionTest.cpp +++ b/src/client/tests/TimezoneConversionTest.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2021 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include diff --git a/src/datatypes/Date.cpp b/src/datatypes/Date.cpp index 0bb1fdb0..6252588e 100644 --- a/src/datatypes/Date.cpp +++ b/src/datatypes/Date.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include "common/datatypes/Date.h" diff --git a/src/datatypes/Edge.cpp b/src/datatypes/Edge.cpp index 95d04aa4..dbd957d0 100644 --- a/src/datatypes/Edge.cpp +++ b/src/datatypes/Edge.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include diff --git a/src/datatypes/Geography.cpp b/src/datatypes/Geography.cpp index d788f240..4bbe2f73 100644 --- a/src/datatypes/Geography.cpp +++ b/src/datatypes/Geography.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include "common/datatypes/Geography.h" diff --git a/src/datatypes/HostAddr.cpp b/src/datatypes/HostAddr.cpp index b1f1e2dc..6d83e109 100644 --- a/src/datatypes/HostAddr.cpp +++ b/src/datatypes/HostAddr.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include "common/datatypes/HostAddr.h" diff --git a/src/datatypes/List.cpp b/src/datatypes/List.cpp index ca747dee..2013e965 100644 --- a/src/datatypes/List.cpp +++ b/src/datatypes/List.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include "common/datatypes/List.h" diff --git a/src/datatypes/Map.cpp b/src/datatypes/Map.cpp index 0aac37a3..f65c9ed3 100644 --- a/src/datatypes/Map.cpp +++ b/src/datatypes/Map.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include "common/datatypes/Map.h" diff --git a/src/datatypes/Path.cpp b/src/datatypes/Path.cpp index 14b3f0c6..b752239e 100644 --- a/src/datatypes/Path.cpp +++ b/src/datatypes/Path.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include "common/datatypes/Path.h" diff --git a/src/datatypes/Set.cpp b/src/datatypes/Set.cpp index c31ffc1d..50dd956c 100644 --- a/src/datatypes/Set.cpp +++ b/src/datatypes/Set.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include "common/datatypes/Set.h" diff --git a/src/datatypes/Value.cpp b/src/datatypes/Value.cpp index 37fee056..abff294b 100644 --- a/src/datatypes/Value.cpp +++ b/src/datatypes/Value.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include "common/datatypes/Value.h" diff --git a/src/datatypes/Vertex.cpp b/src/datatypes/Vertex.cpp index 6db75d84..65a63a19 100644 --- a/src/datatypes/Vertex.cpp +++ b/src/datatypes/Vertex.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include "common/datatypes/Vertex.h" diff --git a/src/graph/Response.cpp b/src/graph/Response.cpp index 82f3def3..5be55982 100644 --- a/src/graph/Response.cpp +++ b/src/graph/Response.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2020 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include "common/graph/Response.h" diff --git a/src/interface/CMakeLists.txt b/src/interface/CMakeLists.txt index 69564f76..9d63f79e 100644 --- a/src/interface/CMakeLists.txt +++ b/src/interface/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (c) 2021 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") add_compile_options(-Wno-maybe-uninitialized) diff --git a/src/time/TimeConversion.cpp b/src/time/TimeConversion.cpp index 22cfcec9..77050303 100644 --- a/src/time/TimeConversion.cpp +++ b/src/time/TimeConversion.cpp @@ -1,7 +1,6 @@ /* Copyright (c) 2021 vesoft inc. All rights reserved. * - * This source code is licensed under Apache 2.0 License, - * attached with Common Clause Condition 1.0, found in the LICENSES directory. + * This source code is licensed under Apache 2.0 License. */ #include "common/time/TimeConversion.h" diff --git a/third-party/cxx-compiler-abi-version.sh b/third-party/cxx-compiler-abi-version.sh index 15064385..ed245036 100755 --- a/third-party/cxx-compiler-abi-version.sh +++ b/third-party/cxx-compiler-abi-version.sh @@ -2,8 +2,7 @@ # Copyright (c) 2019 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. set -e abi="unknown" diff --git a/third-party/install-cmake.sh b/third-party/install-cmake.sh index f9699751..8f40e44f 100755 --- a/third-party/install-cmake.sh +++ b/third-party/install-cmake.sh @@ -2,8 +2,7 @@ # Copyright (c) 2019 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. # Usage: build-cmake.sh [prefix] diff --git a/third-party/install-gcc.sh b/third-party/install-gcc.sh index 3d6d225d..5b1e6184 100755 --- a/third-party/install-gcc.sh +++ b/third-party/install-gcc.sh @@ -2,8 +2,7 @@ # Copyright (c) 2019 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. # Usage: install-gcc.sh --prefix=/opt/nebula/toolset diff --git a/third-party/install-third-party.sh b/third-party/install-third-party.sh index 028cc644..8bbac2b6 100755 --- a/third-party/install-third-party.sh +++ b/third-party/install-third-party.sh @@ -2,8 +2,7 @@ # Copyright (c) 2019 vesoft inc. All rights reserved. # -# This source code is licensed under Apache 2.0 License, -# attached with Common Clause Condition 1.0, found in the LICENSES directory. +# This source code is licensed under Apache 2.0 License. # Usage: install-third-party.sh --prefix=/opt/vesoft/third-party