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 #970

Merged
merged 3 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:03
@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

Merging #970 (c72fcfe) into main (f021c40) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #970   +/-   ##
=======================================
  Coverage   71.06%   71.06%           
=======================================
  Files         312      312           
  Lines       12996    12996           
=======================================
  Hits         9235     9235           
  Misses       3295     3295           
  Partials      466      466           
Files Coverage Δ
api/build/cancel.go 0.00% <ø> (ø)
api/build/clean.go 0.00% <ø> (ø)
api/build/create.go 0.00% <ø> (ø)
api/build/delete.go 0.00% <ø> (ø)
api/build/executable.go 0.00% <ø> (ø)
api/build/get.go 0.00% <ø> (ø)
api/build/get_id.go 0.00% <ø> (ø)
api/build/list_org.go 0.00% <ø> (ø)
api/build/list_repo.go 0.00% <ø> (ø)
api/build/plan.go 0.00% <ø> (ø)
... and 78 more

... and 222 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 edf28ac into main Sep 29, 2023
11 of 12 checks passed
@wass3rw3rk wass3rw3rk deleted the chore/license-tweaks branch September 29, 2023 19:07
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