Skip to content
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

Incorrect license is not detected/fixed #105

Open
radeksimko opened this issue Feb 13, 2024 · 0 comments
Open

Incorrect license is not detected/fixed #105

radeksimko opened this issue Feb 13, 2024 · 0 comments

Comments

@radeksimko
Copy link
Member

It appears the copywrite will not detect or attempt to fix wrong license, for example in hashicorp/terraform:

If I attempt to change provider_source.go in root to contain

// SPDX-License-Identifier: MPL-2.0
$ copywrite headers
Using license identifier: BUSL-1.1
Using copyright holder: HashiCorp, Inc.

Exempting the following search patterns:
**/*.tf
**/testdata/**
**/*.pb.go
**/*_string.go
**/mock*.go
docs/plugin-protocol/**
internal/tfplugin*/**

The following files are missing headers:
$ head -2 provider_source.go
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant