google / google/licenseclassifier
License file from Terraform not identified as "Business Source License 1.1"
- 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
Assessment
This issue has not been assessed yet.