This is an automated email from the ASF dual-hosted git repository.
jiacai2050 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/horaedb.git
The following commit(s) were added to refs/heads/main by this push:
new 09dace75 chore: fix license header (#1579)
09dace75 is described below
commit 09dace755f50cc92dc670f6f03cf4d60d6fed753
Author: Jiacai Liu <[email protected]>
AuthorDate: Mon Oct 21 11:38:50 2024 +0800
chore: fix license header (#1579)
## Rationale
Those files should contain asf headers.
## Detailed Changes
## Test Plan
CI
---
.github/workflows/ci.yml | 4 +++-
Makefile | 3 +++
horaemeta/go.mod | 17 +++++++++++++++++
integration_tests/sdk/go/go.mod | 17 +++++++++++++++++
licenserc.toml | 9 ++++++++-
5 files changed, 48 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a19ad98c..5e4b6cc4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -75,11 +75,13 @@ jobs:
rustup component add clippy
rustup component add rustfmt
cargo install --git https://github.com/DevinR528/cargo-sort --rev
55ec890 --locked
+ curl --proto '=https' --tlsv1.2 -LsSf
https://github.com/korandoru/hawkeye/releases/download/v5.8.1/hawkeye-installer.sh
| sh
- name: Run Style Check
run: |
- make clippy
make fmt
make check-cargo-toml
+ make check-asf-header
+ make clippy
unit-test:
name: unit-test
diff --git a/Makefile b/Makefile
index 4480eede..c58cfb5e 100644
--- a/Makefile
+++ b/Makefile
@@ -85,6 +85,9 @@ fmt:
check-cargo-toml:
cd $(DIR); cargo sort --workspace --check
+check-asf-header:
+ cd $(DIR); hawkeye check
+
udeps:
cd $(DIR); cargo udeps --all-targets --all-features --workspace
diff --git a/horaemeta/go.mod b/horaemeta/go.mod
index d04cd9d1..7a4c8e64 100644
--- a/horaemeta/go.mod
+++ b/horaemeta/go.mod
@@ -1,3 +1,20 @@
+// 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.
+
module github.com/apache/incubator-horaedb-meta
go 1.21
diff --git a/integration_tests/sdk/go/go.mod b/integration_tests/sdk/go/go.mod
index b50e5d57..8bae76d8 100644
--- a/integration_tests/sdk/go/go.mod
+++ b/integration_tests/sdk/go/go.mod
@@ -1,3 +1,20 @@
+// 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.
+
module go-sdk-test
go 1.21
diff --git a/licenserc.toml b/licenserc.toml
index e08f40f9..9bace81e 100644
--- a/licenserc.toml
+++ b/licenserc.toml
@@ -34,5 +34,12 @@ excludes = [
"src/components/future_ext/src/cancel.rs",
"src/components/tracing_util/src/lib.rs",
"src/components/tracing_util/src/logging.rs",
- "src/components/tracing_util/Cargo.toml"
+ "src/components/tracing_util/Cargo.toml",
+ "DISCLAIMER",
+ "NOTICE",
+ "horaemeta/DEPENDENCIES.csv",
+ "DEPENDENCIES.tsv",
+ # Test files
+ "*snap",
+ "*result"
]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]