Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4443895imm; Mon, 14 May 2018 07:39:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrCJvk5lmdyWLE/XQL5SJo80Vj72Mx1Xe1DeJSvJiwm21Xp4zPIL2PkWtcCSlRcHCMyvoO1 X-Received: by 2002:a62:1549:: with SMTP id 70-v6mr10823046pfv.91.1526308781650; Mon, 14 May 2018 07:39:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526308781; cv=none; d=google.com; s=arc-20160816; b=wNRABUY6V4MPhhg1cnSBYyjOjCcmQ50t487O2WGopfmoWWMSfBnhvynJ78DX63jxez Rqc19ABPWUDEf0N1sR51RTBQtb/Mrf12zYpIEEqeOnoo7+tQkd+5UBoE4mZAThHBsplz I5XUBkedeITBirfvxzQQ+EenEdeT29HmOsPW5ZMdDs+iqtbzqe1jXlSa6Xxqd0aAtX00 hOHpHKYb0IawRM6b96BSIZlPCcJrIEjZY3THeaB+UPumrLY9BwiiHYlMRVxupAin9khX xg6k+vRTtVUD+qPqjy3FDSrDh9fMWUF4eRjZ95J7DoLbWbKkXDmSzTr2IiyxNLH6QHBz m/TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Sw83LEopRBFf+pO6TQULBQmejngt9FDxg1JxfjdJ2vM=; b=mFIpVd7GOhkmmSEcrtLBbVeVgKKB3aUTW8/F6tqLKj4/ui6+upKDqYaHvIxW4+OxC5 lS9zX69tJwRLLAJB8MxXSs4RSloYUHWYVYxlrGFicCdeJj1G8JdsMMpZiSugovgC2X6q vJNOMzbpM+m5GqfDplatU6wX3t4QLDaASIi0DIFgEOt3HZ8cwPbFDcYK3QRZ7aCiX5YY ObsH9qEBygwfcgL5YKYx9YECshh9fWBNCEJGR2LQ09JNPWRwBaxHndLTOlODaYYdqx1n zNJ0O87KFZDpLmvBta3BEzFZekN6QuPiPD8sdkcCgNttjuXniXO6VZ+tm5BOi5RDc21W 3YmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=ojYFY6qS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o189-v6si9623134pfo.20.2018.05.14.07.39.25; Mon, 14 May 2018 07:39:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=ojYFY6qS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932533AbeENOgf (ORCPT + 99 others); Mon, 14 May 2018 10:36:35 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:52535 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932470AbeENOgc (ORCPT ); Mon, 14 May 2018 10:36:32 -0400 Received: by mail-wm0-f51.google.com with SMTP id w194-v6so13881594wmf.2 for ; Mon, 14 May 2018 07:36:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Sw83LEopRBFf+pO6TQULBQmejngt9FDxg1JxfjdJ2vM=; b=ojYFY6qSOYpFvkYuXFgWehwFLRE69EZOKoG6iFUnDfIDUebMhOW18awscqgp8PV4/e bR8yrvGVlhNcoIq1l6ioQ09wnlsLUL+yDTQEvkO90gj4Ie9OboGnaGhpVAESHdvoalp7 HVIx+9UkrQQJ284aPq5JsWnRPgc13SepwM0Tlghiy4FKratYJP2+4SYWUlulqghp48kx gUs0kzVzg0jL80/GXoI+LpkN4aOOdo9kzX4VLOZwQO9zfBPGH+n8qnuL2IZoyLmX0/AQ ghoTiqJmARtwVhJRKzE5xpWaPEjJNgcGLwgNB+UZuayVNq7xmWglqdfvtTAIVp7ONZ/Z GP5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Sw83LEopRBFf+pO6TQULBQmejngt9FDxg1JxfjdJ2vM=; b=o2LjlaIRHulHVjDfRU+bruk33Dmfg/ZAJHeSaYdI8XQhh2buacWcPjiwVb0uuOjITB k3w2ZpjdHOwNP62X2kfPxyqRzKwIecSNpS3H/13G3Yp/PwxhrDsJ991T8GzIjdAHxJTl DlMkiXBQAtAuligezpLWDhcDLMRy4YCAqP1hhSrN3ntx43PCY/vdL7TZx37CcoqDDDLW pssZCCV1kf1OfSnLd2O8sTJdSasfGM04JEXhTGJyrhE1qLrUKeBZgjHdCbdCvsf1pL2B hr0UXEqcU6892dNY2TaXpYIMvRAa2fGsKrlSU/Sm7thCGuH7d6rxN+9LvMrotCvu1C8n aHyw== X-Gm-Message-State: ALKqPwfEO2XOJObCoIOGXf8kSAYFxOR49nVihXSXZR2PisNnHV2MMvxh Wv7S5xitOZ915m8O1dTC6pAIFVg7Vs5tSxsG2fjeIA== X-Received: by 2002:a1c:95d3:: with SMTP id x202-v6mr5821620wmd.52.1526308591084; Mon, 14 May 2018 07:36:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.187.9 with HTTP; Mon, 14 May 2018 07:35:50 -0700 (PDT) In-Reply-To: <20180425203703.650160358@linutronix.de> References: <20180425203020.594959448@linutronix.de> <20180425203703.650160358@linutronix.de> From: Philippe Ombredanne Date: Mon, 14 May 2018 16:35:50 +0200 Message-ID: Subject: Re: [patch V2 7/7] scripts: Add SPDX checker script To: Thomas Gleixner Cc: LKML , Kate Stewart , Greg Kroah-Hartman , Jonathan Corbet , Hans Verkuil , Mauro Carvalho Chehab , Christoph Hellwig Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thomas, Sorry for the very late reply! On Wed, Apr 25, 2018 at 10:30 PM, Thomas Gleixner wrote: > The SPDX-License-Identifiers are growing in the kernel and so grow > expression failures and license IDs are used which have no corresponding > license text file in the LICENSES directory. > > Add a script which gathers information from the LICENSES directory, > i.e. the various tags in the licenses and exception files and then scans > either input from stdin, which it treats as a single file or if started > without arguments it scans the full kernel tree. > > It checks whether the license expression syntax is correct and also > validates whether the license identifiers used in the expressions are > available in the LICENSES files. Looking good to me! And the use of ply is sleek. -- Cordially Philippe Ombredanne