-
Notifications
You must be signed in to change notification settings - Fork 3k
scancode: fix SPDX check - only warning #13782
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
Conversation
One of the files failing in another PR: https://github.com/ARMmbed/mbed-os/blob/57a9d6e12c8e40434bfa34d39515ef614284b352/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/CMSIS/stm32h723xx.h The Travis job failing here : https://travis-ci.org/github/ARMmbed/mbed-os/jobs/736407744 |
@0xc0170, thank you for your changes. |
SPDX are not yet done in our codebase. We suggest them to be present but 3rd party drivers have not yet been updated. The check as it was causes problems when updating 3rd party drivers (red flags in the PR). Proper fix will be to clean up SPDX id in the codebase.
58ab133
to
61d88dd
Compare
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
userlog.warning("Found files with missing SPDX identifier, please review and fix") | ||
for offender in spdx_offenders: | ||
userlog.warning("File: %s reason: %s" % (path_leaf(offender['path']), offender['fail_reason'])) | ||
return len(license_offenders) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe len(license_offenders) + len(spdx_offenders) ?
Summary of changes
SPDX are not yet done in our codebase. We suggest them to be present but 3rd party
drivers have not yet been updated. The check as it was causes problems when updating
3rd party drivers (red flags in the PR).
Proper fix will be to clean up SPDX id in the codebase.
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers