[COMPLIANCE] Add/Update Copyright Headers#1872
Open
hashicorp-copywrite[bot] wants to merge 1 commit into
Open
Conversation
e8259fa to
68569db
Compare
35734cb to
774ff80
Compare
774ff80 to
bd4dca9
Compare
43f015c to
2a71e41
Compare
2a71e41 to
c13ae09
Compare
27ba3a8 to
518bb56
Compare
39d2532 to
d1c7795
Compare
d1c7795 to
09e6c0d
Compare
09e6c0d to
93e0d70
Compare
2f39936 to
6c69298
Compare
250f112 to
249fca7
Compare
249fca7 to
79ac260
Compare
79ac260 to
7b892d7
Compare
7b892d7 to
7110654
Compare
7110654 to
20d4eef
Compare
20d4eef to
4eba0d3
Compare
4eba0d3 to
a5a74f6
Compare
3c81c6c to
2cb2e10
Compare
2cb2e10 to
e69c2f3
Compare
e69c2f3 to
3f6e405
Compare
4a42c5f to
7542501
Compare
7542501 to
2b32148
Compare
2b32148 to
169a9c3
Compare
169a9c3 to
a96ea14
Compare
a96ea14 to
b9890c7
Compare
b9890c7 to
0c36318
Compare
0c36318 to
4902107
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi there 👋
This PR was auto-generated as part of an internal review of all Hashicorp repositories that are not in compliance with IBM's licensing standards.
Frequently Asked Questions
FAQs can be found in confluence - FAQ Document
Why am I getting this PR?
This pull request was created because one or more source code files were found either missing or incorrect copyright headers.More info is available in these documents - MEMO, IBM Format Migration Document
Old RFC Reference for Hashicorp Copyright - 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
How does copywrite know which files to ignore for headers?
Copywrite’s goal is to focus on code, skipping common formats for prose (.txt, .md, etc). The list of supported file extensions is available [here](https://github.com/hashicorp/copywrite/blob/main/addlicense/main.go#L356-L393). Any files not listed here will be skipped by default, but please reach out to [#proj-software-copyright](https://ibm.enterprise.slack.com/archives/C09KHQ7S18F) if you notice any files that should be supported but aren’t.Additional folders can be skipped by adding using the header_ignore config section, documented here.
My project generates code, does that generated code need copyright headers?
Yes: if the generated code contains IBM's intellectual property (i.e., we build an autogenerator that creates a client SDK based off of a swagger doc), the code that gets autogenerated should have headers. Common autogenerated code managed by some other system (think go.mod, go.sum, package.lock files) will not need headers.My project includes protobuf files (*proto), plus their autogenerated counterparts (ex. *.pb.go). Should these files have headers?
Yes, protobuf files should include the headers. You might want to run `copywrite` first to make sure your *.proto files have headers. When you run your tooling to generate the language-specific proto files, you should also see headers at the top of those generated files.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_ignorelist to skip it in future scans.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.
More information is available in the MEMO.
Thank you!
Powered by copywrite, made with ❤️ by @hashicorp