From bbd88056a0b2e656e27a240abefe98a8727ab4ae Mon Sep 17 00:00:00 2001 From: koushiro Date: Mon, 5 Oct 2026 17:37:20 +0800 Subject: [PATCH 1/4] ci: update hawkeye to 7.2.0 --- .../scripts/bootstrap-rust-crates.sh | 1 - .github/scripts/test_behavior/__init__.py | 1 + .github/scripts/weekly_update/main.py | 1 - .github/workflows/ci_bindings_python.yml | 6 ++- .github/workflows/ci_check.yml | 6 ++- bindings/c/include/opendal.h | 1 - bindings/c/tests/test_ci_integration.sh | 1 - bindings/c/tests/verify_framework.sh | 1 - bindings/cpp/test_runner.sh | 1 - .../dotnet/OpenDAL.Tests/OpenDAL.Tests.csproj | 3 +- bindings/dotnet/OpenDAL/OpenDAL.csproj | 3 +- bindings/dotnet/build.py | 2 - .../GettingStarted/GettingStarted.csproj | 3 +- bindings/dotnet/opendal.slnx | 3 +- bindings/go/copier.go | 34 ++++++++--------- bindings/go/copy.go | 34 ++++++++--------- bindings/go/delete.go | 34 ++++++++--------- bindings/go/error.go | 34 ++++++++--------- bindings/go/examples/guide/getting_started.go | 34 ++++++++--------- bindings/go/ffi.go | 34 ++++++++--------- bindings/go/layer.go | 34 ++++++++--------- bindings/go/lister.go | 34 ++++++++--------- bindings/go/metadata.go | 34 ++++++++--------- bindings/go/opendal.go | 34 ++++++++--------- bindings/go/operator.go | 34 ++++++++--------- bindings/go/operator_info.go | 34 ++++++++--------- bindings/go/presign.go | 34 ++++++++--------- bindings/go/reader.go | 34 ++++++++--------- bindings/go/stat.go | 34 ++++++++--------- bindings/go/string.go | 34 ++++++++--------- bindings/go/string_ownership_test.go | 34 ++++++++--------- .../go/tests/behavior_tests/benchmark_test.go | 34 ++++++++--------- bindings/go/tests/behavior_tests/copy_test.go | 34 ++++++++--------- .../tests/behavior_tests/create_dir_test.go | 34 ++++++++--------- .../go/tests/behavior_tests/delete_test.go | 34 ++++++++--------- bindings/go/tests/behavior_tests/list_test.go | 34 ++++++++--------- .../go/tests/behavior_tests/opendal_test.go | 34 ++++++++--------- .../go/tests/behavior_tests/presign_test.go | 34 ++++++++--------- bindings/go/tests/behavior_tests/read_test.go | 34 ++++++++--------- .../go/tests/behavior_tests/rename_test.go | 34 ++++++++--------- .../go/tests/behavior_tests/scheme_test.go | 34 ++++++++--------- bindings/go/tests/behavior_tests/stat_test.go | 34 ++++++++--------- .../go/tests/behavior_tests/write_test.go | 34 ++++++++--------- bindings/go/types.go | 34 ++++++++--------- bindings/go/types_test.go | 34 ++++++++--------- bindings/go/util_unix.go | 36 +++++++++--------- bindings/go/util_windows.go | 36 +++++++++--------- bindings/go/writer.go | 34 ++++++++--------- .../.mvn/wrapper/maven-wrapper.properties | 1 + bindings/java/mvnw.cmd | 2 +- bindings/java/pom.xml | 3 +- bindings/java/src/assembly/source-release.xml | 3 +- bindings/java/tools/build.py | 1 - bindings/lua/example/fs.lua | 2 - bindings/lua/example/getting-started.lua | 2 - bindings/lua/src/metadata_doc.lua | 3 -- bindings/lua/src/operator_doc.lua | 2 - bindings/lua/test/opendal_test.lua | 2 - bindings/ocaml/release.sh | 1 - bindings/php/phpunit.xml | 3 +- bindings/python/CONTRIBUTING.md | 4 +- bindings/python/justfile | 4 +- fixtures/azblob/setup_azurite.sh | 1 - fixtures/hdfs/azurite-azblob-core-site.xml | 5 +-- fixtures/hdfs/gcs-core-site.xml | 5 +-- fixtures/hdfs/hdfs-site.xml | 2 - fixtures/hdfs/silo-s3-core-site.xml | 5 +-- fixtures/mysql/init.sql | 2 - fixtures/postgresql/init.sql | 2 - fixtures/sqlite/data.sql | 2 - fixtures/tikv/gen_cert.sh | 1 - .../pom.xml | 3 +- .../opendal-spring-boot-starter/pom.xml | 3 +- integrations/spring/opendal-spring/pom.xml | 3 +- integrations/spring/pom.xml | 3 +- licenserc.toml | 37 ++++++++++++++++--- scripts/verify.py | 1 - website/community/maturity.md | 24 ++++++------ 78 files changed, 621 insertions(+), 704 deletions(-) diff --git a/.agents/skills/opendal-release/scripts/bootstrap-rust-crates.sh b/.agents/skills/opendal-release/scripts/bootstrap-rust-crates.sh index 60ad4050ad44..ac219b8d6671 100755 --- a/.agents/skills/opendal-release/scripts/bootstrap-rust-crates.sh +++ b/.agents/skills/opendal-release/scripts/bootstrap-rust-crates.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -# # 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 diff --git a/.github/scripts/test_behavior/__init__.py b/.github/scripts/test_behavior/__init__.py index 13a83393a912..245692337bc3 100644 --- a/.github/scripts/test_behavior/__init__.py +++ b/.github/scripts/test_behavior/__init__.py @@ -14,3 +14,4 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. + diff --git a/.github/scripts/weekly_update/main.py b/.github/scripts/weekly_update/main.py index 955ecfb2d4e8..a49ab9619169 100644 --- a/.github/scripts/weekly_update/main.py +++ b/.github/scripts/weekly_update/main.py @@ -16,7 +16,6 @@ # specific language governing permissions and limitations # under the License. - import os import sys import argparse diff --git a/.github/workflows/ci_bindings_python.yml b/.github/workflows/ci_bindings_python.yml index bf4972678c46..aaf14d255e03 100644 --- a/.github/workflows/ci_bindings_python.yml +++ b/.github/workflows/ci_bindings_python.yml @@ -81,8 +81,10 @@ jobs: with: tool: taplo-cli - - name: Setup hawkeye - run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/korandoru/hawkeye/releases/download/v6.5.1/hawkeye-installer.sh | sh + - name: Install Hawkeye + uses: taiki-e/install-action@v2 + with: + tool: hawkeye@7.2.0 - name: Regenerate stubs working-directory: "bindings/python" diff --git a/.github/workflows/ci_check.yml b/.github/workflows/ci_check.yml index ee890485c93a..4e4f1eea724c 100644 --- a/.github/workflows/ci_check.yml +++ b/.github/workflows/ci_check.yml @@ -58,8 +58,12 @@ jobs: FORCE_COLOR: 1 steps: - uses: actions/checkout@v7 + - name: Install Hawkeye + uses: taiki-e/install-action@v2 + with: + tool: hawkeye@7.2.0 - name: Check license headers - uses: korandoru/hawkeye@v6 + run: hawkeye check # Add python format check later. code-format: diff --git a/bindings/c/include/opendal.h b/bindings/c/include/opendal.h index dac0667606fd..8b4b56109d14 100644 --- a/bindings/c/include/opendal.h +++ b/bindings/c/include/opendal.h @@ -17,7 +17,6 @@ * under the License. */ - #ifndef _OPENDAL_H #define _OPENDAL_H diff --git a/bindings/c/tests/test_ci_integration.sh b/bindings/c/tests/test_ci_integration.sh index be74702211db..76d94c9dae22 100755 --- a/bindings/c/tests/test_ci_integration.sh +++ b/bindings/c/tests/test_ci_integration.sh @@ -1,5 +1,4 @@ #!/bin/bash - # 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 diff --git a/bindings/c/tests/verify_framework.sh b/bindings/c/tests/verify_framework.sh index 6bdc62f11069..1f5c190c5ee3 100755 --- a/bindings/c/tests/verify_framework.sh +++ b/bindings/c/tests/verify_framework.sh @@ -1,5 +1,4 @@ #!/bin/bash - # 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 diff --git a/bindings/cpp/test_runner.sh b/bindings/cpp/test_runner.sh index 4933ef1ed229..a6c9f07ff02d 100755 --- a/bindings/cpp/test_runner.sh +++ b/bindings/cpp/test_runner.sh @@ -1,5 +1,4 @@ #!/bin/bash - # 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 diff --git a/bindings/dotnet/OpenDAL.Tests/OpenDAL.Tests.csproj b/bindings/dotnet/OpenDAL.Tests/OpenDAL.Tests.csproj index 02f62e6a8011..16cfa39c00cc 100644 --- a/bindings/dotnet/OpenDAL.Tests/OpenDAL.Tests.csproj +++ b/bindings/dotnet/OpenDAL.Tests/OpenDAL.Tests.csproj @@ -1,5 +1,4 @@ + diff --git a/bindings/dotnet/OpenDAL/OpenDAL.csproj b/bindings/dotnet/OpenDAL/OpenDAL.csproj index f9d875e231d8..98988a35c00a 100644 --- a/bindings/dotnet/OpenDAL/OpenDAL.csproj +++ b/bindings/dotnet/OpenDAL/OpenDAL.csproj @@ -1,5 +1,4 @@ + diff --git a/bindings/dotnet/build.py b/bindings/dotnet/build.py index 49ed959de35d..fe4587cf8ce2 100755 --- a/bindings/dotnet/build.py +++ b/bindings/dotnet/build.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 - # 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 @@ -17,7 +16,6 @@ # specific language governing permissions and limitations # under the License. - from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser from pathlib import Path import shutil diff --git a/bindings/dotnet/examples/GettingStarted/GettingStarted.csproj b/bindings/dotnet/examples/GettingStarted/GettingStarted.csproj index 030543916d01..b73dc310bc50 100644 --- a/bindings/dotnet/examples/GettingStarted/GettingStarted.csproj +++ b/bindings/dotnet/examples/GettingStarted/GettingStarted.csproj @@ -1,5 +1,4 @@ + diff --git a/bindings/dotnet/opendal.slnx b/bindings/dotnet/opendal.slnx index 2cf4db04de48..f0b93969e95d 100644 --- a/bindings/dotnet/opendal.slnx +++ b/bindings/dotnet/opendal.slnx @@ -1,5 +1,4 @@ + diff --git a/bindings/go/copier.go b/bindings/go/copier.go index 287e4fda5a18..df5a3efc66c8 100644 --- a/bindings/go/copier.go +++ b/bindings/go/copier.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/copy.go b/bindings/go/copy.go index be82027aa7bd..7ee03e2a59e4 100644 --- a/bindings/go/copy.go +++ b/bindings/go/copy.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/delete.go b/bindings/go/delete.go index 26284f3e9175..78bffb765aab 100644 --- a/bindings/go/delete.go +++ b/bindings/go/delete.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/error.go b/bindings/go/error.go index 60665eefe347..9859fde640ba 100644 --- a/bindings/go/error.go +++ b/bindings/go/error.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/examples/guide/getting_started.go b/bindings/go/examples/guide/getting_started.go index 21536d7063bd..a8a68d19ffcb 100644 --- a/bindings/go/examples/guide/getting_started.go +++ b/bindings/go/examples/guide/getting_started.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. // The Getting Started example for the Go binding, embedded into the website // guide. It runs against the in-memory service with no credentials, so CI can diff --git a/bindings/go/ffi.go b/bindings/go/ffi.go index 6d44ef33fa34..b8470d089e64 100644 --- a/bindings/go/ffi.go +++ b/bindings/go/ffi.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/layer.go b/bindings/go/layer.go index 2c68fa19517a..ed664e03a4a6 100644 --- a/bindings/go/layer.go +++ b/bindings/go/layer.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/lister.go b/bindings/go/lister.go index 316c3f6b0c93..d13871e5e00b 100644 --- a/bindings/go/lister.go +++ b/bindings/go/lister.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/metadata.go b/bindings/go/metadata.go index 029d543a42fb..c9473ae2ae97 100644 --- a/bindings/go/metadata.go +++ b/bindings/go/metadata.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/opendal.go b/bindings/go/opendal.go index bffcea0f2b75..f7c2f019b616 100644 --- a/bindings/go/opendal.go +++ b/bindings/go/opendal.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. // Package opendal provides a Go binding for Apache OpenDAL (Open Data Access Layer). // diff --git a/bindings/go/operator.go b/bindings/go/operator.go index 5bb31374b36f..0afd686dd796 100644 --- a/bindings/go/operator.go +++ b/bindings/go/operator.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/operator_info.go b/bindings/go/operator_info.go index 8903618542f1..004cdd0043e9 100644 --- a/bindings/go/operator_info.go +++ b/bindings/go/operator_info.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/presign.go b/bindings/go/presign.go index b04f38d29df4..e22a192fd5ef 100644 --- a/bindings/go/presign.go +++ b/bindings/go/presign.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/reader.go b/bindings/go/reader.go index b511b0157bde..d9ceefe1c0f0 100644 --- a/bindings/go/reader.go +++ b/bindings/go/reader.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/stat.go b/bindings/go/stat.go index 715b8df57290..f8c7015c67a3 100644 --- a/bindings/go/stat.go +++ b/bindings/go/stat.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/string.go b/bindings/go/string.go index 1686aeb86ff4..a90c8d5b7deb 100644 --- a/bindings/go/string.go +++ b/bindings/go/string.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/string_ownership_test.go b/bindings/go/string_ownership_test.go index 3c01bf536ec8..4da8f6670ec7 100644 --- a/bindings/go/string_ownership_test.go +++ b/bindings/go/string_ownership_test.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/tests/behavior_tests/benchmark_test.go b/bindings/go/tests/behavior_tests/benchmark_test.go index a0aa164ead82..bc51f5ce7de5 100644 --- a/bindings/go/tests/behavior_tests/benchmark_test.go +++ b/bindings/go/tests/behavior_tests/benchmark_test.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal_test diff --git a/bindings/go/tests/behavior_tests/copy_test.go b/bindings/go/tests/behavior_tests/copy_test.go index df1233de4a07..084172c5126e 100644 --- a/bindings/go/tests/behavior_tests/copy_test.go +++ b/bindings/go/tests/behavior_tests/copy_test.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal_test diff --git a/bindings/go/tests/behavior_tests/create_dir_test.go b/bindings/go/tests/behavior_tests/create_dir_test.go index 8b0937b61266..912129b41cc1 100644 --- a/bindings/go/tests/behavior_tests/create_dir_test.go +++ b/bindings/go/tests/behavior_tests/create_dir_test.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal_test diff --git a/bindings/go/tests/behavior_tests/delete_test.go b/bindings/go/tests/behavior_tests/delete_test.go index 702e590797c6..52fa904599c2 100644 --- a/bindings/go/tests/behavior_tests/delete_test.go +++ b/bindings/go/tests/behavior_tests/delete_test.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal_test diff --git a/bindings/go/tests/behavior_tests/list_test.go b/bindings/go/tests/behavior_tests/list_test.go index 7a3f60488a8c..3044129db31a 100644 --- a/bindings/go/tests/behavior_tests/list_test.go +++ b/bindings/go/tests/behavior_tests/list_test.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal_test diff --git a/bindings/go/tests/behavior_tests/opendal_test.go b/bindings/go/tests/behavior_tests/opendal_test.go index a72842a0a8b6..a11ff29d0bbb 100644 --- a/bindings/go/tests/behavior_tests/opendal_test.go +++ b/bindings/go/tests/behavior_tests/opendal_test.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal_test diff --git a/bindings/go/tests/behavior_tests/presign_test.go b/bindings/go/tests/behavior_tests/presign_test.go index eff7df2257be..7283c46f3603 100644 --- a/bindings/go/tests/behavior_tests/presign_test.go +++ b/bindings/go/tests/behavior_tests/presign_test.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal_test diff --git a/bindings/go/tests/behavior_tests/read_test.go b/bindings/go/tests/behavior_tests/read_test.go index dfcde91be129..8419bf2affab 100644 --- a/bindings/go/tests/behavior_tests/read_test.go +++ b/bindings/go/tests/behavior_tests/read_test.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal_test diff --git a/bindings/go/tests/behavior_tests/rename_test.go b/bindings/go/tests/behavior_tests/rename_test.go index 7775c25d6385..48908ff32371 100644 --- a/bindings/go/tests/behavior_tests/rename_test.go +++ b/bindings/go/tests/behavior_tests/rename_test.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal_test diff --git a/bindings/go/tests/behavior_tests/scheme_test.go b/bindings/go/tests/behavior_tests/scheme_test.go index 7702e1517faa..bbaa8aa92e24 100644 --- a/bindings/go/tests/behavior_tests/scheme_test.go +++ b/bindings/go/tests/behavior_tests/scheme_test.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal_test diff --git a/bindings/go/tests/behavior_tests/stat_test.go b/bindings/go/tests/behavior_tests/stat_test.go index 7bf9c3ad112f..df7e3f3078f8 100644 --- a/bindings/go/tests/behavior_tests/stat_test.go +++ b/bindings/go/tests/behavior_tests/stat_test.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal_test diff --git a/bindings/go/tests/behavior_tests/write_test.go b/bindings/go/tests/behavior_tests/write_test.go index 976cbd35af70..8f78ebb36585 100644 --- a/bindings/go/tests/behavior_tests/write_test.go +++ b/bindings/go/tests/behavior_tests/write_test.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal_test diff --git a/bindings/go/types.go b/bindings/go/types.go index 840391a0e63c..36d220ca9f20 100644 --- a/bindings/go/types.go +++ b/bindings/go/types.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/types_test.go b/bindings/go/types_test.go index d708065d1bb3..e40c17f9af71 100644 --- a/bindings/go/types_test.go +++ b/bindings/go/types_test.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/go/util_unix.go b/bindings/go/util_unix.go index a8f67740683a..8d4a78f85ab2 100644 --- a/bindings/go/util_unix.go +++ b/bindings/go/util_unix.go @@ -1,23 +1,21 @@ -//go:build !windows +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +//go:build !windows package opendal diff --git a/bindings/go/util_windows.go b/bindings/go/util_windows.go index 3d095b4a0d99..127bf703d8ce 100644 --- a/bindings/go/util_windows.go +++ b/bindings/go/util_windows.go @@ -1,23 +1,21 @@ -//go:build windows +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +//go:build windows package opendal diff --git a/bindings/go/writer.go b/bindings/go/writer.go index ef77f2135189..c6338c558be2 100644 --- a/bindings/go/writer.go +++ b/bindings/go/writer.go @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. package opendal diff --git a/bindings/java/.mvn/wrapper/maven-wrapper.properties b/bindings/java/.mvn/wrapper/maven-wrapper.properties index ac184013fc0d..6ccd9b207deb 100644 --- a/bindings/java/.mvn/wrapper/maven-wrapper.properties +++ b/bindings/java/.mvn/wrapper/maven-wrapper.properties @@ -14,5 +14,6 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. + distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.4/apache-maven-3.9.4-bin.zip wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar diff --git a/bindings/java/mvnw.cmd b/bindings/java/mvnw.cmd index f80fbad3e766..250a8a7a8cb1 100644 --- a/bindings/java/mvnw.cmd +++ b/bindings/java/mvnw.cmd @@ -7,7 +7,7 @@ @REM "License"); you may not use this file except in compliance @REM with the License. You may obtain a copy of the License at @REM -@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, @REM software distributed under the License is distributed on an diff --git a/bindings/java/pom.xml b/bindings/java/pom.xml index bb23c1d74b22..19d90ebe0b56 100644 --- a/bindings/java/pom.xml +++ b/bindings/java/pom.xml @@ -1,6 +1,5 @@ + diff --git a/bindings/java/src/assembly/source-release.xml b/bindings/java/src/assembly/source-release.xml index 1c33ef3f30a1..dda6a90d44b5 100644 --- a/bindings/java/src/assembly/source-release.xml +++ b/bindings/java/src/assembly/source-release.xml @@ -1,6 +1,5 @@ + diff --git a/bindings/java/tools/build.py b/bindings/java/tools/build.py index 2a76ffc7e0b9..c662e96307df 100755 --- a/bindings/java/tools/build.py +++ b/bindings/java/tools/build.py @@ -16,7 +16,6 @@ # specific language governing permissions and limitations # under the License. - from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser from pathlib import Path import glob diff --git a/bindings/lua/example/fs.lua b/bindings/lua/example/fs.lua index 55eb19900bf0..1803805192f2 100755 --- a/bindings/lua/example/fs.lua +++ b/bindings/lua/example/fs.lua @@ -1,5 +1,4 @@ --[[ - 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 @@ -16,7 +15,6 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - ]] local opendal = require("opendal") diff --git a/bindings/lua/example/getting-started.lua b/bindings/lua/example/getting-started.lua index 8552a94f97f4..af1cf56e4c2f 100644 --- a/bindings/lua/example/getting-started.lua +++ b/bindings/lua/example/getting-started.lua @@ -1,5 +1,4 @@ --[[ - 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 @@ -16,7 +15,6 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - ]] -- The Getting Started example for the Lua binding, embedded into the website diff --git a/bindings/lua/src/metadata_doc.lua b/bindings/lua/src/metadata_doc.lua index 95d63baacd03..e9156a42aab8 100644 --- a/bindings/lua/src/metadata_doc.lua +++ b/bindings/lua/src/metadata_doc.lua @@ -1,5 +1,4 @@ --[[ - 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 @@ -16,10 +15,8 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - ]] - --- OpenDAL metadata It must be returned operator::stat() -- @classmod opendal.metadata -- @pragma nostrip diff --git a/bindings/lua/src/operator_doc.lua b/bindings/lua/src/operator_doc.lua index 01bd90894121..e9aec86513b2 100644 --- a/bindings/lua/src/operator_doc.lua +++ b/bindings/lua/src/operator_doc.lua @@ -1,5 +1,4 @@ --[[ - 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 @@ -16,7 +15,6 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - ]] --- OpenDAL operator. diff --git a/bindings/lua/test/opendal_test.lua b/bindings/lua/test/opendal_test.lua index 859ddc361ccc..834c9fa41575 100644 --- a/bindings/lua/test/opendal_test.lua +++ b/bindings/lua/test/opendal_test.lua @@ -1,5 +1,4 @@ --[[ - 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 @@ -16,7 +15,6 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - ]] local opendal = require("opendal") diff --git a/bindings/ocaml/release.sh b/bindings/ocaml/release.sh index 855f12efaaef..1afe95bcb049 100755 --- a/bindings/ocaml/release.sh +++ b/bindings/ocaml/release.sh @@ -1,5 +1,4 @@ #!/bin/bash - # 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 diff --git a/bindings/php/phpunit.xml b/bindings/php/phpunit.xml index a8612bd4381d..e0ac0969e96e 100644 --- a/bindings/php/phpunit.xml +++ b/bindings/php/phpunit.xml @@ -1,6 +1,5 @@ + - - + diff --git a/fixtures/hdfs/gcs-core-site.xml b/fixtures/hdfs/gcs-core-site.xml index e8d7418a29e2..2e76976a996f 100644 --- a/fixtures/hdfs/gcs-core-site.xml +++ b/fixtures/hdfs/gcs-core-site.xml @@ -1,7 +1,5 @@ - - + diff --git a/fixtures/hdfs/hdfs-site.xml b/fixtures/hdfs/hdfs-site.xml index cf83c2d57fcf..1a7f233ba7ca 100644 --- a/fixtures/hdfs/hdfs-site.xml +++ b/fixtures/hdfs/hdfs-site.xml @@ -1,5 +1,4 @@ diff --git a/fixtures/hdfs/silo-s3-core-site.xml b/fixtures/hdfs/silo-s3-core-site.xml index 9a5b79fb3f69..2f022b13f696 100644 --- a/fixtures/hdfs/silo-s3-core-site.xml +++ b/fixtures/hdfs/silo-s3-core-site.xml @@ -1,7 +1,5 @@ - - + diff --git a/fixtures/mysql/init.sql b/fixtures/mysql/init.sql index 6c12aad38886..558869538827 100644 --- a/fixtures/mysql/init.sql +++ b/fixtures/mysql/init.sql @@ -1,4 +1,3 @@ --- -- 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 @@ -15,7 +14,6 @@ -- KIND, either express or implied. See the License for the -- specific language governing permissions and limitations -- under the License. --- CREATE TABLE IF NOT EXISTS `data` ( `key` VARCHAR(255) PRIMARY KEY, diff --git a/fixtures/postgresql/init.sql b/fixtures/postgresql/init.sql index b6d2c111a700..b17da95314e2 100644 --- a/fixtures/postgresql/init.sql +++ b/fixtures/postgresql/init.sql @@ -1,4 +1,3 @@ --- -- 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 @@ -15,6 +14,5 @@ -- KIND, either express or implied. See the License for the -- specific language governing permissions and limitations -- under the License. --- CREATE TABLE IF NOT EXISTS data (key TEXT PRIMARY KEY, value BYTEA); diff --git a/fixtures/sqlite/data.sql b/fixtures/sqlite/data.sql index c156a10891a3..904544e20e06 100644 --- a/fixtures/sqlite/data.sql +++ b/fixtures/sqlite/data.sql @@ -1,4 +1,3 @@ --- -- 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 @@ -15,7 +14,6 @@ -- KIND, either express or implied. See the License for the -- specific language governing permissions and limitations -- under the License. --- CREATE TABLE IF NOT EXISTS `data` ( `key` TEXT PRIMARY KEY NOT NULL CHECK(length(key) <= 255), diff --git a/fixtures/tikv/gen_cert.sh b/fixtures/tikv/gen_cert.sh index 919c1f2bea11..ee6fef784e8a 100755 --- a/fixtures/tikv/gen_cert.sh +++ b/fixtures/tikv/gen_cert.sh @@ -1,5 +1,4 @@ #! /bin/bash - # 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 diff --git a/integrations/spring/opendal-spring-boot-starter-reactive/pom.xml b/integrations/spring/opendal-spring-boot-starter-reactive/pom.xml index 4dc8efb382d9..ee59c5a1fc1f 100644 --- a/integrations/spring/opendal-spring-boot-starter-reactive/pom.xml +++ b/integrations/spring/opendal-spring-boot-starter-reactive/pom.xml @@ -1,6 +1,5 @@ + diff --git a/integrations/spring/opendal-spring-boot-starter/pom.xml b/integrations/spring/opendal-spring-boot-starter/pom.xml index c05cad198c40..88b9029872fb 100644 --- a/integrations/spring/opendal-spring-boot-starter/pom.xml +++ b/integrations/spring/opendal-spring-boot-starter/pom.xml @@ -1,6 +1,5 @@ + diff --git a/integrations/spring/opendal-spring/pom.xml b/integrations/spring/opendal-spring/pom.xml index 8c638da01647..b2553c1ec47f 100644 --- a/integrations/spring/opendal-spring/pom.xml +++ b/integrations/spring/opendal-spring/pom.xml @@ -1,6 +1,5 @@ + diff --git a/integrations/spring/pom.xml b/integrations/spring/pom.xml index 0c072219506b..86b036c8d1cb 100644 --- a/integrations/spring/pom.xml +++ b/integrations/spring/pom.xml @@ -1,6 +1,5 @@ + diff --git a/licenserc.toml b/licenserc.toml index 9b9e8b787485..cdffdb64ea1d 100644 --- a/licenserc.toml +++ b/licenserc.toml @@ -15,8 +15,10 @@ # specific language governing permissions and limitations # under the License. -headerPath = "Apache-2.0-ASF.txt" +[header] +builtin = "Apache-2.0-ASF" +[files] excludes = [ # Preserve third-party license headers. "core/services/gcs-grpc/proto/google/storage/v2/storage.proto", @@ -49,7 +51,32 @@ excludes = [ "*generated*", ] -# HawkEye's default mapping does not cover .NET project and solution files, -# which are XML documents and accept XML comments. -[mapping.XML_STYLE] -extensions = ["csproj", "slnx"] +[[rules]] +extensions = ["xml", "csproj", "slnx"] +style_out = "xml_indent" + +# Preserve the existing indentation in XML license headers. +[styles.xml_indent] +kind = "block" +start = "" + +[[rules]] +filenames = ["mvnw.cmd"] +style_out = "maven_batch" + +# Preserve the Maven wrapper's banner around its license header. +[styles.maven_batch] +kind = "block" +start = "@REM ----------------------------------------------------------------------------" +prefix = "@REM " +suffix = "" +end = "@REM ----------------------------------------------------------------------------" + +# Keep Go license headers compatible with gofmt and build tags. +[[rules]] +extensions = ["go"] +styles_in = ["doubleslash", "slashstar"] +style_out = "doubleslash" diff --git a/scripts/verify.py b/scripts/verify.py index c6f48282aabf..86022593783f 100755 --- a/scripts/verify.py +++ b/scripts/verify.py @@ -16,7 +16,6 @@ # specific language governing permissions and limitations # under the License. - import subprocess import sys import os diff --git a/website/community/maturity.md b/website/community/maturity.md index d2b30c6589ac..1b9dbed2a601 100644 --- a/website/community/maturity.md +++ b/website/community/maturity.md @@ -23,19 +23,19 @@ The following table is filled according to the [Apache Maturity Model](https://c | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **CD10** | The project produces Open Source software for distribution to the public, at no charge. | **YES** The project source code is licensed under the `Apache License 2.0`. | | **CD20** | Anyone can easily discover and access the project's code.. | **YES** The [official website](https://opendal.apache.org/) includes `GitHub` link which can access the project's repository on GitHub directly. | -| **CD30** | Anyone using standard, widely-available tools, can build the code in a reproducible way. | **YES** Apache OpenDAL provide `how-to-build` document for every component to tell user how to compile on bare metal, such as the [core's](https://github.com/apache/opendal/blob/main/core/CONTRIBUTING.md). | +| **CD30** | Anyone using standard, widely-available tools, can build the code in a reproducible way. | **YES** Apache OpenDAL provide `how-to-build` document for every component to tell user how to compile on bare metal, such as the [core's](https://github.com/apache/opendal/blob/main/core/CONTRIBUTING.md). | | **CD40** | The full history of the project's code is available via a source code control system, in a way that allows anyone to recreate any released version. | **YES** It depends on git, and anyone can view the full history of the project via commit logs. | | **CD50** | The source code control system establishes the provenance of each line of code in a reliable way, based on strong authentication of the committer. When third parties contribute code, commit messages provide reliable information about the code provenance. | **YES** The project uses GitHub and managed by Apache Infra, it ensuring provenance of each line of code to a committer. And the third-party contributions are accepted in accordance with the contributing guides. | ### LICENSE -| **ID** | **Description** | **Status** | -| -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| **LC10** | The Apache License, version 2.0, covers the released code. | **YES** The [LICENSE](https://github.com/apache/opendal/blob/main/LICENSE) is in GitHub repository. And all source files are with APLv2 header, checked by `korandoru/hawkeye@v3.6.0`. | -| **LC20** | Libraries that are mandatory dependencies of the project's code do not create more restrictions than the Apache License does. | **YES** All dependencies are listed. | -| **LC30** | The libraries mentioned in LC20 are available as Open Source software. | **YES** All dependencies are listed are available as Open Source software | -| **LC40** | Committers are bound by an Individual Contributor Agreement (the "Apache iCLA") that defines which code they may commit and how they need to identify code that is not their own. | **YES** All committers have iCLAs. | -| **LC50** | The project clearly defines and documents the copyright ownership of everything that the project produces. | **YES** And all source files are with APLv2 header, checked by `korandoru/hawkeye@v3.6.0`. | +| **ID** | **Description** | **Status** | +| -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **LC10** | The Apache License, version 2.0, covers the released code. | **YES** The [LICENSE](https://github.com/apache/opendal/blob/main/LICENSE) is in GitHub repository. And all source files are with APLv2 header, checked by `hawkeye check`. | +| **LC20** | Libraries that are mandatory dependencies of the project's code do not create more restrictions than the Apache License does. | **YES** All dependencies are listed. | +| **LC30** | The libraries mentioned in LC20 are available as Open Source software. | **YES** All dependencies are listed are available as Open Source software | +| **LC40** | Committers are bound by an Individual Contributor Agreement (the "Apache iCLA") that defines which code they may commit and how they need to identify code that is not their own. | **YES** All committers have iCLAs. | +| **LC50** | The project clearly defines and documents the copyright ownership of everything that the project produces. | **YES** And all source files are with APLv2 header, checked by `hawkeye check`. | ### Releases @@ -81,7 +81,7 @@ The following table is filled according to the [Apache Maturity Model](https://c ### Independence -| **ID** | **Description** | **Status** | -| -------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| **IN10** | The project is independent from any corporate or organizational influence. | **YES** The PPMC members and committer of Apache OpenDAL are from several different companies, and majority of them are NOT From the company that donated this project. | -| **IN20** | Contributors act as themselves, not as representatives of a corporation or organization. | **YES** The contributors act on their own initiative without representing a corporation or organization. | +| **ID** | **Description** | **Status** | +| -------- | ---------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **IN10** | The project is independent from any corporate or organizational influence. | **YES** The PPMC members and committer of Apache OpenDAL are from several different companies, and majority of them are NOT From the company that donated this project. | +| **IN20** | Contributors act as themselves, not as representatives of a corporation or organization. | **YES** The contributors act on their own initiative without representing a corporation or organization. | From acfbd9f1bd7c9a32faa2435a5ab9ce72acec39a3 Mon Sep 17 00:00:00 2001 From: koushiro Date: Mon, 5 Oct 2026 19:48:21 +0800 Subject: [PATCH 2/4] revert some comments --- licenserc.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/licenserc.toml b/licenserc.toml index cdffdb64ea1d..f48fb6968ada 100644 --- a/licenserc.toml +++ b/licenserc.toml @@ -51,6 +51,8 @@ excludes = [ "*generated*", ] +# HawkEye's default mapping does not cover .NET project and solution files, +# which are XML documents and accept XML comments. [[rules]] extensions = ["xml", "csproj", "slnx"] style_out = "xml_indent" From a6e551a92e16a0e87fbd007b0229e3ca6d64e90c Mon Sep 17 00:00:00 2001 From: koushiro Date: Mon, 5 Oct 2026 19:51:55 +0800 Subject: [PATCH 3/4] fix taplo check --- licenserc.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/licenserc.toml b/licenserc.toml index f48fb6968ada..9e26b79fdde7 100644 --- a/licenserc.toml +++ b/licenserc.toml @@ -59,11 +59,11 @@ style_out = "xml_indent" # Preserve the existing indentation in XML license headers. [styles.xml_indent] +end = "-->" kind = "block" -start = "" [[rules]] filenames = ["mvnw.cmd"] @@ -71,14 +71,14 @@ style_out = "maven_batch" # Preserve the Maven wrapper's banner around its license header. [styles.maven_batch] +end = "@REM ----------------------------------------------------------------------------" kind = "block" -start = "@REM ----------------------------------------------------------------------------" prefix = "@REM " +start = "@REM ----------------------------------------------------------------------------" suffix = "" -end = "@REM ----------------------------------------------------------------------------" # Keep Go license headers compatible with gofmt and build tags. [[rules]] extensions = ["go"] -styles_in = ["doubleslash", "slashstar"] style_out = "doubleslash" +styles_in = ["doubleslash", "slashstar"] From b98d60c2de40ef2bfe50ab727b40836ccd14a5a2 Mon Sep 17 00:00:00 2001 From: koushiro Date: Mon, 5 Oct 2026 20:08:24 +0800 Subject: [PATCH 4/4] fix c/python bindings --- bindings/c/cbindgen.toml | 3 +-- bindings/python/justfile | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bindings/c/cbindgen.toml b/bindings/c/cbindgen.toml index 66296943c8d0..e5d651a13749 100644 --- a/bindings/c/cbindgen.toml +++ b/bindings/c/cbindgen.toml @@ -38,8 +38,7 @@ header = """ * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - */ -""" + */""" include_guard = "_OPENDAL_H" language = "C" no_includes = true diff --git a/bindings/python/justfile b/bindings/python/justfile index 91541f7131d9..1db41f31f8ee 100644 --- a/bindings/python/justfile +++ b/bindings/python/justfile @@ -154,7 +154,7 @@ fmt: setup ## Fixes generated stubs @uv run ruff check --unsafe-fixes --fix --silent @echo "{{ BOLD }}--- Checking license headers (Hawkeye) ---{{ NORMAL }}" - @hawkeye format --config ../../licenserc.toml --fail-on-change . + @hawkeye format --config ../../licenserc.toml . @echo "{{ BOLD }}--- Formatting Misc ---{{ NORMAL }}" @taplo fmt --config ../../.taplo.toml @just --fmt --unstable