From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 32B0DA04B4; Wed, 26 Aug 2020 17:12:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2F0D6B62; Wed, 26 Aug 2020 17:12:42 +0200 (CEST) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by dpdk.org (Postfix) with ESMTP id 5B924A3 for ; Wed, 26 Aug 2020 17:12:40 +0200 (CEST) Received: by mail-pl1-f193.google.com with SMTP id p15so1033680pli.6 for ; Wed, 26 Aug 2020 08:12:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FzxSl4uJ6oQnPLVhddgovEprAhDo64/Lc+zFehnNOek=; b=OAhE6RTMaxJwPgCX8eYtjbx+0d/LyW7GbUiPXuf9JEWy1MH9GI8CsBGpqATDoA4TO0 LybQTONv5VjaCuV6lWOuJhlVeWTbmLgwVKH5dURvt+kiTeHvLJHSftVZvoGIE0xsbuZb ZZ+Ho0+qBgVdjfoTlirgm1aJWqe3k6NITyDgJ26+8n/BqCIi54hhheB2t6gBV6i/gmUy kLGHkcNrKr1gZj2GFlsPbFfkA1gmlgTprLQRKkwHKyXdM/PltQV+OJF+zHgwLDKCBcvS pS2K6xkxXhzBQ9rom0T9qC6fjS6KhzjZxXsAqTU2GRLQFB2eqXlG0nQASeITH5N2uNy2 BVBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FzxSl4uJ6oQnPLVhddgovEprAhDo64/Lc+zFehnNOek=; b=IRhGYA8KFdDncmg191U3/o4iURXPcetgMy5LpYPDMezKKAj/S1My9PpM0OsamNI3Kg Vw+JqBt37wLTk+HdpmRSHGGlWgAlPvb8BU7cpBB2i+6wtup9huVPJ/jYDIFrfHXw+EJq P8+4EJ/9+UJMHvrqNqqcrQ+TeXmGmqi6mYVI1mVqaf838xutYoWzURnedCzma8FpIfC/ bZYbYhIAP/8yO5IoipTPjkcm7sgD/Xy1bPQYFxIJhUzwkze7AX0+rFLC2GTNapUrCxFR exi0jGkHFEUfMLFBqjRgtLTXlnJ1l+9QgBwMG7Xi3G07a/PtQ7RM/DySKspTZ0b8mje7 jRnw== X-Gm-Message-State: AOAM5302YFxlc1pesDCTZR9fI9ovpNNR8mAdePbhKJmomz8VXXKv6EHD EEO0G8SG1IxptzntMssYsombdHA7Flcj/w== X-Google-Smtp-Source: ABdhPJx+5klU4QVyst+d1Q3sLbCqEkST9+J1vHzyJ/cb1Om63xGdnp7S/YF3HLT15EiK7cbFT142vQ== X-Received: by 2002:a17:90a:550e:: with SMTP id b14mr6452341pji.64.1598454759272; Wed, 26 Aug 2020 08:12:39 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id f24sm2401387pjt.53.2020.08.26.08.12.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Aug 2020 08:12:39 -0700 (PDT) Date: Wed, 26 Aug 2020 08:12:30 -0700 From: Stephen Hemminger To: Thomas Monjalon Cc: dev@dpdk.org Message-ID: <20200826081230.1bf539d8@hermes.lan> In-Reply-To: <3584477.4m1K3HXnfP@thomas> References: <20200129155907.20556-1-stephen@networkplumber.org> <20200714232101.32544-1-stephen@networkplumber.org> <3584477.4m1K3HXnfP@thomas> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v5] devtools: add new SPDX license compliance checker X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, 31 Jul 2020 00:06:23 +0200 Thomas Monjalon wrote: > 15/07/2020 01:21, Stephen Hemminger: > > Simple script to look for drivers and scripts that > > are missing requires SPDX header. > > > > Signed-off-by: Stephen Hemminger > [...] > > +#! /bin/sh > > +# SPDX-License-Identifier: BSD-3-Clause > > +# Copyright 2020 Microsoft Corporation > > +# > > +# Produce a list of files with incorrect license tags > > + > > +errors=0 > > +warnings=0 > > +quiet=false > > +verbose=false > > + > > +print_usage () { > > + echo "usage: $(basename $0) [-q] [-v]" > > + exit 1 > > +} > > + > > +check_spdx() { > > + if $verbose; then > > + echo "Files without SPDX License" > > + echo "--------------------------" > > + fi > > + git grep -L SPDX-License-Identifier -- \ > > + ':^.git*' ':^.ci/*' ':^.travis.yml' \ > > + ':^README' ':^MAINTAINERS' ':^VERSION' ':^ABI_VERSION' \ > > + ':^*/Kbuild' ':^*/README' \ > > + ':^license/' ':^config/' ':^buildtools/' \ > > + ':^*.cocci' ':^*.abignore' \ > > + ':^*.def' ':^*.map' ':^*.ini' ':^*.data' ':^*.cfg' ':^*.txt' \ > > + ':^*.svg' ':^*.png'\ > > I don't agree with this list of files. > But I guess we can start with that and be more strict in future. I suppose README, MAINTAINERS, .ini and .txt files could be removed from the exception list.