We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Replace the full apache header at the top of each file with this:
// SPDX-FileCopyrightText: {{DATE}} Comcast Cable Communications Management, LLC // SPDX-License-Identifier: Apache-2.0
Replacing {{DATE}} with the copyright date in the file.
For all go files that are not generated and are missing this header add it.
Install: reuse
Create a directory named .reuse.
.reuse
Add the file .reuse/deb5 with contents based on this:
.reuse/deb5
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: {{REPO}} Upstream-Contact: {{MAINTAINER}} Source: https://github.com/xmidt-org/{{REPO}} Files: .golangci.yml Copyright: SPDX-FileCopyrightText: 2023 Comcast Cable Communications Management, LLC License: Apache-2.0 Files: go.mod Copyright: SPDX-FileCopyrightText: 2023 Comcast Cable Communications Management, LLC License: Apache-2.0 Files: go.sum Copyright: SPDX-FileCopyrightText: 2023 Comcast Cable Communications Management, LLC License: Apache-2.0 Files: .gitignore Copyright: SPDX-FileCopyrightText: 2023 Comcast Cable Communications Management, LLC License: Apache-2.0 Files: MAINTAINERS.md Copyright: SPDX-FileCopyrightText: 2023 Comcast Cable Communications Management, LLC License: Apache-2.0 Files: README.md Copyright: SPDX-FileCopyrightText: 2023 Comcast Cable Communications Management, LLC License: Apache-2.0 Files: .whitesource Copyright: SPDX-FileCopyrightText: 2023 Comcast Cable Communications Management, LLC License: Apache-2.0
You may need to add/change files that cannot have copyright headers later.
Run:
reuse download Apache-2.0
reuse lint
you should see something similar to this:
# SUMMARY * Bad licenses: * Deprecated licenses: * Licenses without file extension: * Missing licenses: * Unused licenses: * Used licenses: Apache-2.0 * Read errors: 0 * Files with copyright information: 14 / 14 * Files with license information: 14 / 14 Congratulations! Your project is compliant with version 3.0 of the REUSE Specification :-)
If not, fix the issues.
In .github.workflows/ci.yml remove the line copyright-skip: true.
.github.workflows/ci.yml
copyright-skip: true
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Copyright header update
Replace the full apache header at the top of each file with this:
Replacing {{DATE}} with the copyright date in the file.
For all go files that are not generated and are missing this header add it.
Reuse preparation
Install: reuse
Create a directory named
.reuse
.Add the file
.reuse/deb5
with contents based on this:You may need to add/change files that cannot have copyright headers later.
Installing licenses
Run:
Checking the repo is compliant
Run:
you should see something similar to this:
If not, fix the issues.
Enable copyright checking in the action
In
.github.workflows/ci.yml
remove the linecopyright-skip: true
.The text was updated successfully, but these errors were encountered: