-
Notifications
You must be signed in to change notification settings - Fork 92
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
Add SPDX license id and copyright banners to source files needing them #545
base: main
Are you sure you want to change the base?
Add SPDX license id and copyright banners to source files needing them #545
Conversation
Signed-off-by: Andy Fingerhut <[email protected]>
Assuming PR #546 enables the CI checks to pass for this PR in the near future, my intent is that this PR will be preferred over the earlier #543 for two reasons:
[1] https://github.com/jafingerhut/test-spdx-checker |
…ght-banners-to-source-files
Signed-off-by: Andy Fingerhut <[email protected]>
@chrispsommers @smolkaj I would like to talk about this PR at the next P4Runtime API meeting, in hopes of merging it, or deciding how to change it before it is merged. |
For sure, it'll be on the agenda. Thanks! |
From addlicense:
So why are your scripts required, why can't |
My spdx-check.py script is not required. You can call In a repo with 50 files that already have SPDX-License-Identifier lines, and 200 that do not, where you want to put a reasonable copyright author and year that differs across those 200 files, writing all of the Also, |
Got it, I didn't realize you needed arguments to addlicense. Your script seems very helpful! |
Copying this comment from Steffen, accidentally added to a different PR: Question for Linux foundation from the P4 API WG discussion: What is their recommendation on who to attribute the license to? Should we use individual authors or a group ("The P4Runtime authors")? Should we have a CONTRIBUTORS file? |
No description provided.