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

chore(license): update source code headers + copyright year #482

Merged
merged 2 commits into from
Sep 29, 2023

Conversation

wass3rw3rk
Copy link
Member

ref: go-vela/community#747

  • replaces code file license headers with SPDX header (see https://spdx.dev/ids/#why); this removes copyright + year
  • update golangci-lint rule to ensure code file enforcement
  • use first commit date for copyright year and updates year in other select places
  • format is changed to match "Copyright [yyyy] [name of copyright owner]" as shown here: https://www.apache.org/licenses/LICENSE-2.0.html

@wass3rw3rk wass3rw3rk requested a review from a team as a code owner September 22, 2023 16:02
@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

Merging #482 (481f04d) into main (5c0b0fa) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #482   +/-   ##
=======================================
  Coverage   86.37%   86.37%           
=======================================
  Files         145      145           
  Lines        6310     6310           
=======================================
  Hits         5450     5450           
  Misses        704      704           
  Partials      156      156           
Files Coverage Δ
action/build/cancel.go 100.00% <ø> (ø)
action/build/get.go 94.44% <ø> (ø)
action/build/restart.go 100.00% <ø> (ø)
action/build/table.go 100.00% <ø> (ø)
action/build/validate.go 100.00% <ø> (ø)
action/build/view.go 100.00% <ø> (ø)
action/completion/generate.go 100.00% <ø> (ø)
action/completion/validate.go 100.00% <ø> (ø)
action/config/empty.go 88.67% <ø> (ø)
action/config/generate.go 90.16% <ø> (ø)
... and 107 more

... and 28 files with indirect coverage changes

Copy link
Contributor

@KellyMerrick KellyMerrick left a comment

Choose a reason for hiding this comment

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

lgtm

@wass3rw3rk wass3rw3rk merged commit dba9db2 into main Sep 29, 2023
15 of 16 checks passed
@wass3rw3rk wass3rw3rk deleted the chore/license-tweaks branch September 29, 2023 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants