org
org copied to clipboard
Provide a way to automatically add license headers
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:
- https://github.com/kunalkushwaha/ltag - this is used in containerd
- https://github.com/google/go-licenses
/help
@nikhita: This request has been marked as needing help from a contributor.
Guidelines
Please ensure that the issue body includes answers to the following questions:
- Why are we solving this issue?
- To address this issue, are there any code changes? If there are code changes, what needs to be done in the code and what places can the assignee treat as reference points?
- Does this issue have zero to low barrier of entry?
- How can the assignee reach out to you for help?
For more details on the requirements of such an issue, please see here and ensure that they are met.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help
command.
In response to this:
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:
- https://github.com/kunalkushwaha/ltag - this is used in containerd
- https://github.com/google/go-licenses
/help
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/assign