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

[COMPLIANCE] Add Copyright and License Headers #1163

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

hashicorp-copywrite[bot]
Copy link
Contributor

@hashicorp-copywrite hashicorp-copywrite bot commented Feb 1, 2023

Hi there 👋

This PR was auto-generated as part of an internal review of public repositories that are not in compliance with HashiCorp's licensing standards.

Frequently Asked Questions

Why am I getting this PR? This pull request was created because one or more source code files were found missing copyright and/or license headers.

More info is available in the RFC

How do you determine which files should get copyright headers? Attempts are made to skip scanning autogenerated files (e.g., `go.mod`) and prose. If you find file types you feel should be excluded from future scans, please reach out to:

#proj-software-copyright

I have a file or folder which should be exempted, how do I do that? You may exempt certain files or folders from being scanned by adding a `.copywrite.hcl` config in the root of your repo. You can use the [`copywrite init`](https://go.hashi.co/copywrite) command to interactively create a config for this project.

An example schema can be found below. Add a doublestar**-capable pattern to the header_ignore list to skip it in future scans.

# (OPTIONAL) Overrides the copywrite config schema version
# Default: 1
schema_version = 1

project {
  # (OPTIONAL) SPDX-compatible license identifier
  # Leave blank if you don't wish to license the project
  # Default: "MPL-2.0"
  # license = ""

  # (OPTIONAL) Represents the year that the project initially began
  # Default: <the year the repo was first created>
  # copyright_year = 0

  # (OPTIONAL) A list of globs that should not have copyright or license headers .
  # Supports doublestar glob patterns for more flexibility in defining which
  # files or folders should be ignored
  # Default: []
  header_ignore = [
    # "vendors/**",
    # "**autogen**",
  ]
}

More information about configuration options is available in [the documentation](https://github.com/hashicorp/copywrite#config-structure).
I added a config. How do I trigger this PR to be rebased? HashiCorp employees can use the [Copywrite SlackBot](https://hashicorp.slack.com/archives/D04LZP90XTR) to trigger a rebase. You can DM the slackbot with "headers terraform-ls" to trigger a PR rebasing.
Why don't the headers include a copyright date? Copyright headers are not required to include a year. In the interest of pragmatism, HashiCorp has decided to exclude the year from headers and instead list it in the LICENSE file at the root of the repository instead.

Additional FAQs are available at https://go.hashi.co/header-faq

Please approve and merge this PR in a timely manner to keep this source code compliant with our OSS license agreement. If you have any questions or feedback, reach out to #proj-software-copyright.

Thank you!


Powered by copywrite, made with ❤️ by @hashicorp

@hashicorp-copywrite hashicorp-copywrite bot requested a review from a team as a code owner February 1, 2023 17:27
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from ba83f05 to 98cc80e Compare February 6, 2023 16:24
@hashicorp-copywrite hashicorp-copywrite bot requested review from a team, alvin-huang and claire-labry and removed request for a team February 6, 2023 16:24
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch 2 times, most recently from a2527d1 to a41ef66 Compare February 27, 2023 16:24
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from a41ef66 to 742ae32 Compare March 6, 2023 16:24
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch 2 times, most recently from e64a8ac to 4b19c0f Compare March 20, 2023 16:24
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch 2 times, most recently from 7f5529d to d242291 Compare March 31, 2023 11:56
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from d242291 to 9b7fb61 Compare April 3, 2023 16:23
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from 9b7fb61 to 943e36b Compare April 10, 2023 16:22
@radeksimko radeksimko merged commit b0e3597 into main Apr 11, 2023
@radeksimko radeksimko deleted the compliance/add-headers branch April 11, 2023 16:28
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants