This is an automated email from the ASF dual-hosted git repository.
zyxxoo pushed a commit to branch refactor/rust-rewrite-design
in repository https://gitbox.apache.org/repos/asf/hugegraph.git
The following commit(s) were added to refs/heads/refactor/rust-rewrite-design
by this push:
new 9a8a042cb build(rust): fix ASF license headers
9a8a042cb is described below
commit 9a8a042cb61507bb07166b2cd5614f90f0542576
Author: vaughn <[email protected]>
AuthorDate: Sun Sep 13 17:36:48 2026 +0800
build(rust): fix ASF license headers
---
tools/raft-linearizability/compare_traces.py | 14 ++++++--------
tools/rust-partition-poc/audit-gates.sh | 10 +++++++---
2 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/tools/raft-linearizability/compare_traces.py
b/tools/raft-linearizability/compare_traces.py
index ccff95815..a2598ab41 100644
--- a/tools/raft-linearizability/compare_traces.py
+++ b/tools/raft-linearizability/compare_traces.py
@@ -1,14 +1,12 @@
#!/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.
+# 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.
-"""Compare Java and Rust replay traces using a stable, independent oracle.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# http://www.apache.org/licenses/LICENSE-2.0
-Each input is a JSON array (or an object containing ``operations``). Records
-are compared after selecting the contract fields ``op``, ``key``, ``value``
-and ``result``; transport timestamps and implementation metadata are ignored.
-"""
import argparse, json, sys
FIELDS = ("op", "key", "value", "result")
diff --git a/tools/rust-partition-poc/audit-gates.sh
b/tools/rust-partition-poc/audit-gates.sh
index 5d1116740..38e9dae9b 100755
--- a/tools/rust-partition-poc/audit-gates.sh
+++ b/tools/rust-partition-poc/audit-gates.sh
@@ -1,8 +1,12 @@
#!/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.
+# 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.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# http://www.apache.org/licenses/LICENSE-2.0
+
set -euo pipefail
root=$(cd "$(dirname "$0")/../.." && pwd)
workflow="$root/.github/workflows/rust-partition-poc.yml"