Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Copyright check #561

Merged
merged 3 commits into from
Jul 11, 2024
Merged

Conversation

LiZhenCheng9527
Copy link
Collaborator

What type of PR is this?
/kind enhancement

What this PR does / why we need it:
add Copyright check script and add it in github ci
Which issue(s) this PR fixes:
Fixes #520

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
Copy link

codecov bot commented Jul 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Flag Coverage Δ
unittests 49.10% <ø> (+13.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
pkg/auth/policy_store.go 68.33% <ø> (-5.36%) ⬇️
pkg/auth/rbac.go 80.76% <ø> (+24.01%) ⬆️
pkg/auth/xdp_auth_handler.go 71.42% <ø> (+71.42%) ⬆️
pkg/bpf/bpf.go 20.27% <ø> (+4.32%) ⬆️
pkg/bpf/bpf_kmesh_common.go 68.93% <ø> (ø)
pkg/bpf/bpf_kmesh_l4.go 62.50% <ø> (ø)
pkg/bpf/bpf_kmesh_l4_workload.go 29.62% <ø> (+29.62%) ⬆️
pkg/bpf/bpf_kmesh_workload.go 63.01% <ø> (+63.01%) ⬆️
pkg/bpf/pin.go 57.57% <ø> (ø)
pkg/cache/v2/cluster.go 34.31% <ø> (-13.13%) ⬇️
... and 53 more

@@ -0,0 +1,2 @@
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the diff with hack/copyright/BSDandGPL1.txt

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because there are two different forms of copyright in Kmesh, two files are used to store.

@kmesh-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hzxuzhonghu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Member

@hzxuzhonghu hzxuzhonghu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@kmesh-bot kmesh-bot added the lgtm label Jul 11, 2024
@kmesh-bot kmesh-bot merged commit 9ad7cac into kmesh-net:main Jul 11, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add copyright checker
3 participants