Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Open Source Copyright Headers (#507)
Summary: Pull Request resolved: #507 The open source automated [repository](https://www.internalfb.com/intern/opensource/github/repo/1770409709999349/) checkup has been flagging certain files as needing a copyright header. I've excluded the `go.mod` and `go.sum` file, and added the other headers where appropriate as per this test: https://www.internalfb.com/phabricator/paste/view/P1510438766 Fixes the following: ``` COPYRIGHT_HEADERS_EXIST: Copyright Headers **************************************** FIX IT! https://our.intern.facebook.com/intern/opensource/github/repo/1770409709999349/repo_settings/header_exemptions/ Every project specific source file must contain a doc block with an appropriate copyright header. Unrelated files must be listed as exceptions in the Copyright Headers Exceptions page in the repo dashboard. A copyright header clearly indicates that the code is owned by Meta. Every open source file must start with a comment containing "Meta Platforms, Inc. and affiliates" https://github.com/facebookincubator/TTPForge/blob/main/go.mod: The first 16 lines of 'go.mod' do not contain the patterns: (Meta Platforms, Inc. and affiliates)|(Facebook, Inc(\.|,)? and its affiliates)|([0-9]{4}-present(\.|,)? Facebook)|([0-9]{4}(\.|,)? Facebook) Copyright https://github.com/facebookincubator/TTPForge/blob/main/go.sum: The first 16 lines of 'go.sum' do not contain the patterns: (Meta Platforms, Inc. and affiliates)|(Facebook, Inc(\.|,)? and its affiliates)|([0-9]{4}-present(\.|,)? Facebook)|([0-9]{4}(\.|,)? Facebook) Copyright https://github.com/facebookincubator/TTPForge/blob/main/integration-tests.sh: The first 16 lines of 'integration-tests.sh' do not contain the patterns: (Meta Platforms, Inc. and affiliates)|(Facebook, Inc(\.|,)? and its affiliates)|([0-9]{4}-present(\.|,)? Facebook)|([0-9]{4}(\.|,)? Facebook) Copyright https://github.com/facebookincubator/TTPForge/blob/main/run-all-ttp-tests.sh: The first 16 lines of 'run-all-ttp-tests.sh' do not contain the patterns: (Meta Platforms, Inc. and affiliates)|(Facebook, Inc(\.|,)? and its affiliates)|([0-9]{4}-present(\.|,)? Facebook)|([0-9]{4}(\.|,)? Facebook) Copyright https://github.com/facebookincubator/TTPForge/blob/main/cmd/test-resources/repos/another-repo/some-ttps/cleanup-tests/test.sh: The first 16 lines of 'cmd/test-resources/repos/another-repo/some-ttps/cleanup-tests/test.sh' do not contain the patterns: (Meta Platforms, Inc. and affiliates)|(Facebook, Inc(\.|,)? and its affiliates)|([0-9]{4}-present(\.|,)? Facebook)|([0-9]{4}(\.|,)? Facebook) Copyright https://github.com/facebookincubator/TTPForge/blob/main/cmd/test-resources/repos/test-repo/ttps/steps/hello-world.sh: The first 16 lines of 'cmd/test-resources/repos/test-repo/ttps/steps/hello-world.sh' do not contain the patterns: (Meta Platforms, Inc. and affiliates)|(Facebook, Inc(\.|,)? and its affiliates)|([0-9]{4}-present(\.|,)? Facebook)|([0-9]{4}(\.|,)? Facebook) Copyright ``` Differential Revision: D60686691 fbshipit-source-id: ed574ac6de234c062a21a4beccfc4d1e3b8db404
- Loading branch information