Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6867492imm; Tue, 28 Aug 2018 02:22:24 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbPUEUxO2FXqx7+CIdd+CTtXZ+6O4DfhlHg5zE+dJYnM1nZc5cfz/rP02dlkUzjQ2djxM0B X-Received: by 2002:a63:291:: with SMTP id 139-v6mr651761pgc.365.1535448144343; Tue, 28 Aug 2018 02:22:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535448144; cv=none; d=google.com; s=arc-20160816; b=02iZIgFdf5eZCjochRdJahS0XIU3y9dSJl0MWsvdx+K/UJU6+8yo/MTbbYEVsv3S2L nRZsyr0isg835lIEczDfWiLRaAAEGE5LHGXO/q/nn0M6J7ldPGYvEuVe21TAGj4mlDk+ HPdGA/X21gT/LjcV2g2Nj7/1T4trz2lSmoCDHpBvWHloxRmgey7r578xoHwExSh1+pUi nojYw9JBW4yG2W5iRMWQXO0DKtbhAycCCnP/t4rT5h8D7cLDPABdt3M6e/MRpinDD3bG FcEmjZEallJUxBJBbERU+qVL201olwxtPOhlO8bIkZJzc6d5x+PdEJHjfDElvq8Kqo2J BlIw== 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 :in-reply-to:references:mime-version:arc-authentication-results; bh=VQv9bsU6JACyoK5rD43DDXbRHdVnmeif5CxFa1jmkD0=; b=Z8N84d6T/NTxtC5NRRN4SXtRb3gQddLMjBOeREMMmjBo1gD0nL0DnhuJ27ZSHb9yQU bBwwQABi3kuCxzuiBLK/MNBjgl1hJ20rW82pacpIhavCuB0C79jDvOOTzQkfjqKKG6cp EBaEDmeeQUVJS2CyH2fixw/gG8bk64YTxU9GGb4dgCFE6GgPBLTr2k8A6DaeE5Dhpw6M 6AiNnLuGKba1C34HJTSuhP4PQfeVku6Yj30yeNj27rLPQYNJyY03KlaEtSw7d8Jfp/un uZ+8KQRpf6mviorRSHA/XzVrA5goc5SgREAgeoxhtCbmUgysE8ZalBidA6wAuwDjZewu W3Gw== ARC-Authentication-Results: i=1; mx.google.com; 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 w15-v6si602275plk.508.2018.08.28.02.22.09; Tue, 28 Aug 2018 02:22:24 -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; 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 S1727687AbeH1NK2 (ORCPT + 99 others); Tue, 28 Aug 2018 09:10:28 -0400 Received: from mail-ua1-f67.google.com ([209.85.222.67]:44727 "EHLO mail-ua1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727078AbeH1NK2 (ORCPT ); Tue, 28 Aug 2018 09:10:28 -0400 Received: by mail-ua1-f67.google.com with SMTP id m11-v6so536787uao.11 for ; Tue, 28 Aug 2018 02:19:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VQv9bsU6JACyoK5rD43DDXbRHdVnmeif5CxFa1jmkD0=; b=V3BTBVDaXvhYLMS6z61VVLtYJmk2DAYdTMtLUGJTJ3im3Tcz4c3FCpbARUUsR2tjtZ HBSXWadcQC/EibgpmTDdwAPN3ckUvsvaohS8/VRywtBZiCoX4Eg7QN8NhOyFmWc0Jp8s Gf7GTASwfdh0U/eyqd00X48dtbbvOrPC/Y2HGKJJaV2bJZCyCdiiCwtb80BE4kmHUPJA C3BQdlZ7g1Xy/8wxkqZ8TH/PhCAIgsFNdkzLTkEkAqzgqL20shDzwmlYMRG9G0stbB+R BITkJDE4yyhLgjxONqpaSvjo0zZtcXBj/PR9hCh19iOZd1yWVLb0nhjV9GhLi2hfVwV4 1F7A== X-Gm-Message-State: APzg51Aq4MqJ3SUy4Okgp1/LF+X3n7RPDceS0FJ5O8d0ROCWzN7FsV70 HCpTeR8Css9NKCMA7ieJ9PwbQIQHn4pMD+K29nI= X-Received: by 2002:ab0:48a4:: with SMTP id x33-v6mr400880uac.138.1535447983173; Tue, 28 Aug 2018 02:19:43 -0700 (PDT) MIME-Version: 1.0 References: <20180425203020.594959448@linutronix.de> <20180425203703.650160358@linutronix.de> In-Reply-To: From: Geert Uytterhoeven Date: Tue, 28 Aug 2018 11:19:31 +0200 Message-ID: Subject: Re: [patch V2 7/7] scripts: Add SPDX checker script To: Philippe Ombredanne Cc: Thomas Gleixner , Linux Kernel Mailing List , Kate Stewart , Greg KH , 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 On Mon, May 14, 2018 at 4:38 PM Philippe Ombredanne wrote: > 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. For the record (currently Google doesn't find this issue yet): ImportError: No module named ply $ sudo apt-get install python-ply ImportError: No module named git $ sudo apt-get install python-git Works! Apparently I didn't have any of these two packages installed on any of my Ubuntu 18.04LTS and 16.04LTS machines... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds