kubernetes / kubernetes/org

Provide a way to automatically add license headers

Open
#4,073 2 comments 0 reactions 1 assignee Claimed by @mohitsharma-in View on GitHub
help wanted
Dominant language
Go
Stars
298
Forks
863
Avg merge
1d 15h
Merged PRs (30d)
36

Description

We periodically see repos being donated to the kubernetes org(s). Donation requires these repos to add boilerplate license headers to all their files. Today, we don't have a way to do this automatically.

https://github.com/kubernetes/repo-infra/pull/82 took a dab at this but was closed due to age.

@dims also pointed a few other alternative approaches:

1. https://github.com/kunalkushwaha/ltag - this is used in containerd
2. https://github.com/google/go-licenses

/help

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.