-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add a way to specify the db file #20
Comments
This is a workaround, and should be fixed once google/licenseclassifier#20 is fixed. Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
This is a workaround, and should be fixed once google/licenseclassifier#20 is fixed. Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
Hi @vdemeester, I ran into this exact issue when trying to use The issue is the Hope it helps. |
Since this is an issue with the utility calling the classifier and not this code itself, closing the issue. |
In the case where I distribute the
binary
and thedb
file separately, I want to be able to specify wherelicenseclassifier
should look for the db. This is related togo-licences
(https://github.com/google/go-licenses/blob/master/licenses/classifier.go)As of today, you need the source of the
go-license
binary in the right path (GOPATH
, …) to be able to use it.Another alternative would be to embedded the
.db
in the binary 👼The text was updated successfully, but these errors were encountered: