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

Support globs for license matches #53

Open
a-recknagel opened this issue Jul 15, 2020 · 0 comments
Open

Support globs for license matches #53

a-recknagel opened this issue Jul 15, 2020 · 0 comments

Comments

@a-recknagel
Copy link

Let's say you have a project which uses fluent-logger, stevedore, and typed-ast. These three all have an apache license, but running liccheck against them looks like this:

    fluent-logger (0.9.6): ['Apache License, Version 2.0']
      dependency:
          fluent-logger
    stevedore (2.0.1): ['Apache Software']
      dependency:
          stevedore 
    typed-ast (1.4.1): ['Apache License 2.0']
      dependency:
          typed-ast

which means that instead of this

authorized_licenses:
        apache 

I have to do this

authorized_licenses:
        apache license, version 2.0
        apache software
        apache license 2.0

I think it would be nice to support globs, in order to match all three with something similar to the intuitive one while still keeping readability high

authorized_licenses:
        apache*
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

1 participant