-
-
Notifications
You must be signed in to change notification settings - Fork 579
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 license rule importance flags #1140
Conversation
Signed-off-by: Philippe Ombredanne <[email protected]>
Codecov Report
@@ Coverage Diff @@
## develop #1140 +/- ##
===========================================
+ Coverage 84.11% 84.31% +0.19%
===========================================
Files 113 113
Lines 12422 12592 +170
===========================================
+ Hits 10449 10617 +168
- Misses 1973 1975 +2
Continue to review full report at Codecov.
|
And do not use a default License text for these Signed-off-by: Philippe Ombredanne <[email protected]>
Also remove or update some rules as needed Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Also remove or update some rules as needed Signed-off-by: Philippe Ombredanne <[email protected]>
Also remove or update some rules as needed Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Add is_ prefix to negative and false_positive flags This is consistent with the naming of other flags. Signed-off-by: Philippe Ombredanne <[email protected]>
f3c0f82
to
462eb84
Compare
This is also renaming rule flaqs |
This PR add a new set of flags on license rule to state the importance of a rule for #979. A rule is more important if its detection is the clearer mark of a license.
The importance flags are:
is_license_text
: this is a full license textis_license_notice
: this is a license noticeis_license_reference
: this is a only a reference to a license and therefore may not be as strongis_license_tag
: this is a a structured, coded license reference such as a SPDX-License-Identifier and is typically a strong license reference albeit a short one.Licenses are also tagged using a first set of heuristics and then a review.
License importance is useful for improve summarization and license determination automation for #377
Signed-off-by: Philippe Ombredanne [email protected]