This is an automated email from the ASF dual-hosted git repository. shown pushed a commit to branch 0903-yuluo/add-infra in repository https://gitbox.apache.org/repos/asf/hertzbeat-collector-go.git
commit edeeee28fec94921dc4d80f838e68cd1c9f40d70 Author: yuluo-yx <[email protected]> AuthorDate: Wed Sep 3 22:17:27 2025 +0800 chore: fix license header Signed-off-by: yuluo-yx <[email protected]> --- .github/ISSUE_TEMPLATE/bug_report.yml | 15 ------------- .github/ISSUE_TEMPLATE/config.yml | 15 ------------- .github/ISSUE_TEMPLATE/feature_request.yml | 15 ------------- .github/ISSUE_TEMPLATE/question.yml | 15 ------------- .github/ISSUE_TEMPLATE/task.yml | 15 ------------- .github/dependbot.yml | 15 ------------- .github/workflows/license-check.yml | 15 ------------- .github/workflows/lint-pr-title.yml | 15 ------------- .github/workflows/linter.yml | 15 ------------- .github/workflows/pull-request-robot.yml | 15 ------------- .github/workflows/secret-check.yml | 15 ------------- NOTICE | 2 +- tools/ci-config/labeler.yml | 15 ------------- .../linter/markdownlint/markdown_lint_config.yaml | 15 ------------- tools/make/common.mk | 14 ------------ tools/make/linter.mk | 14 ------------ tools/make/tools.mk | 25 ++++++++-------------- tools/scripts/new-line-check.py | 16 +------------- 18 files changed, 11 insertions(+), 255 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 096397f..c25eb33 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -15,21 +15,6 @@ # specific language governing permissions and limitations # under the License. -# -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. -# name: π Bug Report description: Problems and issues with code of Spring AI Alibaba π€. title: "[BUG] " diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index b59e74d..eb58800 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -15,21 +15,6 @@ # specific language governing permissions and limitations # under the License. -# -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. -# blank_issues_enabled: false contact_links: - name: Community Support diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index b52dba6..883dfc9 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -15,21 +15,6 @@ # specific language governing permissions and limitations # under the License. -# -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. -# name: π Feature Request description: I have a suggestion (and may want to implement it π)! title: "[Feature] " diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml index de51c79..fcd01cf 100644 --- a/.github/ISSUE_TEMPLATE/question.yml +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -15,21 +15,6 @@ # specific language governing permissions and limitations # under the License. -# -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. -# name: π€ Question description: Usage question that isn't answered in docs or discussion title: "[Question] " diff --git a/.github/ISSUE_TEMPLATE/task.yml b/.github/ISSUE_TEMPLATE/task.yml index 52c8e2b..e5e1052 100644 --- a/.github/ISSUE_TEMPLATE/task.yml +++ b/.github/ISSUE_TEMPLATE/task.yml @@ -15,21 +15,6 @@ # specific language governing permissions and limitations # under the License. -# -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. -# name: π Task description: Used to create tasks for the community. title: "[Task] " diff --git a/.github/dependbot.yml b/.github/dependbot.yml index 0560002..7ea9b25 100644 --- a/.github/dependbot.yml +++ b/.github/dependbot.yml @@ -15,21 +15,6 @@ # specific language governing permissions and limitations # under the License. -# -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. -# version: 2 updates: - package-ecosystem: "gomod" diff --git a/.github/workflows/license-check.yml b/.github/workflows/license-check.yml index c929d7d..6e5a904 100644 --- a/.github/workflows/license-check.yml +++ b/.github/workflows/license-check.yml @@ -15,21 +15,6 @@ # specific language governing permissions and limitations # under the License. -# -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. -# name: ποΈ License Check on: push: diff --git a/.github/workflows/lint-pr-title.yml b/.github/workflows/lint-pr-title.yml index a70c850..0f583a8 100644 --- a/.github/workflows/lint-pr-title.yml +++ b/.github/workflows/lint-pr-title.yml @@ -15,21 +15,6 @@ # specific language governing permissions and limitations # under the License. -# -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. -# name: π€ Lint PR on: pull_request_target: diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 4800abc..0794eb9 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -15,21 +15,6 @@ # specific language governing permissions and limitations # under the License. -# -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. -# name: π Linter on: push: diff --git a/.github/workflows/pull-request-robot.yml b/.github/workflows/pull-request-robot.yml index 803b2fd..c5b9b8e 100644 --- a/.github/workflows/pull-request-robot.yml +++ b/.github/workflows/pull-request-robot.yml @@ -15,21 +15,6 @@ # specific language governing permissions and limitations # under the License. -# -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. -# name: π Pull Request Robot on: - pull_request_target diff --git a/.github/workflows/secret-check.yml b/.github/workflows/secret-check.yml index 202d5aa..495b66a 100644 --- a/.github/workflows/secret-check.yml +++ b/.github/workflows/secret-check.yml @@ -15,21 +15,6 @@ # specific language governing permissions and limitations # under the License. -# -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. -# name: ποΈ Secrets Check on: push: diff --git a/NOTICE b/NOTICE index 37d0c72..c2cac31 100644 --- a/NOTICE +++ b/NOTICE @@ -1,5 +1,5 @@ Apache HertzBeatβ’ -Copyright 2024-2025 The Apache Software Foundation +Copyright 2025-2026 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). diff --git a/tools/ci-config/labeler.yml b/tools/ci-config/labeler.yml index 70d8102..25d4f2a 100644 --- a/tools/ci-config/labeler.yml +++ b/tools/ci-config/labeler.yml @@ -15,21 +15,6 @@ # specific language governing permissions and limitations # under the License. -# -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. -# "area/infra": - changed-files: - any-glob-to-any-file: diff --git a/tools/linter/markdownlint/markdown_lint_config.yaml b/tools/linter/markdownlint/markdown_lint_config.yaml index 07dc324..1bab6b5 100644 --- a/tools/linter/markdownlint/markdown_lint_config.yaml +++ b/tools/linter/markdownlint/markdown_lint_config.yaml @@ -15,21 +15,6 @@ # specific language governing permissions and limitations # under the License. -# -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. -# # MD009/no-trailing-spaces Trailing spaces MD009: false diff --git a/tools/make/common.mk b/tools/make/common.mk index 27927be..764f2d5 100644 --- a/tools/make/common.mk +++ b/tools/make/common.mk @@ -15,20 +15,6 @@ # specific language governing permissions and limitations # under the License. -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. - SHELL:=/bin/bash DATETIME = $(shell date +"%Y%m%d%H%M%S") diff --git a/tools/make/linter.mk b/tools/make/linter.mk index 159101b..d8cee70 100644 --- a/tools/make/linter.mk +++ b/tools/make/linter.mk @@ -15,20 +15,6 @@ # specific language governing permissions and limitations # under the License. -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. - ##@ Linter .PHONY: lint diff --git a/tools/make/tools.mk b/tools/make/tools.mk index 54831f7..bbe73c1 100644 --- a/tools/make/tools.mk +++ b/tools/make/tools.mk @@ -15,20 +15,6 @@ # specific language governing permissions and limitations # under the License. -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. - ##@ Tools .PHONY: tools @@ -43,6 +29,11 @@ tools: ## Install ci tools node --version npm --version + @echo "Setting up Python venv" + python -m venv tools/venv + . tools/venv/bin/activate && \ + pip install --upgrade pip + @echo "Installing markdownlint-cli" npm install markdownlint-cli --global @@ -50,10 +41,12 @@ tools: ## Install ci tools go install github.com/apache/skywalking-eyes/cmd/[email protected] @echo "Installing codespell" - pip install codespell + . tools/venv/bin/activate && \ + pip install codespell @echo "Installing yamllint" - pip install yamllint==1.35.1 + . tools/venv/bin/activate && \ + pip install yamllint==1.35.1 @echo "Installing yamlfmt" go install github.com/google/yamlfmt/cmd/yamlfmt@latest diff --git a/tools/scripts/new-line-check.py b/tools/scripts/new-line-check.py index 1474a2e..a642b70 100644 --- a/tools/scripts/new-line-check.py +++ b/tools/scripts/new-line-check.py @@ -15,21 +15,7 @@ # specific language governing permissions and limitations # under the License. -# -# Copyright 2024-2025 the original author or authors. -# -# Licensed 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 -# -# https://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. -# + import os import sys --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
