Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

[COMPLIANCE] Add Copyright and License Headers #470

Merged
merged 5 commits into from
Dec 9, 2022

Conversation

hashicorp-copywrite[bot]
Copy link
Contributor

@hashicorp-copywrite hashicorp-copywrite bot commented Dec 2, 2022

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

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**",
  ]
}

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!


Made with ❤️ @hashicorp

@hashicorp-copywrite hashicorp-copywrite bot requested review from a team, mdeggies and alvin-huang December 2, 2022 19:22
@nathancoleman nathancoleman added pr/no-changelog Skip the CI check that requires a changelog entry and removed pr/no-changelog Skip the CI check that requires a changelog entry labels Dec 2, 2022
@nathancoleman nathancoleman requested a review from a team December 2, 2022 21:47
@hashicorp-copywrite hashicorp-copywrite bot force-pushed the compliance/add-headers branch from d134b32 to a103438 Compare December 5, 2022 16:50
@nathancoleman nathancoleman self-requested a review December 6, 2022 00:02
…ated files

Our CI process will regenerate these files and fail since the generated version does not contain a copyright header.
In the future, we may use a more robust process to ignore the headers in the `git diff` that our CI process does, but this change enables the initial set of copyright header additions to merge.
Comment on lines +12 to +13
"config/rbac/role.yaml",
"config/crd/bases/*.yaml",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are generated by generators that we don't control

@nathancoleman nathancoleman enabled auto-merge (squash) December 9, 2022 20:40
@nathancoleman nathancoleman merged commit b678b66 into main Dec 9, 2022
@nathancoleman nathancoleman deleted the compliance/add-headers branch December 9, 2022 20:44
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.

3 participants