licenseclassifier icon indicating copy to clipboard operation
licenseclassifier copied to clipboard

A License Classifier

Results 19 licenseclassifier issues
Sort by recently updated
recently updated
newest added

Hi, I was playing with this code and to give one example, I found this license: https://github.com/google/licenseclassifier/blob/main/licenses/Facebook-2-Clause.txt It says in your source code ( https://github.com/google/licenseclassifier/blob/148b633b0534b8cf7a143e54cdae2b9229a78a82/license_type.go#L26 ) that: > The names...

I see how this is trying to be very clever and find the license DB in its own source code path. This totally breaks down in the face of Go's...

The classifier uses utf8.AppendRune(), which was added in Go 1.18; make that explicit in go.mod.

Previously the `StringSet` `byExceptionOnlyType` was defined but not used. This change adds it to the function `LicenseType` to get the type string "by_exception_only" when applicable.

This is the correct format for the embed directives. It seems that `go build` will allow this format, but IDEs like intellij won't highlight this correctly, and things like [build.Import](https://cs.opensource.google/go/go/+/refs/tags/go1.21.3:src/go/build/build.go;l=553)...

Hi. Can you give more details on how to run the application? README.md seems too scarce on information. I tried **go run license_serializer.go**. It works fine. But **identify_license** can't find...

It does not satisfy the Open Source Definition because it does not allow modifications or derivations under the same terms as the original software.

Can you please add the instructions on how to install this package using `go install`?