Skip to content

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

Open
@ringods

Description

@ringods

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions