Skip to content

License file from Terraform not identified as "Business Source License 1.1" #67

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

Open
ringods opened this issue Mar 11, 2025 · 0 comments · May be fixed by #68
Open

License file from Terraform not identified as "Business Source License 1.1" #67

ringods opened this issue Mar 11, 2025 · 0 comments · May be fixed by #68

Comments

@ringods
Copy link

ringods commented Mar 11, 2025

I was testing this license classifier on the Hashicorp Terraform License file:

https://github.com/hashicorp/terraform/blob/main/LICENSE

But the classifier can't match this to the Business Source License 1.1 (BUSL-1.1).

$ cd v2
$ wget https://raw.githubusercontent.com/hashicorp/terraform/refs/heads/main/LICENSE -O LICENSE-to-test.txt
$ go run tools/identify_license/identify_license.go LICENSE-to-test.txt
2025/03/11 11:28:49 Classifying license(s): LICENSE-to-test.txt
2025/03/11 11:28:49 Finished Classifying License "LICENSE-to-test.txt": 7.407625ms
2025/03/11 11:28:49 Couldn't classify license(s)
exit status 1

I'm willing to submit a fix for this if someone can indicate what the best option is to do this.

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

Successfully merging a pull request may close this issue.

1 participant