From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 32B08A054F; Tue, 16 Mar 2021 22:00:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EA66B242A51; Tue, 16 Mar 2021 22:00:40 +0100 (CET) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mails.dpdk.org (Postfix) with ESMTP id 5A642242A44 for ; Tue, 16 Mar 2021 22:00:38 +0100 (CET) Received: by mail-pf1-f176.google.com with SMTP id a188so9677224pfb.4 for ; Tue, 16 Mar 2021 14:00:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=u9kIj4ZEpZZCsXHoKk+cPFOFIhUWg4ItQXOzoX+XxxE=; b=aXqYlOoRh7SEYEFb4slB0zYnzATAu2RT9dBTGbJuyqZjRoPKEcufYZDc6nB+ZFw8LS 22roJ/Y6DiIsi9twXE9i5rpxpM3osXhHvy9C6pNaBK8M9PYPTQNlOku+wSsDcWoyaFZ+ eJ4DXhSCIbhhMkdva2LXDku8BA8iGGTfTETSHa65Q9boBm79vLBSkg8r4H/INL7g+Afh CyqFDn1/pD1S9ICFFpQFRmVPdgKKnuocdOSfUfwyneCCS2Y3ZtDOnZY3CbMcKxXtzgsE lZuHkXhC5bP+lLGjT/+UkWZXjIcqTK7lOAYqXrmkwwO+AdrRnzG8+LAyK8k9w/NB90kb 3YvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=u9kIj4ZEpZZCsXHoKk+cPFOFIhUWg4ItQXOzoX+XxxE=; b=heepdzS6qsdYm2kiekWuiHsyknUhvOsjTlXAIp9QKg3P0aI4JfF7D11/sJPkeO5dyF +MVeBBpA6Aiaj6WdERjk0G1rdKXDQtHEJCvNlbCc3qUfPoaWQvlkoNH2lDLEerIVIVUD 7C8rMm3U39zsQHaln/Nerufe9hD5qZugXkKb6XLJeiV2EOjogrUO33rc+DKIzmIs/sBX 741fQhqHoBK+clcs7Fp9vdDwiNa6KS0n5JVYBS/sLHxmTWmlAuMDQePB7XwpXphqQAVr t+UyQ57z9MkKZdKxsGQKGCxDfRZFXupbv/xvGQPA0bo7Yu1GZdngXAER80OBSUxriQtU TjpA== X-Gm-Message-State: AOAM532w78mMrgGIsSvOyZYHZw0ZsR7LrTooorqIImmP89psfIDmXzWG 4pXMpLwqZdyXzs4oFzaBS5hd5O4jZ2JWOg== X-Google-Smtp-Source: ABdhPJzQ6CRqgWXSK/Zoy+Iall62dWKSwRz8VT6fy6geMnM2U2eC6VSxlJXjlUfyiVkPaxNoj4dXiA== X-Received: by 2002:a65:46c7:: with SMTP id n7mr1348462pgr.267.1615928437016; Tue, 16 Mar 2021 14:00:37 -0700 (PDT) Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44]) by smtp.gmail.com with ESMTPSA id c24sm286436pjv.18.2021.03.16.14.00.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Mar 2021 14:00:36 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 16 Mar 2021 14:00:25 -0700 Message-Id: <20210316210027.37213-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210316210027.37213-1-stephen@networkplumber.org> References: <20210316210027.37213-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 2/4] devtools/check-spdx-tag.sh: ignore JSON files X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" The JSON file format does not support comments so there is no good way to add SPDX license identifier. This solves false positives that arrive from the use of JSON in crypto dev tests. Signed-off-by: Stephen Hemminger --- devtools/check-spdx-tag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/check-spdx-tag.sh b/devtools/check-spdx-tag.sh index a0ec1ed5b6da..bc0b6efcf976 100755 --- a/devtools/check-spdx-tag.sh +++ b/devtools/check-spdx-tag.sh @@ -26,7 +26,7 @@ check_spdx() { ':^license/' ':^config/' ':^buildtools/' \ ':^*.cocci' ':^*.abignore' \ ':^*.def' ':^*.map' ':^*.ini' ':^*.data' ':^*.cfg' ':^*.txt' \ - ':^*.svg' ':^*.png'\ + ':^*.svg' ':^*.png' ':^*.json' \ > $tmpfile errors=$(wc -l < $tmpfile) -- 2.30.2