Skip to content
Discussion options

You must be logged in to vote

I'm not sure if you're trying to identify license vs notice files or you're trying to identify license texts/notice texts detected, so I'll specify both:

  1. Eventually we would have a is_notice flag similarly like the is_legal flag, and you can use this to differentiate. See #3822 and #4142 which is related.
  2. You can also get from a detected license match, what is the type of the rule. For example, every license match has a rule_identifier . You can use the --license-references option to get the complete data on the detected rules and licenses added to your scan results, and get the is_license_text and is_license_notice flags from there.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by rogu-beta
Comment options

You must be logged in to vote
4 replies
@AyanSinhaMahapatra
Comment options

@rogu-beta
Comment options

@pombredanne
Comment options

@rogu-beta
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants