-
Notifications
You must be signed in to change notification settings - Fork 3k
drivers/hal/platform/rtos: add SPDX identifier #8690
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
LGTM, but what about copyright year? |
I haven't touched them as it would require more time (check when was it last changed and update the year). I believe this step should be separate - can be automated via a script to update all files. Also people should be reminded to update the year in files (we can see from here that lot of copyright years were not touched for years even though files were) . I can send an email to all teams regarding this (using SPDX in files and updating copyright year) - from now on we start checking these 2 details more carefully. |
Waiting for approvals |
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.
Left a question.
Copyright year decreased?
@@ -1,5 +1,6 @@ | |||
/* mbed Microcontroller Library | |||
* Copyright (c) 2018-2018 ARM Limited | |||
* Copyright (c) 2006-2016 ARM Limited |
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.
Was this intended?
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.
Good catch, will fix
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.
fixed
/morph build |
Derp. Jumped the gun a bit there. |
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.
Hi @0xc0170,
there were a few more year changes that are not fixed yet (see comments). Is this intentional?
Other than that looks fine
rtos/TARGET_CORTEX/mbed_rtos_rtx.c
Outdated
@@ -1,5 +1,6 @@ | |||
/* mbed Microcontroller Library | |||
* Copyright (c) 2018-2018 ARM Limited | |||
* Copyright (c) 2006-2016 ARM Limited |
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.
more copyright year decrease changes
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.
Bad find-replace run, will fix
rtos/TARGET_CORTEX/mbed_boot.h
Outdated
@@ -1,5 +1,6 @@ | |||
/* mbed Microcontroller Library | |||
* Copyright (c) 2018-2018 ARM Limited | |||
* Copyright (c) 2006-2016 ARM Limited |
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.
more copyright year decrease changes
@@ -1,5 +1,6 @@ | |||
/* mbed Microcontroller Library | |||
* Copyright (c) 2018-2018 ARM Limited | |||
* Copyright (c) 2006-2016 ARM Limited |
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.
more copyright year decrease changes
@@ -1,5 +1,6 @@ | |||
/* mbed Microcontroller Library | |||
* Copyright (c) 2018-2018 ARM Limited | |||
* Copyright (c) 2006-2016 ARM Limited |
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.
more copyright year decrease changes
@@ -1,5 +1,6 @@ | |||
/* mbed Microcontroller Library | |||
* Copyright (c) 2018-2018 ARM Limited | |||
* Copyright (c) 2006-2016 ARM Limited |
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.
more copyright year decrease changes
This can land as a patch anytime. I'll fix the changes and update this PR |
I fixed copyright years, ready for review |
Found during editing copyright message
I fixed one style error (I was going after this one to clean master. But as I edited the file here, it failed). |
@ARMmbed/mbed-os-maintainers Waiting for reviews |
Rereviewed. |
Test run: SUCCESSSummary: 4 of 4 test jobs passed |
Cloud Client job failed:
Exporter could probably be reran, but will hold off until Cloud Client build is looked at.
|
This is an issue on master, shall be fixed today |
Restarted cloud + exporters |
Description
We have been missing SPDX identifier in the files (one file even did not have license header file). This covers most of files in drivers/hal/platform/rtos that have apache license.
This follows our recommendation in the license docs:
This is a good start to consolidate licenses (many of us do copy-paste of license headers) - I noticed SPDX is missing there so better to start now to be checking for SPDX in the new files and point them to these common files for examples (lot of feature files already have it 👍 ).
Remaining folders to do: features/components and test folders (will be done separately if that is OK)
Pull request type