You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by ko...@apache.org on 2026/10/05 11:20:33 UTC
(opendal) branch koushiro/update-hawkeye-to-7.2.0 created (now 1cfe89aa8)
This is an automated email from the ASF dual-hosted git repository.
koushiro pushed a change to branch koushiro/update-hawkeye-to-7.2.0
in repository https://gitbox.apache.org/repos/asf/opendal.git
at 1cfe89aa8 ci: update hawkeye to 7.2.0
This branch includes the following new commits:
new 1cfe89aa8 ci: update hawkeye to 7.2.0
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(opendal) 01/01: ci: update hawkeye to 7.2.0
Posted by ko...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
koushiro pushed a commit to branch koushiro/update-hawkeye-to-7.2.0
in repository https://gitbox.apache.org/repos/asf/opendal.git
commit 1cfe89aa820f50e5a5fb393613ddea8983b006db
Author: koushiro <ko...@gmail.com>
AuthorDate: Mon Oct 5 17:37:20 2026 +0800
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 -
bindings/dotnet/OpenDAL.Tests/OpenDAL.Tests.csproj | 3 +--
bindings/dotnet/OpenDAL/OpenDAL.csproj | 3 +--
bindings/dotnet/build.py | 2 --
.../examples/GettingStarted/GettingStarted.csproj | 3 +--
bindings/dotnet/opendal.slnx | 3 +--
bindings/go/util_unix.go | 4 +--
bindings/go/util_windows.go | 4 +--
.../java/.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/docs/index.md | 2 ++
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 -
.../opendal-spring-boot-starter-reactive/pom.xml | 3 +--
.../spring/opendal-spring-boot-starter/pom.xml | 3 +--
integrations/spring/opendal-spring/pom.xml | 3 +--
integrations/spring/pom.xml | 3 +--
licenserc.toml | 31 ++++++++++++++++++----
scripts/verify.py | 1 -
website/community/maturity.md | 24 ++++++++---------
47 files changed, 75 insertions(+), 94 deletions(-)
diff --git a/.agents/skills/opendal-release/scripts/bootstrap-rust-crates.sh b/.agents/skills/opendal-release/scripts/bootstrap-rust-crates.sh
index 60ad4050a..ac219b8d6 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 13a83393a..245692337 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 955ecfb2d..a49ab9619 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 bf4972678..aaf14d255 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 ee890485c..4e4f1eea7 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 dac066760..8b4b56109 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 be7470221..76d94c9da 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 6bdc62f11..1f5c190c5 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 4933ef1ed..a6c9f07ff 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 02f62e6a8..16cfa39c0 100644
--- a/bindings/dotnet/OpenDAL.Tests/OpenDAL.Tests.csproj
+++ b/bindings/dotnet/OpenDAL.Tests/OpenDAL.Tests.csproj
@@ -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,8 +15,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-->
+
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
diff --git a/bindings/dotnet/OpenDAL/OpenDAL.csproj b/bindings/dotnet/OpenDAL/OpenDAL.csproj
index f9d875e23..98988a35c 100644
--- a/bindings/dotnet/OpenDAL/OpenDAL.csproj
+++ b/bindings/dotnet/OpenDAL/OpenDAL.csproj
@@ -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,8 +15,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-->
+
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
diff --git a/bindings/dotnet/build.py b/bindings/dotnet/build.py
index 49ed959de..fe4587cf8 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 030543916..b73dc310b 100644
--- a/bindings/dotnet/examples/GettingStarted/GettingStarted.csproj
+++ b/bindings/dotnet/examples/GettingStarted/GettingStarted.csproj
@@ -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,8 +15,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-->
+
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
diff --git a/bindings/dotnet/opendal.slnx b/bindings/dotnet/opendal.slnx
index 2cf4db04d..f0b93969e 100644
--- a/bindings/dotnet/opendal.slnx
+++ b/bindings/dotnet/opendal.slnx
@@ -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,8 +15,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-->
+
<Solution>
<Project Path="OpenDAL.Tests/OpenDAL.Tests.csproj" />
<Project Path="OpenDAL/OpenDAL.csproj" />
diff --git a/bindings/go/util_unix.go b/bindings/go/util_unix.go
index a8f677406..6ea906f46 100644
--- a/bindings/go/util_unix.go
+++ b/bindings/go/util_unix.go
@@ -1,5 +1,3 @@
-//go:build !windows
-
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -19,6 +17,8 @@
* under the License.
*/
+//go:build !windows
+
package opendal
import (
diff --git a/bindings/go/util_windows.go b/bindings/go/util_windows.go
index 3d095b4a0..b22073c2b 100644
--- a/bindings/go/util_windows.go
+++ b/bindings/go/util_windows.go
@@ -1,5 +1,3 @@
-//go:build windows
-
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -19,6 +17,8 @@
* under the License.
*/
+//go:build windows
+
package opendal
import (
diff --git a/bindings/java/.mvn/wrapper/maven-wrapper.properties b/bindings/java/.mvn/wrapper/maven-wrapper.properties
index ac184013f..6ccd9b207 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 f80fbad3e..250a8a7a8 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 bb23c1d74..19d90ebe0 100644
--- a/bindings/java/pom.xml
+++ b/bindings/java/pom.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
-
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,8 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-->
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
diff --git a/bindings/java/src/assembly/source-release.xml b/bindings/java/src/assembly/source-release.xml
index 1c33ef3f3..dda6a90d4 100644
--- a/bindings/java/src/assembly/source-release.xml
+++ b/bindings/java/src/assembly/source-release.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
-
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,8 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-->
+
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.1 https://maven.apache.org/xsd/assembly-2.1.1.xsd">
diff --git a/bindings/java/tools/build.py b/bindings/java/tools/build.py
index 2a76ffc7e..c662e9630 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 55eb19900..180380519 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 8552a94f9..af1cf56e4 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 95d63baac..e9156a42a 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 01bd90894..e9aec8651 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 859ddc361..834c9fa41 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 855f12efa..1afe95bcb 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 a8612bd43..e0ac0969e 100644
--- a/bindings/php/phpunit.xml
+++ b/bindings/php/phpunit.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
-
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,8 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-->
+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
diff --git a/bindings/python/CONTRIBUTING.md b/bindings/python/CONTRIBUTING.md
index 77dd37c43..820b5fb60 100644
--- a/bindings/python/CONTRIBUTING.md
+++ b/bindings/python/CONTRIBUTING.md
@@ -14,7 +14,7 @@ Before you begin, please ensure you have the following tools installed:
- **uv**: To manage the python dependencies and environment. See Installation instructions [here](https://docs.astral.sh/uv/getting-started/installation/).
- **cargo**: To manage the rust dependencies and environment. See Installation instructions [here](https://doc.rust-lang.org/cargo/getting-started/installation.html).
- **taplo**: Simple checker and formatter for TOML files. See Installation instructions [here](https://taplo.tamasfe.dev/cli/installation/cargo.html).
-- **hawkeye**: Simple license header checker and formatter. See Installation instructions [here](https://github.com/korandoru/hawkeye?tab=readme-ov-file#cargo-install).
+- **hawkeye**: Simple license header checker and formatter. See Installation instructions [here](https://github.com/fast/hawkeye#installation).
- **Just**: A command runner used to simplify our development workflow. See Installation instructions [here](https://just.systems/man/en/packages.html).
---
@@ -25,6 +25,7 @@ All development commands are managed through a `justfile`. Setting up your envir
is as simple as running one command.
1. **Clone the repository:**
+
```shell
git clone git@github.com:apache/opendal.git
cd opendal/bindings/python
@@ -50,6 +51,7 @@ You can build a development or release version of the library.
- **Install for development:** This builds the package and installs it in the current
virtual environment, allowing you to immediately use it for testing.
+
```shell
just install-dev
```
diff --git a/bindings/python/docs/index.md b/bindings/python/docs/index.md
index 9993745e4..ab8c88fbf 100644
--- a/bindings/python/docs/index.md
+++ b/bindings/python/docs/index.md
@@ -174,10 +174,12 @@ Async API equivalent:
```python
import asyncio
+
async def main():
op = opendal.AsyncOperator("fs", root="/tmp")
await op.write("test.txt", b"Hello World")
print(await op.read("test.txt"))
+
asyncio.run(main())
```
diff --git a/bindings/python/justfile b/bindings/python/justfile
index 1ca7697d2..91541f713 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-if-updated false
+ @hawkeye format --config ../../licenserc.toml --fail-on-change .
@echo "{{ BOLD }}--- Formatting Misc ---{{ NORMAL }}"
@taplo fmt --config ../../.taplo.toml
@just --fmt --unstable
@@ -163,7 +163,7 @@ fmt: setup
[group('lint')]
pre-commit: fmt lint
@echo "{{ BOLD }}--- Checking license headers (Hawkeye) ---{{ NORMAL }}"
- @hawkeye check --config ../../licenserc.toml
+ @hawkeye check --config ../../licenserc.toml .
@echo "{{ BOLD }}--- Running Misc checks ---{{ NORMAL }}"
@taplo lint --config ../../.taplo.toml
@just --fmt --unstable --check
diff --git a/fixtures/azblob/setup_azurite.sh b/fixtures/azblob/setup_azurite.sh
index 513d23b35..1c7332701 100755
--- a/fixtures/azblob/setup_azurite.sh
+++ b/fixtures/azblob/setup_azurite.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/fixtures/hdfs/azurite-azblob-core-site.xml b/fixtures/hdfs/azurite-azblob-core-site.xml
index 834ff74e6..f9946b27c 100644
--- a/fixtures/hdfs/azurite-azblob-core-site.xml
+++ b/fixtures/hdfs/azurite-azblob-core-site.xml
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
-
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
@@ -18,10 +16,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-->
-
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
diff --git a/fixtures/hdfs/gcs-core-site.xml b/fixtures/hdfs/gcs-core-site.xml
index e8d7418a2..2e76976a9 100644
--- a/fixtures/hdfs/gcs-core-site.xml
+++ b/fixtures/hdfs/gcs-core-site.xml
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
-
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
@@ -18,10 +16,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-->
-
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
diff --git a/fixtures/hdfs/hdfs-site.xml b/fixtures/hdfs/hdfs-site.xml
index cf83c2d57..1a7f233ba 100644
--- a/fixtures/hdfs/hdfs-site.xml
+++ b/fixtures/hdfs/hdfs-site.xml
@@ -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.
-
-->
<configuration>
diff --git a/fixtures/hdfs/silo-s3-core-site.xml b/fixtures/hdfs/silo-s3-core-site.xml
index 9a5b79fb3..2f022b13f 100644
--- a/fixtures/hdfs/silo-s3-core-site.xml
+++ b/fixtures/hdfs/silo-s3-core-site.xml
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
-
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
@@ -18,10 +16,9 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-->
-
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
diff --git a/fixtures/mysql/init.sql b/fixtures/mysql/init.sql
index 6c12aad38..558869538 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 b6d2c111a..b17da9531 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 c156a1089..904544e20 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 919c1f2be..ee6fef784 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 4dc8efb38..ee59c5a1f 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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
-
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,8 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-->
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
diff --git a/integrations/spring/opendal-spring-boot-starter/pom.xml b/integrations/spring/opendal-spring-boot-starter/pom.xml
index c05cad198..88b902987 100644
--- a/integrations/spring/opendal-spring-boot-starter/pom.xml
+++ b/integrations/spring/opendal-spring-boot-starter/pom.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
-
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,8 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-->
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
diff --git a/integrations/spring/opendal-spring/pom.xml b/integrations/spring/opendal-spring/pom.xml
index 8c638da01..b2553c1ec 100644
--- a/integrations/spring/opendal-spring/pom.xml
+++ b/integrations/spring/opendal-spring/pom.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
-
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,8 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-->
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
diff --git a/integrations/spring/pom.xml b/integrations/spring/pom.xml
index 0c0722195..86b036c8d 100644
--- a/integrations/spring/pom.xml
+++ b/integrations/spring/pom.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
-
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,8 +16,8 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-->
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
diff --git a/licenserc.toml b/licenserc.toml
index 9b9e8b787..4cfd227a5 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,26 @@ 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 = "<!--"
+prefix = " "
+suffix = ""
+end = "-->"
+
+[[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 ----------------------------------------------------------------------------"
diff --git a/scripts/verify.py b/scripts/verify.py
index c6f48282a..860225937 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 d2b30c658..1b9dbed2a 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. |