Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Commit 09dace7

Browse files
authored
chore: fix license header (#1579)
## Rationale Those files should contain asf headers. ## Detailed Changes ## Test Plan CI
1 parent e306cb5 commit 09dace7

File tree

5 files changed

+48
-2
lines changed

5 files changed

+48
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,13 @@ jobs:
7575
rustup component add clippy
7676
rustup component add rustfmt
7777
cargo install --git https://github.com/DevinR528/cargo-sort --rev 55ec890 --locked
78+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/korandoru/hawkeye/releases/download/v5.8.1/hawkeye-installer.sh | sh
7879
- name: Run Style Check
7980
run: |
80-
make clippy
8181
make fmt
8282
make check-cargo-toml
83+
make check-asf-header
84+
make clippy
8385
8486
unit-test:
8587
name: unit-test

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ fmt:
8585
check-cargo-toml:
8686
cd $(DIR); cargo sort --workspace --check
8787

88+
check-asf-header:
89+
cd $(DIR); hawkeye check
90+
8891
udeps:
8992
cd $(DIR); cargo udeps --all-targets --all-features --workspace
9093

horaemeta/go.mod

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
//
11+
// Unless required by applicable law or agreed to in writing,
12+
// software distributed under the License is distributed on an
13+
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
// KIND, either express or implied. See the License for the
15+
// specific language governing permissions and limitations
16+
// under the License.
17+
118
module github.com/apache/incubator-horaedb-meta
219

320
go 1.21

integration_tests/sdk/go/go.mod

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
//
11+
// Unless required by applicable law or agreed to in writing,
12+
// software distributed under the License is distributed on an
13+
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
// KIND, either express or implied. See the License for the
15+
// specific language governing permissions and limitations
16+
// under the License.
17+
118
module go-sdk-test
219

320
go 1.21

licenserc.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,12 @@ excludes = [
3434
"src/components/future_ext/src/cancel.rs",
3535
"src/components/tracing_util/src/lib.rs",
3636
"src/components/tracing_util/src/logging.rs",
37-
"src/components/tracing_util/Cargo.toml"
37+
"src/components/tracing_util/Cargo.toml",
38+
"DISCLAIMER",
39+
"NOTICE",
40+
"horaemeta/DEPENDENCIES.csv",
41+
"DEPENDENCIES.tsv",
42+
# Test files
43+
"*snap",
44+
"*result"
3845
]

0 commit comments

Comments
 (0)