Conversation
|
|
||
| detected_licenses.extend( | ||
| _licenses_data_from_match( | ||
| if "unknown" in match.rule.license_expression: |
There was a problem hiding this comment.
matches will have a is_unknown flag you added :P Use that instead of checking the license_eexpression.
There was a problem hiding this comment.
Oh yeah! Actually that PR is not yet merged therefore changes were not reflected in this branch which was giving errors, that's why I have used this .
Signed-off-by: akugarg <akanksha.garg2k@gmail.com>
9222562 to
5851f1f
Compare
AyanSinhaMahapatra
left a comment
There was a problem hiding this comment.
Should fix the tests next.
Signed-off-by: akugarg <akanksha.garg2k@gmail.com>
9e91a14 to
d514cbb
Compare
Signed-off-by: akugarg <akanksha.garg2k@gmail.com>
d514cbb to
ccf9de4
Compare
|
Some tests are failing in |
b26a578 to
412ea31
Compare
412ea31 to
908e8a4
Compare
|
|
||
| c = Consolidation( | ||
| core_license_expression=combine_expressions(license_expressions), | ||
| other_license_expression = combine_expressions(unknown_expressions), |
There was a problem hiding this comment.
No spaces should be present before and after = in this case.
| ) | ||
|
|
||
|
|
||
| if "unknown" in match.rule.license_expression: #TODO: use is_unknown flag instead |
There was a problem hiding this comment.
re #TODO: use is_unknown flag instead when would this happen?
There was a problem hiding this comment.
@pombredanne after #2548 is approved and merged, then this could be rebased/merged and the is_unknown flags introduced there can be used.
pombredanne
left a comment
There was a problem hiding this comment.
Thanks. See my comments inline.
| "mime_type": "text/plain", | ||
| "file_type": "ASCII text", | ||
| "programming_language": null, | ||
| "programming_language": "verilog", |
There was a problem hiding this comment.
This is weird... how is this related to the current PR?
33634cf to
7c22012
Compare
Signed-off-by: akugarg <akanksha.garg2k@gmail.com>
7c22012 to
8f93fda
Compare
|
@akugarg @AyanSinhaMahapatra should we merge this? or is this no longer relevant based on our latest discussions? |
|
@pombredanne Yes, this is not relevant anymore. @akugarg Thanks though. |
Signed-off-by: akugarg akanksha.garg2k@gmail.com
Fixes #2574
Tasks
Run tests locally to check for errors.