-
Notifications
You must be signed in to change notification settings - Fork 2.1k
examples: move licenses from headers to SPDX format #21591
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
examples: move licenses from headers to SPDX format #21591
Conversation
98b7cd0
to
63045c4
Compare
@crasbe Thanks for spotting the issue with missing Copyright lines. The problem with current script appears when next lines do not contain Copyright word. |
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.
Looks good now.
Contribution description
This PR moves license information from headers to SPDX format for files from
examples
directory.Most work for
.c
and.h
files is done using @N11cc00 script.Not so common files - Python, Rust, Lua and
.sh
are serviced manually.I added MIT and LGPL-3.0 license files - remaining LGPL-2.1 will be added in PR #21516.
One file with custom license is untouched -
examples/networking/misc/sniffer/tools/sniffer.py
.Testing procedure
Review changed files.
Issues/PRs references
Tracking #21515