From b980456a9cc01bc82db93e3298c44f45435b89a9 Mon Sep 17 00:00:00 2001 From: heyanlong Date: Fri, 7 May 2021 15:03:52 +0800 Subject: [PATCH 1/7] skywalking-eyes --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef8b271c..f9c64469 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,11 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Check License + uses: apache/skywalking-eyes@main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Checkout GRPC uses: actions/checkout@v2 with: From 786c05b8fce3e96eba3a26663c2619b2da6bba62 Mon Sep 17 00:00:00 2001 From: heyanlong Date: Sat, 8 May 2021 14:28:30 +0800 Subject: [PATCH 2/7] eyes --- .licenserc.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .licenserc.yaml diff --git a/.licenserc.yaml b/.licenserc.yaml new file mode 100644 index 00000000..571111d7 --- /dev/null +++ b/.licenserc.yaml @@ -0,0 +1,15 @@ +header: + license: + spdx-id: Apache-2.0 + copyright-owner: Apache Software Foundation + + paths-ignore: + - 'dist' + - 'licenses' + - '**/*.md' + - 'LICENSE' + - 'NOTICE' + - 'CREDITS' + - 'EXPERIMENTAL' + + comment: on-failure \ No newline at end of file From 90d05f02a0a0a0e2095f5fb9bcaae650450a6328 Mon Sep 17 00:00:00 2001 From: heyanlong Date: Thu, 3 Jun 2021 18:49:36 +0800 Subject: [PATCH 3/7] fix licenses --- .licenserc.yaml | 2 +- docker/nginx.conf | 2 +- e2e/nginx.conf | 2 +- src/base64.cc | 2 +- src/base64.h | 2 +- src/common.h | 2 +- src/cross_process_bag.cc | 2 +- src/cross_process_bag.h | 2 +- src/manager.cc | 2 +- src/manager.h | 2 +- src/protocol/v3/browser/BrowserPerf.proto | 2 +- src/protocol/v3/common/Common.proto | 2 +- src/protocol/v3/language-agent/CLRMetric.proto | 2 +- src/protocol/v3/language-agent/JVMMetric.proto | 2 +- src/protocol/v3/language-agent/Tracing.proto | 2 +- src/protocol/v3/management/Management.proto | 2 +- src/protocol/v3/profile/Profile.proto | 2 +- src/protocol/v3/service-mesh-probe/service-mesh.proto | 2 +- src/segment.cc | 2 +- src/segment.h | 2 +- src/segment_reference.cc | 2 +- src/segment_reference.h | 2 +- src/sky_core_span_log.cc | 2 +- src/sky_core_span_log.h | 2 +- src/sky_execute.cc | 2 +- src/sky_execute.h | 2 +- src/sky_grpc.cc | 2 +- src/sky_grpc.h | 2 +- src/sky_module.cc | 2 +- src/sky_module.h | 2 +- src/sky_pdo.cc | 2 +- src/sky_pdo.h | 2 +- src/sky_plugin_curl.cc | 2 +- src/sky_plugin_curl.h | 2 +- src/sky_plugin_error.cc | 2 +- src/sky_plugin_error.h | 2 +- src/sky_plugin_hyperf_guzzle.cc | 2 +- src/sky_plugin_hyperf_guzzle.h | 2 +- src/sky_plugin_mysqli.cc | 2 +- src/sky_plugin_mysqli.h | 2 +- src/sky_plugin_predis.cc | 2 +- src/sky_plugin_predis.h | 2 +- src/sky_plugin_rabbit_mq.cc | 2 +- src/sky_plugin_rabbit_mq.h | 2 +- src/sky_plugin_redis.cc | 2 +- src/sky_plugin_redis.h | 2 +- src/sky_plugin_swoole_curl.cc | 2 +- src/sky_plugin_swoole_curl.h | 2 +- src/sky_shm.cc | 2 +- src/sky_shm.h | 2 +- src/sky_utils.cc | 2 +- src/sky_utils.h | 2 +- src/span.cc | 2 +- src/span.h | 2 +- src/tag.cc | 2 +- src/tag.h | 2 +- 56 files changed, 56 insertions(+), 56 deletions(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index 571111d7..c36b0bcc 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -1,7 +1,7 @@ header: license: spdx-id: Apache-2.0 - copyright-owner: Apache Software Foundation + copyright-owner: SkyAPM paths-ignore: - 'dist' diff --git a/docker/nginx.conf b/docker/nginx.conf index 5d2642fd..cf1f7385 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -1,7 +1,7 @@ # 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 SkyAPM 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 # diff --git a/e2e/nginx.conf b/e2e/nginx.conf index d17a9fd3..d1d5d5e0 100644 --- a/e2e/nginx.conf +++ b/e2e/nginx.conf @@ -1,7 +1,7 @@ # 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 SkyAPM 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 # diff --git a/src/base64.cc b/src/base64.cc index 9eb2beb6..d3ff6a95 100644 --- a/src/base64.cc +++ b/src/base64.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/base64.h b/src/base64.h index 180e3431..88642c3d 100644 --- a/src/base64.h +++ b/src/base64.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/common.h b/src/common.h index 77657b0e..53b5b035 100644 --- a/src/common.h +++ b/src/common.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/cross_process_bag.cc b/src/cross_process_bag.cc index 81bdec44..ecad43ce 100644 --- a/src/cross_process_bag.cc +++ b/src/cross_process_bag.cc @@ -1,7 +1,7 @@ // 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 SkyAPM 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 // diff --git a/src/cross_process_bag.h b/src/cross_process_bag.h index b4cc000a..bc1adce8 100644 --- a/src/cross_process_bag.h +++ b/src/cross_process_bag.h @@ -1,7 +1,7 @@ // 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 SkyAPM 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 // diff --git a/src/manager.cc b/src/manager.cc index b59d70ab..4bebc2a7 100644 --- a/src/manager.cc +++ b/src/manager.cc @@ -1,7 +1,7 @@ // 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 SkyAPM 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 // diff --git a/src/manager.h b/src/manager.h index a7bca660..dcb1e8c8 100644 --- a/src/manager.h +++ b/src/manager.h @@ -1,7 +1,7 @@ // 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 SkyAPM 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 // diff --git a/src/protocol/v3/browser/BrowserPerf.proto b/src/protocol/v3/browser/BrowserPerf.proto index 1a3ca828..844d5d75 100644 --- a/src/protocol/v3/browser/BrowserPerf.proto +++ b/src/protocol/v3/browser/BrowserPerf.proto @@ -2,7 +2,7 @@ * 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 SkyAPM 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 * diff --git a/src/protocol/v3/common/Common.proto b/src/protocol/v3/common/Common.proto index 5d7ca13b..81bcff72 100644 --- a/src/protocol/v3/common/Common.proto +++ b/src/protocol/v3/common/Common.proto @@ -2,7 +2,7 @@ * 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 SkyAPM 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 * diff --git a/src/protocol/v3/language-agent/CLRMetric.proto b/src/protocol/v3/language-agent/CLRMetric.proto index 32220f78..80f05412 100644 --- a/src/protocol/v3/language-agent/CLRMetric.proto +++ b/src/protocol/v3/language-agent/CLRMetric.proto @@ -2,7 +2,7 @@ * 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 SkyAPM 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 * diff --git a/src/protocol/v3/language-agent/JVMMetric.proto b/src/protocol/v3/language-agent/JVMMetric.proto index 77f6d1a3..f0fe098f 100644 --- a/src/protocol/v3/language-agent/JVMMetric.proto +++ b/src/protocol/v3/language-agent/JVMMetric.proto @@ -2,7 +2,7 @@ * 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 SkyAPM 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 * diff --git a/src/protocol/v3/language-agent/Tracing.proto b/src/protocol/v3/language-agent/Tracing.proto index 6b61a5ee..ea27fd70 100644 --- a/src/protocol/v3/language-agent/Tracing.proto +++ b/src/protocol/v3/language-agent/Tracing.proto @@ -2,7 +2,7 @@ * 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 SkyAPM 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 * diff --git a/src/protocol/v3/management/Management.proto b/src/protocol/v3/management/Management.proto index 3604e788..e34b608d 100644 --- a/src/protocol/v3/management/Management.proto +++ b/src/protocol/v3/management/Management.proto @@ -2,7 +2,7 @@ * 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 SkyAPM 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 * diff --git a/src/protocol/v3/profile/Profile.proto b/src/protocol/v3/profile/Profile.proto index 678aef31..396bd2ea 100644 --- a/src/protocol/v3/profile/Profile.proto +++ b/src/protocol/v3/profile/Profile.proto @@ -2,7 +2,7 @@ * 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 SkyAPM 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 * diff --git a/src/protocol/v3/service-mesh-probe/service-mesh.proto b/src/protocol/v3/service-mesh-probe/service-mesh.proto index 5ce7dc52..ec8ff60f 100644 --- a/src/protocol/v3/service-mesh-probe/service-mesh.proto +++ b/src/protocol/v3/service-mesh-probe/service-mesh.proto @@ -2,7 +2,7 @@ * 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 SkyAPM 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 * diff --git a/src/segment.cc b/src/segment.cc index e6d272ea..0cc250f6 100644 --- a/src/segment.cc +++ b/src/segment.cc @@ -1,7 +1,7 @@ // 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 SkyAPM 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 // diff --git a/src/segment.h b/src/segment.h index 4007248c..8b2449d5 100644 --- a/src/segment.h +++ b/src/segment.h @@ -1,7 +1,7 @@ // 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 SkyAPM 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 // diff --git a/src/segment_reference.cc b/src/segment_reference.cc index d3cfa99b..96001842 100644 --- a/src/segment_reference.cc +++ b/src/segment_reference.cc @@ -1,7 +1,7 @@ // 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 SkyAPM 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 // diff --git a/src/segment_reference.h b/src/segment_reference.h index eefbebf4..5e3883ee 100644 --- a/src/segment_reference.h +++ b/src/segment_reference.h @@ -1,7 +1,7 @@ // 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 SkyAPM 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 // diff --git a/src/sky_core_span_log.cc b/src/sky_core_span_log.cc index 5accfbd3..f18b2ac8 100644 --- a/src/sky_core_span_log.cc +++ b/src/sky_core_span_log.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_core_span_log.h b/src/sky_core_span_log.h index dffab0c7..4384b45d 100644 --- a/src/sky_core_span_log.h +++ b/src/sky_core_span_log.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_execute.cc b/src/sky_execute.cc index 79f2e7d4..ba2649d1 100644 --- a/src/sky_execute.cc +++ b/src/sky_execute.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_execute.h b/src/sky_execute.h index bb0005d5..aaed7d8a 100644 --- a/src/sky_execute.h +++ b/src/sky_execute.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_grpc.cc b/src/sky_grpc.cc index 97625424..84192831 100644 --- a/src/sky_grpc.cc +++ b/src/sky_grpc.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_grpc.h b/src/sky_grpc.h index 5ef19022..f1390376 100644 --- a/src/sky_grpc.h +++ b/src/sky_grpc.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_module.cc b/src/sky_module.cc index 18e527b5..e5c53b43 100644 --- a/src/sky_module.cc +++ b/src/sky_module.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_module.h b/src/sky_module.h index 70c1926b..d7af72d4 100644 --- a/src/sky_module.h +++ b/src/sky_module.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_pdo.cc b/src/sky_pdo.cc index 83029b98..915b9624 100644 --- a/src/sky_pdo.cc +++ b/src/sky_pdo.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_pdo.h b/src/sky_pdo.h index d5164053..e05d4a6f 100644 --- a/src/sky_pdo.h +++ b/src/sky_pdo.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_curl.cc b/src/sky_plugin_curl.cc index 11ce695b..f767f78f 100644 --- a/src/sky_plugin_curl.cc +++ b/src/sky_plugin_curl.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_curl.h b/src/sky_plugin_curl.h index 765cdf14..68084c9c 100644 --- a/src/sky_plugin_curl.h +++ b/src/sky_plugin_curl.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_error.cc b/src/sky_plugin_error.cc index 73d5d782..84160bb2 100644 --- a/src/sky_plugin_error.cc +++ b/src/sky_plugin_error.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_error.h b/src/sky_plugin_error.h index 011e1cce..d4fdfcd9 100644 --- a/src/sky_plugin_error.h +++ b/src/sky_plugin_error.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_hyperf_guzzle.cc b/src/sky_plugin_hyperf_guzzle.cc index 204fcd66..f6d49f07 100644 --- a/src/sky_plugin_hyperf_guzzle.cc +++ b/src/sky_plugin_hyperf_guzzle.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_hyperf_guzzle.h b/src/sky_plugin_hyperf_guzzle.h index 0e05d729..c901cdcf 100644 --- a/src/sky_plugin_hyperf_guzzle.h +++ b/src/sky_plugin_hyperf_guzzle.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_mysqli.cc b/src/sky_plugin_mysqli.cc index c494a883..63fdf41a 100644 --- a/src/sky_plugin_mysqli.cc +++ b/src/sky_plugin_mysqli.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_mysqli.h b/src/sky_plugin_mysqli.h index 9749c509..599869fc 100644 --- a/src/sky_plugin_mysqli.h +++ b/src/sky_plugin_mysqli.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_predis.cc b/src/sky_plugin_predis.cc index c10d8678..3a251339 100644 --- a/src/sky_plugin_predis.cc +++ b/src/sky_plugin_predis.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_predis.h b/src/sky_plugin_predis.h index 0de525e7..1757ee19 100644 --- a/src/sky_plugin_predis.h +++ b/src/sky_plugin_predis.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_rabbit_mq.cc b/src/sky_plugin_rabbit_mq.cc index 11f12771..b284d617 100644 --- a/src/sky_plugin_rabbit_mq.cc +++ b/src/sky_plugin_rabbit_mq.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_rabbit_mq.h b/src/sky_plugin_rabbit_mq.h index 72361c8f..4cf56106 100644 --- a/src/sky_plugin_rabbit_mq.h +++ b/src/sky_plugin_rabbit_mq.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_redis.cc b/src/sky_plugin_redis.cc index 21c9af30..273b4a4d 100644 --- a/src/sky_plugin_redis.cc +++ b/src/sky_plugin_redis.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_redis.h b/src/sky_plugin_redis.h index aa97ef4e..7e3cc08c 100644 --- a/src/sky_plugin_redis.h +++ b/src/sky_plugin_redis.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_swoole_curl.cc b/src/sky_plugin_swoole_curl.cc index 4d2d4e1f..d161e71c 100644 --- a/src/sky_plugin_swoole_curl.cc +++ b/src/sky_plugin_swoole_curl.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_plugin_swoole_curl.h b/src/sky_plugin_swoole_curl.h index 03b8a316..d379500c 100644 --- a/src/sky_plugin_swoole_curl.h +++ b/src/sky_plugin_swoole_curl.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_shm.cc b/src/sky_shm.cc index bfb2d8c1..6d62bda9 100644 --- a/src/sky_shm.cc +++ b/src/sky_shm.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_shm.h b/src/sky_shm.h index a0017827..0d8e7f93 100644 --- a/src/sky_shm.h +++ b/src/sky_shm.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_utils.cc b/src/sky_utils.cc index fb9f2748..697a5d86 100644 --- a/src/sky_utils.cc +++ b/src/sky_utils.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/sky_utils.h b/src/sky_utils.h index 4dede4e9..46828a01 100644 --- a/src/sky_utils.h +++ b/src/sky_utils.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/span.cc b/src/span.cc index 0b1d1261..9ef8a2d7 100644 --- a/src/span.cc +++ b/src/span.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/span.h b/src/span.h index 636d4697..38033ca7 100644 --- a/src/span.h +++ b/src/span.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/tag.cc b/src/tag.cc index 1b3eac58..09ba4bed 100644 --- a/src/tag.cc +++ b/src/tag.cc @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // diff --git a/src/tag.h b/src/tag.h index 535341c9..ed9e3070 100644 --- a/src/tag.h +++ b/src/tag.h @@ -1,6 +1,6 @@ // 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 SkyAPM 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 // From fc2a10ddd8d1b5f761a7cf9193b63542cd707e62 Mon Sep 17 00:00:00 2001 From: heyanlong Date: Thu, 3 Jun 2021 19:20:27 +0800 Subject: [PATCH 4/7] fix licenses --- .github/workflows/ci.yml | 15 +++++++++++++++ .gitignore | 15 +++++++++++++++ .licenserc.yaml | 18 ++++++++++++++++++ docker/service.sh | 15 +++++++++++++++ e2e/docker-compose.yml | 15 +++++++++++++++ e2e/init.sql | 15 +++++++++++++++ package.xml | 16 ++++++++++++++++ php_skywalking.h | 15 +++++++++++++++ scripts/package.py | 15 +++++++++++++++ scripts/pecl.sh | 15 +++++++++++++++ scripts/version.sh | 15 +++++++++++++++ skywalking.cc | 15 +++++++++++++++ src/base64.cc | 29 ++++++++++++++++------------- src/base64.h | 30 +++++++++++++++++------------- src/common.h | 30 +++++++++++++++++------------- src/cross_process_bag.cc | 32 ++++++++++++++++++-------------- src/cross_process_bag.h | 32 ++++++++++++++++++-------------- src/manager.cc | 32 ++++++++++++++++++-------------- src/manager.h | 32 ++++++++++++++++++-------------- src/segment.cc | 32 ++++++++++++++++++-------------- src/segment.h | 32 ++++++++++++++++++-------------- src/segment_reference.cc | 32 ++++++++++++++++++-------------- src/segment_reference.h | 32 ++++++++++++++++++-------------- src/sky_core_span_log.cc | 30 +++++++++++++++++------------- src/sky_core_span_log.h | 30 +++++++++++++++++------------- src/sky_execute.cc | 30 +++++++++++++++++------------- src/sky_execute.h | 30 +++++++++++++++++------------- src/sky_grpc.cc | 30 +++++++++++++++++------------- src/sky_grpc.h | 30 +++++++++++++++++------------- src/sky_log.cc | 16 ++++++++++++++++ src/sky_log.h | 16 ++++++++++++++++ src/sky_module.cc | 30 +++++++++++++++++------------- src/sky_module.h | 30 +++++++++++++++++------------- src/sky_pdo.cc | 30 +++++++++++++++++------------- src/sky_pdo.h | 30 +++++++++++++++++------------- src/sky_plugin_curl.cc | 30 +++++++++++++++++------------- src/sky_plugin_curl.h | 30 +++++++++++++++++------------- src/sky_plugin_error.cc | 30 +++++++++++++++++------------- src/sky_plugin_error.h | 30 +++++++++++++++++------------- src/sky_plugin_hyperf_guzzle.cc | 30 +++++++++++++++++------------- src/sky_plugin_hyperf_guzzle.h | 30 +++++++++++++++++------------- src/sky_plugin_mysqli.cc | 30 +++++++++++++++++------------- src/sky_plugin_mysqli.h | 30 +++++++++++++++++------------- src/sky_plugin_predis.cc | 30 +++++++++++++++++------------- src/sky_plugin_predis.h | 30 +++++++++++++++++------------- src/sky_plugin_rabbit_mq.cc | 30 +++++++++++++++++------------- src/sky_plugin_rabbit_mq.h | 30 +++++++++++++++++------------- src/sky_plugin_redis.cc | 30 +++++++++++++++++------------- src/sky_plugin_redis.h | 30 +++++++++++++++++------------- src/sky_plugin_swoole_curl.cc | 30 +++++++++++++++++------------- src/sky_plugin_swoole_curl.h | 30 +++++++++++++++++------------- src/sky_shm.cc | 30 +++++++++++++++++------------- src/sky_shm.h | 30 +++++++++++++++++------------- src/sky_utils.cc | 30 +++++++++++++++++------------- src/sky_utils.h | 30 +++++++++++++++++------------- src/span.cc | 30 +++++++++++++++++------------- src/span.h | 30 +++++++++++++++++------------- src/tag.cc | 30 +++++++++++++++++------------- src/tag.h | 30 +++++++++++++++++------------- 59 files changed, 988 insertions(+), 593 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7e4fbb0..a9e4d623 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,18 @@ +# +# Copyright 2021 SkyAPM +# +# 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. +# name: CI on: diff --git a/.gitignore b/.gitignore index 0a7ac83c..12aa1ef0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,18 @@ +# +# Copyright 2021 SkyAPM +# +# 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. +# .deps .DS_Store .idea diff --git a/.licenserc.yaml b/.licenserc.yaml index c36b0bcc..6029a7c1 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2021 SkyAPM +# +# 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. +# header: license: spdx-id: Apache-2.0 @@ -7,6 +22,9 @@ header: - 'dist' - 'licenses' - '**/*.md' + - '**/*.o' + - '**/*.a' + - '**/*.lo' - 'LICENSE' - 'NOTICE' - 'CREDITS' diff --git a/docker/service.sh b/docker/service.sh index f05b5058..8341dcbf 100755 --- a/docker/service.sh +++ b/docker/service.sh @@ -1,4 +1,19 @@ #!/usr/bin/env sh +# +# Copyright 2021 SkyAPM +# +# 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. +# grpc=$SW_OAP_ADDRESS diff --git a/e2e/docker-compose.yml b/e2e/docker-compose.yml index 49574830..16a27eeb 100644 --- a/e2e/docker-compose.yml +++ b/e2e/docker-compose.yml @@ -1,3 +1,18 @@ +# +# Copyright 2021 SkyAPM +# +# 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. +# version: '3' services: skywalking: diff --git a/e2e/init.sql b/e2e/init.sql index 97b9b171..fe5a41b8 100644 --- a/e2e/init.sql +++ b/e2e/init.sql @@ -1,3 +1,18 @@ +-- +-- Copyright 2021 SkyAPM +-- +-- 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. +-- CREATE DATABASE mock; USE mock; CREATE TABLE IF NOT EXISTS `mock` ( diff --git a/package.xml b/package.xml index 34f6886d..fc4ef522 100644 --- a/package.xml +++ b/package.xml @@ -1,4 +1,20 @@ + skywalking pecl.php.net diff --git a/php_skywalking.h b/php_skywalking.h index 06bd0d6f..2418f450 100644 --- a/php_skywalking.h +++ b/php_skywalking.h @@ -1,4 +1,19 @@ /* + * Copyright 2021 SkyAPM + * + * 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. + * + * +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ diff --git a/scripts/package.py b/scripts/package.py index 37b3f412..13dbc262 100644 --- a/scripts/package.py +++ b/scripts/package.py @@ -1,3 +1,18 @@ +# +# Copyright 2021 SkyAPM +# +# 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. +# import xml.dom.minidom import time, os diff --git a/scripts/pecl.sh b/scripts/pecl.sh index 290d918f..627d4b68 100755 --- a/scripts/pecl.sh +++ b/scripts/pecl.sh @@ -1,3 +1,18 @@ #!/bin/bash +# +# Copyright 2021 SkyAPM +# +# 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. +# pecl package \ No newline at end of file diff --git a/scripts/version.sh b/scripts/version.sh index 126e2a3b..dff0364d 100755 --- a/scripts/version.sh +++ b/scripts/version.sh @@ -1,4 +1,19 @@ #!/bin/bash +# +# Copyright 2021 SkyAPM +# +# 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. +# VERSION=4.1.2 OS=`uname` diff --git a/skywalking.cc b/skywalking.cc index 8fed3bf2..3723f219 100644 --- a/skywalking.cc +++ b/skywalking.cc @@ -1,4 +1,19 @@ /* + * Copyright 2021 SkyAPM + * + * 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. + * + * +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ diff --git a/src/base64.cc b/src/base64.cc index d3ff6a95..c2caba2d 100644 --- a/src/base64.cc +++ b/src/base64.cc @@ -1,16 +1,19 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ #include "base64.h" #include diff --git a/src/base64.h b/src/base64.h index 88642c3d..9f493888 100644 --- a/src/base64.h +++ b/src/base64.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_BASE64_H #define SKYWALKING_BASE64_H diff --git a/src/common.h b/src/common.h index 53b5b035..e310605c 100644 --- a/src/common.h +++ b/src/common.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_COMMON_H #define SKYWALKING_COMMON_H diff --git a/src/cross_process_bag.cc b/src/cross_process_bag.cc index ecad43ce..05111686 100644 --- a/src/cross_process_bag.cc +++ b/src/cross_process_bag.cc @@ -1,17 +1,21 @@ -// 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 SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + + #include "cross_process_bag.h" #include "base64.h" diff --git a/src/cross_process_bag.h b/src/cross_process_bag.h index bc1adce8..2897209d 100644 --- a/src/cross_process_bag.h +++ b/src/cross_process_bag.h @@ -1,17 +1,21 @@ -// 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 SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + + #ifndef SKYWALKING_CROSS_PROCESS_BAG_H #define SKYWALKING_CROSS_PROCESS_BAG_H diff --git a/src/manager.cc b/src/manager.cc index 4bebc2a7..5fd43ba6 100644 --- a/src/manager.cc +++ b/src/manager.cc @@ -1,17 +1,21 @@ -// 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 SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + + #include "manager.h" #include diff --git a/src/manager.h b/src/manager.h index dcb1e8c8..ccf74d89 100644 --- a/src/manager.h +++ b/src/manager.h @@ -1,17 +1,21 @@ -// 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 SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + + #ifndef SKYWALKING_MANAGER_H #define SKYWALKING_MANAGER_H diff --git a/src/segment.cc b/src/segment.cc index 0cc250f6..e29140ae 100644 --- a/src/segment.cc +++ b/src/segment.cc @@ -1,17 +1,21 @@ -// 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 SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + + #include #include diff --git a/src/segment.h b/src/segment.h index 8b2449d5..7de1850c 100644 --- a/src/segment.h +++ b/src/segment.h @@ -1,17 +1,21 @@ -// 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 SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + + #ifndef SKYWALKING_SEGMENT_H #define SKYWALKING_SEGMENT_H diff --git a/src/segment_reference.cc b/src/segment_reference.cc index 96001842..1dba29ed 100644 --- a/src/segment_reference.cc +++ b/src/segment_reference.cc @@ -1,17 +1,21 @@ -// 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 SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + + #include "segment_reference.h" diff --git a/src/segment_reference.h b/src/segment_reference.h index 5e3883ee..90363401 100644 --- a/src/segment_reference.h +++ b/src/segment_reference.h @@ -1,17 +1,21 @@ -// 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 SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + + #ifndef SKYWALKING_SEGMENT_REFERENCE_H #define SKYWALKING_SEGMENT_REFERENCE_H diff --git a/src/sky_core_span_log.cc b/src/sky_core_span_log.cc index f18b2ac8..bb48cb06 100644 --- a/src/sky_core_span_log.cc +++ b/src/sky_core_span_log.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include "sky_core_span_log.h" diff --git a/src/sky_core_span_log.h b/src/sky_core_span_log.h index 4384b45d..bb3a1fd0 100644 --- a/src/sky_core_span_log.h +++ b/src/sky_core_span_log.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_LOG_H #define SKYWALKING_LOG_H diff --git a/src/sky_execute.cc b/src/sky_execute.cc index 7c261b52..d6e1aeae 100644 --- a/src/sky_execute.cc +++ b/src/sky_execute.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include #include diff --git a/src/sky_execute.h b/src/sky_execute.h index aaed7d8a..4c0c81d2 100644 --- a/src/sky_execute.h +++ b/src/sky_execute.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_SKY_EXECUTE_H #define SKYWALKING_SKY_EXECUTE_H diff --git a/src/sky_grpc.cc b/src/sky_grpc.cc index 84192831..f4cf0817 100644 --- a/src/sky_grpc.cc +++ b/src/sky_grpc.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include "sky_grpc.h" diff --git a/src/sky_grpc.h b/src/sky_grpc.h index f1390376..017e846f 100644 --- a/src/sky_grpc.h +++ b/src/sky_grpc.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_SKY_GRPC_H #define SKYWALKING_SKY_GRPC_H diff --git a/src/sky_log.cc b/src/sky_log.cc index 270f4b7c..8557dbda 100644 --- a/src/sky_log.cc +++ b/src/sky_log.cc @@ -1,3 +1,19 @@ +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ #include #include #include diff --git a/src/sky_log.h b/src/sky_log.h index 47b203a1..1b611b9a 100644 --- a/src/sky_log.h +++ b/src/sky_log.h @@ -1,3 +1,19 @@ +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ #include #ifndef SKYWALKING_SKY_LOG_H diff --git a/src/sky_module.cc b/src/sky_module.cc index 637be2e4..7f31928a 100644 --- a/src/sky_module.cc +++ b/src/sky_module.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include #include diff --git a/src/sky_module.h b/src/sky_module.h index d7af72d4..d766591d 100644 --- a/src/sky_module.h +++ b/src/sky_module.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_SKY_MODULE_H #define SKYWALKING_SKY_MODULE_H diff --git a/src/sky_pdo.cc b/src/sky_pdo.cc index 915b9624..7a374a50 100644 --- a/src/sky_pdo.cc +++ b/src/sky_pdo.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include #include "sky_pdo.h" diff --git a/src/sky_pdo.h b/src/sky_pdo.h index e05d4a6f..eb659d65 100644 --- a/src/sky_pdo.h +++ b/src/sky_pdo.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_SKY_PDO_H #define SKYWALKING_SKY_PDO_H diff --git a/src/sky_plugin_curl.cc b/src/sky_plugin_curl.cc index 77f69528..9ca7c6e2 100644 --- a/src/sky_plugin_curl.cc +++ b/src/sky_plugin_curl.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include #include "sky_plugin_curl.h" diff --git a/src/sky_plugin_curl.h b/src/sky_plugin_curl.h index 68084c9c..621b77db 100644 --- a/src/sky_plugin_curl.h +++ b/src/sky_plugin_curl.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_SKY_PLUGIN_CURL_H #define SKYWALKING_SKY_PLUGIN_CURL_H diff --git a/src/sky_plugin_error.cc b/src/sky_plugin_error.cc index 84160bb2..252a2011 100644 --- a/src/sky_plugin_error.cc +++ b/src/sky_plugin_error.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include "sky_plugin_error.h" #include "php_skywalking.h" diff --git a/src/sky_plugin_error.h b/src/sky_plugin_error.h index d4fdfcd9..ffa95145 100644 --- a/src/sky_plugin_error.h +++ b/src/sky_plugin_error.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_SKY_PLUGIN_ERROR_H #define SKYWALKING_SKY_PLUGIN_ERROR_H diff --git a/src/sky_plugin_hyperf_guzzle.cc b/src/sky_plugin_hyperf_guzzle.cc index f6d49f07..40be093a 100644 --- a/src/sky_plugin_hyperf_guzzle.cc +++ b/src/sky_plugin_hyperf_guzzle.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include "sky_plugin_hyperf_guzzle.h" #include "php_skywalking.h" diff --git a/src/sky_plugin_hyperf_guzzle.h b/src/sky_plugin_hyperf_guzzle.h index c901cdcf..6e6d9985 100644 --- a/src/sky_plugin_hyperf_guzzle.h +++ b/src/sky_plugin_hyperf_guzzle.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_SKY_PLUGIN_HYPERF_GUZZLE_H #define SKYWALKING_SKY_PLUGIN_HYPERF_GUZZLE_H diff --git a/src/sky_plugin_mysqli.cc b/src/sky_plugin_mysqli.cc index 63fdf41a..9cb13c28 100644 --- a/src/sky_plugin_mysqli.cc +++ b/src/sky_plugin_mysqli.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include "sky_plugin_mysqli.h" #include "sky_core_span_log.h" diff --git a/src/sky_plugin_mysqli.h b/src/sky_plugin_mysqli.h index 599869fc..6768132c 100644 --- a/src/sky_plugin_mysqli.h +++ b/src/sky_plugin_mysqli.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_SKY_MYSQLI_H #define SKYWALKING_SKY_MYSQLI_H diff --git a/src/sky_plugin_predis.cc b/src/sky_plugin_predis.cc index 3a251339..c41a5326 100644 --- a/src/sky_plugin_predis.cc +++ b/src/sky_plugin_predis.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include "sky_plugin_predis.h" diff --git a/src/sky_plugin_predis.h b/src/sky_plugin_predis.h index 1757ee19..0f0f1e36 100644 --- a/src/sky_plugin_predis.h +++ b/src/sky_plugin_predis.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_SKY_PLUGIN_PREDIS_H #define SKYWALKING_SKY_PLUGIN_PREDIS_H diff --git a/src/sky_plugin_rabbit_mq.cc b/src/sky_plugin_rabbit_mq.cc index b284d617..101be673 100644 --- a/src/sky_plugin_rabbit_mq.cc +++ b/src/sky_plugin_rabbit_mq.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include "sky_plugin_rabbit_mq.h" #include "segment.h" diff --git a/src/sky_plugin_rabbit_mq.h b/src/sky_plugin_rabbit_mq.h index 4cf56106..668a7c38 100644 --- a/src/sky_plugin_rabbit_mq.h +++ b/src/sky_plugin_rabbit_mq.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_SKY_PLUGIN_RABBIT_MQ_H #define SKYWALKING_SKY_PLUGIN_RABBIT_MQ_H diff --git a/src/sky_plugin_redis.cc b/src/sky_plugin_redis.cc index 810b0c53..dad3ac45 100644 --- a/src/sky_plugin_redis.cc +++ b/src/sky_plugin_redis.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include "sky_plugin_redis.h" diff --git a/src/sky_plugin_redis.h b/src/sky_plugin_redis.h index f42707de..ac06d7f4 100644 --- a/src/sky_plugin_redis.h +++ b/src/sky_plugin_redis.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_SKY_PLUGIN_REDIS_H #define SKYWALKING_SKY_PLUGIN_REDIS_H diff --git a/src/sky_plugin_swoole_curl.cc b/src/sky_plugin_swoole_curl.cc index d161e71c..28df53e8 100644 --- a/src/sky_plugin_swoole_curl.cc +++ b/src/sky_plugin_swoole_curl.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include #include "sky_plugin_swoole_curl.h" diff --git a/src/sky_plugin_swoole_curl.h b/src/sky_plugin_swoole_curl.h index d379500c..6b811a10 100644 --- a/src/sky_plugin_swoole_curl.h +++ b/src/sky_plugin_swoole_curl.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_SKY_PLUGIN_SWOOLE_CURL_H #define SKYWALKING_SKY_PLUGIN_SWOOLE_CURL_H diff --git a/src/sky_shm.cc b/src/sky_shm.cc index 6d62bda9..d429bc5e 100644 --- a/src/sky_shm.cc +++ b/src/sky_shm.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include "sky_shm.h" diff --git a/src/sky_shm.h b/src/sky_shm.h index 0d8e7f93..d1ac2b9a 100644 --- a/src/sky_shm.h +++ b/src/sky_shm.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_SKY_SHM_H #define SKYWALKING_SKY_SHM_H diff --git a/src/sky_utils.cc b/src/sky_utils.cc index 697a5d86..68a641dc 100644 --- a/src/sky_utils.cc +++ b/src/sky_utils.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include #include diff --git a/src/sky_utils.h b/src/sky_utils.h index 46828a01..f892260d 100644 --- a/src/sky_utils.h +++ b/src/sky_utils.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_SKY_UTILS_H #define SKYWALKING_SKY_UTILS_H diff --git a/src/span.cc b/src/span.cc index 9ef8a2d7..51f1ab78 100644 --- a/src/span.cc +++ b/src/span.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include "span.h" #include "sky_core_span_log.h" diff --git a/src/span.h b/src/span.h index 38033ca7..1fc73e61 100644 --- a/src/span.h +++ b/src/span.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_SPAN_H #define SKYWALKING_SPAN_H diff --git a/src/tag.cc b/src/tag.cc index 09ba4bed..39d87989 100644 --- a/src/tag.cc +++ b/src/tag.cc @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #include "tag.h" diff --git a/src/tag.h b/src/tag.h index ed9e3070..2035f118 100644 --- a/src/tag.h +++ b/src/tag.h @@ -1,16 +1,20 @@ -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The SkyAPM 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. +/* + * Copyright 2021 SkyAPM + * + * 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. + * + */ + #ifndef SKYWALKING_TAG_H #define SKYWALKING_TAG_H From 8deb0f4810c0d351529bd2a390630b1d40ce6044 Mon Sep 17 00:00:00 2001 From: heyanlong Date: Fri, 4 Jun 2021 10:00:27 +0800 Subject: [PATCH 5/7] fix licenses --- .licenserc.yaml | 4 ++++ docker/Dockerfile.7.0 | 15 +++++++++++++++ docker/Dockerfile.7.1 | 15 +++++++++++++++ docker/Dockerfile.7.2 | 15 +++++++++++++++ docker/Dockerfile.7.3 | 15 +++++++++++++++ docker/Dockerfile.7.4 | 15 +++++++++++++++ docker/Dockerfile.8.0 | 15 +++++++++++++++ docker/index.php | 16 ++++++++++++++++ e2e/99-skywalking.ini | 15 +++++++++++++++ e2e/e2e.php | 17 ++++++++++++++++- e2e/index.php | 17 ++++++++++++++++- e2e/tests.php | 17 ++++++++++++++++- e2e/tests/functions.php | 17 ++++++++++++++++- e2e/tests/mysqli.php | 17 ++++++++++++++++- e2e/tests/redis.php | 17 ++++++++++++++++- php.ini | 14 ++++++++++++++ 16 files changed, 235 insertions(+), 6 deletions(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index 6029a7c1..62de3189 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -29,5 +29,9 @@ header: - 'NOTICE' - 'CREDITS' - 'EXPERIMENTAL' + - 'config.m4' + - 'config.w32' + - 'config.w32' + - 'e2e/composer.json' comment: on-failure \ No newline at end of file diff --git a/docker/Dockerfile.7.0 b/docker/Dockerfile.7.0 index 207cac26..486ed98d 100644 --- a/docker/Dockerfile.7.0 +++ b/docker/Dockerfile.7.0 @@ -1,3 +1,18 @@ +# +# Copyright 2021 SkyAPM +# +# 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. + FROM php:7.0-fpm-alpine ENV GRPC_RELEASE_TAG v1.31.x diff --git a/docker/Dockerfile.7.1 b/docker/Dockerfile.7.1 index 29958182..39f8ffb9 100644 --- a/docker/Dockerfile.7.1 +++ b/docker/Dockerfile.7.1 @@ -1,3 +1,18 @@ +# +# Copyright 2021 SkyAPM +# +# 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. + FROM php:7.1-fpm-alpine ENV GRPC_RELEASE_TAG v1.31.x diff --git a/docker/Dockerfile.7.2 b/docker/Dockerfile.7.2 index 84b1a784..303c6979 100644 --- a/docker/Dockerfile.7.2 +++ b/docker/Dockerfile.7.2 @@ -1,3 +1,18 @@ +# +# Copyright 2021 SkyAPM +# +# 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. + FROM php:7.2-fpm-alpine ENV GRPC_RELEASE_TAG v1.31.x diff --git a/docker/Dockerfile.7.3 b/docker/Dockerfile.7.3 index c245354e..dee6fc40 100644 --- a/docker/Dockerfile.7.3 +++ b/docker/Dockerfile.7.3 @@ -1,3 +1,18 @@ +# +# Copyright 2021 SkyAPM +# +# 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. + FROM php:7.3-fpm-alpine ENV GRPC_RELEASE_TAG v1.31.x diff --git a/docker/Dockerfile.7.4 b/docker/Dockerfile.7.4 index f1421cff..005f9b81 100644 --- a/docker/Dockerfile.7.4 +++ b/docker/Dockerfile.7.4 @@ -1,3 +1,18 @@ +# +# Copyright 2021 SkyAPM +# +# 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. + FROM php:7.4-fpm-alpine ENV GRPC_RELEASE_TAG v1.31.x diff --git a/docker/Dockerfile.8.0 b/docker/Dockerfile.8.0 index d85568b0..052e3157 100644 --- a/docker/Dockerfile.8.0 +++ b/docker/Dockerfile.8.0 @@ -1,3 +1,18 @@ +# +# Copyright 2021 SkyAPM +# +# 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. + FROM php:8.0-fpm-alpine ENV GRPC_RELEASE_TAG v1.31.x diff --git a/docker/index.php b/docker/index.php index 66cf2e42..5deddb3c 100644 --- a/docker/index.php +++ b/docker/index.php @@ -1,3 +1,19 @@ connect('127.0.0.1', 6379); diff --git a/php.ini b/php.ini index e3f2a54f..340f6e94 100644 --- a/php.ini +++ b/php.ini @@ -1,4 +1,18 @@ [PHP] +; +; Copyright 2021 SkyAPM +; +; 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 +; ;;;;;;;;;;;;;;;;;;; ; About php.ini ; From 640b19eaac0976bed97b98ce3cc21431a130fb9b Mon Sep 17 00:00:00 2001 From: heyanlong Date: Fri, 4 Jun 2021 10:07:29 +0800 Subject: [PATCH 6/7] fix licenses --- docker/nginx.conf | 14 +++++++------- e2e/nginx.conf | 14 +++++++------- e2e/override.conf | 15 +++++++++++++++ php.ini | 2 +- skywalking.php | 17 ++++++++++++++++- src/protocol/v3/browser/BrowserPerf.proto | 13 ++++++------- src/protocol/v3/common/Common.proto | 13 ++++++------- src/protocol/v3/language-agent/CLRMetric.proto | 13 ++++++------- src/protocol/v3/language-agent/JVMMetric.proto | 13 ++++++------- src/protocol/v3/language-agent/Tracing.proto | 13 ++++++------- src/protocol/v3/management/Management.proto | 13 ++++++------- src/protocol/v3/profile/Profile.proto | 13 ++++++------- .../v3/service-mesh-probe/service-mesh.proto | 13 ++++++------- swoole.php | 16 ++++++++++++++++ 14 files changed, 110 insertions(+), 72 deletions(-) diff --git a/docker/nginx.conf b/docker/nginx.conf index cf1f7385..fa364378 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -1,11 +1,11 @@ -# 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 SkyAPM 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 +# Copyright 2021 SkyAPM +# +# 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, diff --git a/e2e/nginx.conf b/e2e/nginx.conf index d1d5d5e0..faed3fc7 100644 --- a/e2e/nginx.conf +++ b/e2e/nginx.conf @@ -1,11 +1,11 @@ -# 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 SkyAPM 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 +# Copyright 2021 SkyAPM +# +# 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, diff --git a/e2e/override.conf b/e2e/override.conf index 2ba8c0e0..49bc7875 100644 --- a/e2e/override.conf +++ b/e2e/override.conf @@ -1,2 +1,17 @@ +# +# Copyright 2021 SkyAPM +# +# 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. + [Service] ExecStartPost=/bin/sleep 0.1 diff --git a/php.ini b/php.ini index 340f6e94..b6c5c4e2 100644 --- a/php.ini +++ b/php.ini @@ -1,4 +1,3 @@ -[PHP] ; ; Copyright 2021 SkyAPM ; @@ -14,6 +13,7 @@ ; See the License for the specific language governing permissions and ; +[PHP] ;;;;;;;;;;;;;;;;;;; ; About php.ini ; ;;;;;;;;;;;;;;;;;;; diff --git a/skywalking.php b/skywalking.php index fb49fc09..655dbd41 100644 --- a/skywalking.php +++ b/skywalking.php @@ -1,5 +1,20 @@ on("start", function ($server) { From 6c993f78f372689e4c85c838ccd6ae37b1c5b949 Mon Sep 17 00:00:00 2001 From: heyanlong Date: Fri, 4 Jun 2021 10:17:07 +0800 Subject: [PATCH 7/7] fix licenses --- php.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php.ini b/php.ini index b6c5c4e2..c2594206 100644 --- a/php.ini +++ b/php.ini @@ -11,7 +11,7 @@ ; 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. [PHP] ;;;;;;;;;;;;;;;;;;;