examples: move licenses from headers to SPDX format#21591
Merged
crasbe merged 8 commits intoRIOT-OS:masterfrom Jul 10, 2025
Merged
examples: move licenses from headers to SPDX format#21591crasbe merged 8 commits intoRIOT-OS:masterfrom
crasbe merged 8 commits intoRIOT-OS:masterfrom
Conversation
crasbe
requested changes
Jul 10, 2025
98b7cd0 to
63045c4
Compare
Contributor
Author
|
@crasbe Thanks for spotting the issue with missing Copyright lines. The problem with current script appears when next lines do not contain Copyright word. |
4 tasks
benpicco
reviewed
Nov 10, 2025
| @@ -0,0 +1,674 @@ | |||
| GNU GENERAL PUBLIC LICENSE | |||
Contributor
There was a problem hiding this comment.
This is the GPL, not LGPL.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Contribution description
This PR moves license information from headers to SPDX format for files from
examplesdirectory.Most work for
.cand.hfiles is done using @N11cc00 script.Not so common files - Python, Rust, Lua and
.share 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