Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3323057iob; Mon, 16 May 2022 19:22:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiZemRnz1/hBMhx2CCA6aRdK7zP5A8zfAY4iZIzsg8vwNpd33U93Ss8BTZ9dNmEYmazn6K X-Received: by 2002:a05:6402:3552:b0:427:e36a:e839 with SMTP id f18-20020a056402355200b00427e36ae839mr16356509edd.351.1652754158981; Mon, 16 May 2022 19:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652754158; cv=none; d=google.com; s=arc-20160816; b=ufRgBqh7P5J7tbp983xu5VSBii4qzNMAX1r5W6kz5M/DbexhNJ9PNpUxBcx9z5OgpV fWjhi+CWBfR/0Jeq+6BzGUwFPhJuKmgFxFFhzvI5Fguws5BCCz1N+JpHJIlNHqORGK2z BbsTx3brpAh+KH3XSzCcSs17/wNGqf/g/vybPrPNv/ZuMbvUBf6rZarVZw5xmAj2RN4L Z4Jr0PBbE8chM/XpTtn9R5t3bdZ7x7C2hGj3GBF1d8pWVEbLUfoc7AX6YK5j+P8tfe6P PLkoGX6cWh0Sg9Xu5Yp8/hvnPJ/LzqgLlUTOQnGnfQz4lazQnrgmnaYRpCfgjw1bzH6s EUGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :mime-version:in-reply-to:references:cc:to:subject:from :dkim-signature:date; bh=wHI3M8k0s+6SKuJM83gBORyGyL9zJEh7+p5BY+tErwI=; b=rn0ybdICf9q4zSN4GrihtTfkEJhAqo343uwvHxDx2s8EhfR+38ITqSZ86/agCdJfXe Gup/7a64fjVkBlwh7AkGKsCXwgMhtH80fJoZiJoKaBarBy5B3XnNHJCE8t3aCqbZgkmy r4zw2zldXvQLa8nIVuiFjetDkYgvru6ZmMGqEJ1851eJqutvAE6lvUFEDyvcrlGw92v/ wKTwhI9995ofCCLzYKH2Pn07iTGG0j6T7oS75KYl2vc0X4HG0cBOtUIDeHdFNZB92KR+ Q62GQZ9CUY5ViJdxrfdEj/fv2nVu95gEM/QOlI7t9GKTN4qun5Y8lffDe58oc1NC8BkJ mWCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fsfe.org header.s=2021100501 header.b=C9XGB87e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fsfe.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k8-20020a05640212c800b0042ab9211a07si3171439edx.473.2022.05.16.19.22.13; Mon, 16 May 2022 19:22:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@fsfe.org header.s=2021100501 header.b=C9XGB87e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fsfe.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240658AbiEPNVf (ORCPT + 99 others); Mon, 16 May 2022 09:21:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243940AbiEPNVL (ORCPT ); Mon, 16 May 2022 09:21:11 -0400 X-Greylist: delayed 386 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 16 May 2022 06:21:06 PDT Received: from mail1.fsfe.org (mail1.fsfe.org [217.69.89.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 975A72655F; Mon, 16 May 2022 06:21:05 -0700 (PDT) Date: Mon, 16 May 2022 15:14:27 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501; t=1652706874; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wHI3M8k0s+6SKuJM83gBORyGyL9zJEh7+p5BY+tErwI=; b=C9XGB87ee1pDrXxfeYbKRN/HK6T9qLGo7RtHWWuDZnHZlv3pvjm+ywpgVPI8bACZNep5Fh ICs5jvQRwNsKQvIiDWeISoY5882t9bwzyN+Vq7HuJ2zP/GuaK/dLYtu3ULJWjpBwQ9QITM b9VegXDSI9OO/pBRxVbgSVas5hQc+6A= From: Max Mehl Subject: Re: [patch 0/9] scripts/spdxcheck: Better statistics and exclude handling To: LKML , Thomas Gleixner Cc: Greg Kroah-Hartman , Christoph Hellwig , linux-spdx@vger.kernel.org References: <20220516101901.475557433@linutronix.de> In-Reply-To: <20220516101901.475557433@linutronix.de> MIME-Version: 1.0 User-Agent: astroid/0.13 Message-Id: <1652706350.kh41opdwg4.2220@fsfe.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thank you for picking up the effort to add license (and perhaps also copyright) info to all files in the Kernel. This, as you know, is also working towards making the whole repo REUSE compliant [^1]. ~ Thomas Gleixner [2022-05-16 12:27 +0200]: > Finding files without SPDX identifiers is cumbersome with spdxcheck, thou= gh > it has all the information required. >=20 > The exclude of files and directories is hardcoded in the script which mak= es > it hard to maintain and the information cannot be accessed by external to= ols. Unfortunately, excluding files (i.e. not adding machine-readable license/copyright information to it) would also block reaching full compliance with the REUSE best practices. Have you considered making them available under GPL-2.0-only or a license similar to public domain [^2]? Regarding false-positives, e.g. in license-rules.rst, you could use the brand-new feature that allows to ignore blocks of code (to be released later this week) [^3]. I am aware that spdxcheck would not be able to detect this, but using the REUSE helper tool [^4] could also be a solution to scan for missing files. Best, Max [^1]: https://reuse.software [^2]: https://reuse.software/faq/#exclude-file [^3]: https://github.com/fsfe/reuse-docs/pull/104/files [^4]: https://github.com/fsfe/reuse-tool --=20 Max Mehl - Programme Manager -- Free Software Foundation Europe Contact and information: https://fsfe.org/about/mehl -- @mxmehl The FSFE is a charity that empowers users to control technology