Skip to content

add Copyright check#561

Merged
kmesh-bot merged 3 commits intokmesh-net:mainfrom
LiZhenCheng9527:copyright-check
Jul 11, 2024
Merged

add Copyright check#561
kmesh-bot merged 3 commits intokmesh-net:mainfrom
LiZhenCheng9527:copyright-check

Conversation

@LiZhenCheng9527
Copy link
Copy Markdown
Contributor

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>
@codecov
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Contributor 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
Copy Markdown
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

Details 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
Copy Markdown
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
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