-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update Source-Build License Scan Baselines and Exclusions #45123
Conversation
…ld/results?buildId=2589095 (internal Microsoft link)
I don't understand why this is thinking the exclusion isn't necessary. The scan code results show a reference of |
...ontent/test/Microsoft.DotNet.SourceBuild.Tests/assets/LicenseScanTests/LicenseExclusions.txt
Outdated
Show resolved
Hide resolved
I figured out what's going on here. Basically, everything is working as expected. There is some nuance in why things are happening the way they are though. Let's take a look at the scancode results: {
"path": "license.rtf",
"type": "file",
"detected_license_expression": null,
"detected_license_expression_spdx": null,
"license_detections": [],
"license_clues": [
{
"license_expression": "ms-net-library-2016-05",
"license_expression_spdx": "LicenseRef-scancode-ms-net-library-2016-05",
"from_file": "license/license.rtf",
"start_line": 26,
"end_line": 58,
"matcher": "3-seq",
"score": 25.24,
"matched_length": 373,
"match_coverage": 25.24,
"rule_relevance": 100,
"rule_identifier": "ms-net-library-2016-05.LICENSE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ms-net-library-2016-05.LICENSE"
},
{
"license_expression": "ms-net-library-2016-05",
"license_expression_spdx": "LicenseRef-scancode-ms-net-library-2016-05",
"from_file": "license/license.rtf",
"start_line": 61,
"end_line": 94,
"matcher": "3-seq",
"score": 48.99,
"matched_length": 724,
"match_coverage": 48.99,
"rule_relevance": 100,
"rule_identifier": "ms-net-library-2016-05.LICENSE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ms-net-library-2016-05.LICENSE"
}
],
"percentage_of_license_text": 51.0,
"scan_errors": []
} The key bit of data here is the value of the |
This PR was created by the
CreateBaselineUpdatePR
tool for build 2589095.The updated test results can be found at https://dev.azure.com/dnceng/internal/_build/results?buildId=2589095 (internal Microsoft link)