Skip to content

[COMPLIANCE] Add Copyright and License Headers #975

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hashicorp-copywrite[bot]
Copy link
Contributor

@hashicorp-copywrite hashicorp-copywrite bot commented Jun 26, 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 = [
    # "vendor/**",
    # "**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/D052WARFFS8) to trigger a rebase. You can DM the slackbot with "headers react-components" 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

@vercel
Copy link

vercel bot commented Jun 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-components ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 9, 2024 4:26pm

@changeset-bot
Copy link

changeset-bot bot commented Jun 26, 2023

⚠️ No Changeset found

Latest commit: de0f2e9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from db365a2 to 95a302c Compare July 3, 2023 16:28
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from 95a302c to 261bd24 Compare July 17, 2023 16:28
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from 261bd24 to 76e6b6d Compare August 7, 2023 16:27
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from 76e6b6d to bfe2d73 Compare August 14, 2023 16:27
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from bfe2d73 to e10f6c1 Compare August 21, 2023 16:29
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from e10f6c1 to 3168ae4 Compare October 2, 2023 16:28
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from 31a6709 to 4088ca1 Compare May 13, 2024 16:24
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from 4088ca1 to dd06b2f Compare May 20, 2024 16:24
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from dd06b2f to d5b684f Compare May 27, 2024 16:24
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from d5b684f to 6354f20 Compare June 17, 2024 16:23
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from 6354f20 to 509b285 Compare June 24, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants