Skip to content

feat(lint/license): Add Apache 2.0 license headers to all source files#124

Merged
behinddwalls merged 1 commit into
mainfrom
preetam/licence
Mar 6, 2026
Merged

feat(lint/license): Add Apache 2.0 license headers to all source files#124
behinddwalls merged 1 commit into
mainfrom
preetam/licence

Conversation

@behinddwalls
Copy link
Copy Markdown
Collaborator

Summary

  • Add tool/linter/licenseheader CLI with --check and --fix modes to enforce Apache 2.0 license headers on all .go and .proto files
  • Add make lint-license (check) and make license-fix (auto-fix) Makefile targets using Bazel
  • Apply license headers to all 128 non-generated source files

Test plan

  • make lint-license passes (all files have headers)
  • make build passes (Bazel build succeeds)
  • make test passes (all 26 unit tests pass, including new linter tests)
  • License fix is idempotent (running twice produces no changes)

@behinddwalls behinddwalls requested review from a team and sbalabanov as code owners March 6, 2026 05:03
Comment thread CONTRIBUTING.md Outdated
Add a license header linter tool (tool/linter/licenseheader) with --check
and --fix modes, and apply headers to all 128 .go and .proto files.
@behinddwalls behinddwalls changed the base branch from preetam/issue-template to main March 6, 2026 18:25
@behinddwalls behinddwalls enabled auto-merge March 6, 2026 18:25
@behinddwalls behinddwalls added this pull request to the merge queue Mar 6, 2026
Merged via the queue into main with commit c4439c0 Mar 6, 2026
8 checks passed
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.

2 participants