Messages in this thread | | | From | Philippe Ombredanne <> | Date | Thu, 19 Oct 2017 12:55:42 +0200 | Subject | Re: [PATCH] USB: add SPDX identifiers to all files in drivers/usb/ |
| |
On Thu, Oct 19, 2017 at 11:10 AM, Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
> And, to take it to the next conclusion, if we have the SPDX identifier, > we can get rid of the "boilerplate" GPL license crap as well, right? > > How about this example patch of just 2 files, we could drop so many > lines that we are all tired of reading over and over...
Greg:
Exactly! And the tool [0] I used to detect the licenses can also collect the exact matched text: so based on this we could craft a script to do the grunt work of deleting the boilerplate and be reasonably smart about it:
- focus on GPL first, ignoring BSD/MIT for now - only take out unambiguous boilerplate that is matched exactly - and only take it out if there a proper and corresponding license identifier already there, or add one otherwise
[0] https://github.com/nexB/scancode-toolkit
-- Cordially Philippe Ombredanne
| |