-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Check copyright statements and SPDX license statements #8470
Merged
daverodgman
merged 4 commits into
Mbed-TLS:development
from
gilles-peskine-arm:check-files-license
Nov 6, 2023
Merged
Check copyright statements and SPDX license statements #8470
daverodgman
merged 4 commits into
Mbed-TLS:development
from
gilles-peskine-arm:check-files-license
Nov 6, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gilles-peskine-arm
added
needs-review
Every commit must be reviewed by at least two team members,
needs-backports
Backports are missing or are pending review and approval.
needs-preceding-pr
Requires another PR to be merged first
needs-reviewer
This PR needs someone to pick it up for review
priority-very-high
Highest priority - prioritise this over other review work
size-xs
Estimated task size: extra small (a few hours at most)
labels
Nov 3, 2023
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
Enforce a specific copyright statement and a specific SPDX license identifier where they are present. Binary files, third-party modules and a few other exceptions are not checked. There is currently no check that copyright statements and license identifiers are present. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
gilles-peskine-arm
force-pushed
the
check-files-license
branch
from
November 4, 2023 15:09
a8fb80a
to
ce78200
Compare
gilles-peskine-arm
removed
the
needs-preceding-pr
Requires another PR to be merged first
label
Nov 4, 2023
daverodgman
approved these changes
Nov 4, 2023
mpg
approved these changes
Nov 6, 2023
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.
LGTM
mpg
added
approved
Design and code approved - may be waiting for CI or backports
and removed
needs-review
Every commit must be reviewed by at least two team members,
labels
Nov 6, 2023
3 tasks
daverodgman
removed
the
needs-backports
Backports are missing or are pending review and approval.
label
Nov 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
approved
Design and code approved - may be waiting for CI or backports
priority-very-high
Highest priority - prioritise this over other review work
size-xs
Estimated task size: extra small (a few hours at most)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check copyright statements and SPDX license statements, where present. Also complain about suspicious mentions of a license.
Priority justification: with the license change, we want the CI to complain if we try to add files with an obsolete license header.
Out of scope: enforcing the presence of copyright and license statements. Maybe we want this, but it's a completely different task.
The reporting isn't very nice (it just says “License issue”) because of preexisting technical debt. There's a fix but it needs rework and review. Getting the check in is more urgent.
PR checklist
Please tick as appropriate and edit the reasons (e.g.: "backport: not needed because this is a new feature")