Skip to content
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

Pattern in exceptions section #7

Closed
tenmozes opened this issue Nov 13, 2017 · 3 comments
Closed

Pattern in exceptions section #7

tenmozes opened this issue Nov 13, 2017 · 3 comments

Comments

@tenmozes
Copy link
Contributor

Hi, is it possible to specify pattern in exceptions section for e.g. github.com/user/package/*
case:
https://github.com/vmware/govmomi lib, go-license can't recognize license (because it has a bit custom header), and output looks like:

ERRO[0000] Found Non-Approved license                    license=unrecognized package="github.com/vmware/govmomi/govc/env"
ERRO[0000] Found Non-Approved license                    license=unrecognized package="github.com/vmware/govmomi/govc/device/serial"
ERRO[0000] Found Non-Approved license                    license=unrecognized package="github.com/vmware/govmomi/govc/metric/interval"
ERRO[0000] Found Non-Approved license                    license=unrecognized package="github.com/vmware/govmomi/govc/datastore"
ERRO[0000] Found Non-Approved license                    license=unrecognized package="github.com/vmware/govmomi/govc/option"
ERRO[0000] Found Non-Approved license                    license=unrecognized package="github.com/vmware/govmomi/view"
ERRO[0000] Found Non-Approved license                    license=unrecognized package="github.com/vmware/govmomi/govc/session"
@carlpett
Copy link
Contributor

Perhaps use the go syntax, ie github.com/vmware/govmomi/...?

@tenmozes
Copy link
Contributor Author

unfortunately it doesn't work

@carlpett
Copy link
Contributor

No, just thinking about how the feature could work. Currently it needs to be an exact match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants