lkml.org 
[lkml]   [2017]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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

\
 
 \ /
  Last update: 2017-10-22 17:22    [W:0.045 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site