From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752613AbdJSK4Z (ORCPT ); Thu, 19 Oct 2017 06:56:25 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:46901 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752188AbdJSK4X (ORCPT ); Thu, 19 Oct 2017 06:56:23 -0400 X-Google-Smtp-Source: ABhQp+SNMIuUT1BNqJWf0DvyQfdX6T9531SHEXSJWO8Goi/tMn8ACsONGaz0ffJLjyliik4GyYlhBCbLaEiMJkMvvbE= MIME-Version: 1.0 In-Reply-To: <20171019091046.GA5712@kroah.com> References: <20171019083832.GA21820@kroah.com> <20171019085907.GA4044@kroah.com> <20171019091046.GA5712@kroah.com> From: Philippe Ombredanne Date: Thu, 19 Oct 2017 12:55:42 +0200 Message-ID: Subject: Re: [PATCH] USB: add SPDX identifiers to all files in drivers/usb/ To: Greg Kroah-Hartman Cc: Thomas Gleixner , linux-usb@vger.kernel.org, LKML , Kate Stewart , Linus Torvalds Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 19, 2017 at 11:10 AM, Greg Kroah-Hartman 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