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

Provide a way to automatically add license headers #4073

Open
nikhita opened this issue Mar 6, 2023 · 2 comments
Open

Provide a way to automatically add license headers #4073

nikhita opened this issue Mar 6, 2023 · 2 comments
Assignees
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

Comments

@nikhita
Copy link
Member

nikhita commented Mar 6, 2023

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.

kubernetes/repo-infra#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

@k8s-ci-robot
Copy link
Contributor

@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.

kubernetes/repo-infra#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

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.

@k8s-ci-robot k8s-ci-robot added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Mar 6, 2023
@mohitsharma-in
Copy link

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Projects
None yet
Development

No branches or pull requests

3 participants