google / google/licenseclassifier

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

Open
#67 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
349
Forks
81
PR merge metrics
No merged PRs in 30d

Description

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).

```sh
$ 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.