Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp5709897pxv; Wed, 7 Jul 2021 09:56:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCf2poaj9NdFps/KS3wN/YjKoKb7WsUcHYkUJ4BPR1Tk9BDQu0PhyUvZnfXg/Tu+wPBqco X-Received: by 2002:a17:906:719:: with SMTP id y25mr9671178ejb.82.1625677008462; Wed, 07 Jul 2021 09:56:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625677008; cv=none; d=google.com; s=arc-20160816; b=jRgfuNXRIeJKv1h2Fi3OqZ6bcqwan9sfvt7feR4uSqibR+HfIPNGQP8zdjlJIgK+SB 0/gNINfc7o+tB6yuvnvi8a4/wI3abs+cI1/W4CmmR+AYb5c5KzDIwa91kU8XvzRHpO+T W2rHmKv2xuOMSW2VPY7fyg226/b24fmErWVtaObjv2m7sWJfX7pZTWeLEFf4foRsnoyh ah79v5Tg1KMllgc9OI7HIGSo6QAEWjIIl2auIQ6CZQ/k5+IKSIt0t92njGmXEo2dtJfj hNM+xa7KcK0iuUzjpmB04LS8BlmkaN9EsKAtWKY/P0J/2HBckdaujD0cmNsP0IS6zcLL fRnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=NU6pxymzIOHVZOQa1GPt0kRKMecnwHyGTXT88ycy8Fw=; b=WQQ900aVB7r3aXJpQwNI+jVG3eTO6zgW6R5yQI34yYZeIWgnlEGCfWfJaOVvWQZnD8 kQkzDgcx5Xc/vD0JLZUPAk0nM1E3nV6ukP4ghtpGY5HWy+PJRIxEe+Ik+Ge7C2jmtc9q gFie7iETZdddMOFE7jyEV9TAv0GomoO1yvoyqZxNz5b6HGad3NHHfgZAbuqObUxIa+LB 1uYW+yQyLaRsDlk+iArniGqBlqybNrNIu/fIboEaUo/XG3HRuiKVtm29e1VMdY7nAIxm C53bvTLon5tFnYVDA8NLTM1zUa0r+pSMTd4e71DTWkmLop5XCcu1OwDIQ++Tr1WYxPgh LS2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b="IVV5T/wj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j23si10187171ejo.365.2021.07.07.09.56.23; Wed, 07 Jul 2021 09:56:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b="IVV5T/wj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230121AbhGGQzy (ORCPT + 99 others); Wed, 7 Jul 2021 12:55:54 -0400 Received: from ms.lwn.net ([45.79.88.28]:49252 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230012AbhGGQzx (ORCPT ); Wed, 7 Jul 2021 12:55:53 -0400 Received: from localhost (unknown [IPv6:2601:281:8300:104d::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 4D8712ED; Wed, 7 Jul 2021 16:53:13 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 4D8712ED DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1625676793; bh=NU6pxymzIOHVZOQa1GPt0kRKMecnwHyGTXT88ycy8Fw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=IVV5T/wj2sN6OZU/jjAolJnJ/isgZDLVxyh1P/BFD9cw8N+HtYk4tFaXvtplvvceO XzI9EyIJV1y1setrZooyvnToG0sjfhimt8nEjEJDgVBeYvmDuTOOhH9PCSIeF/bzEe FXC1v5fXN1sCosYrj9gHVwQnjZ0fbtwevPZQMFxMi2K9Ue7D9ML26latKb6XAaWvVb ZNmRl0wBxhYs43c//t4Cbxl/VFW592QSMQL9ImJMv8g+qacJNVWgTb0xenXnfN3H9+ Dtn7xX4XuO/5aekErT0TxhThT/Hp9YS9a9wqoEfUDD4wYFNR2fdWLiQHc/jCjQ2P6t O9dTsynxFcqzw== From: Jonathan Corbet To: Thomas Gleixner , Nishanth Menon , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, linux-spdx@vger.kernel.org, Rahul T R , Nishanth Menon Subject: Re: [PATCH] scripts/spdxcheck.py: Lets strictly read license files in utf-8 In-Reply-To: <87h7h6qz0w.ffs@nanos.tec.linutronix.de> References: <20210703012128.27946-1-nm@ti.com> <87h7h6qz0w.ffs@nanos.tec.linutronix.de> Date: Wed, 07 Jul 2021 10:53:12 -0600 Message-ID: <87y2aiukuf.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thomas Gleixner writes: > Nishanth, > On Fri, Jul 02 2021 at 20:21, Nishanth Menon wrote: >> Commit bc41a7f36469 ("LICENSES: Add the CC-BY-4.0 license") >> unfortunately introduced LICENSES/dual/CC-BY-4.0 in UTF-8 Unicode text > > Sigh. Why are people adding such things w/o running this script in the > first place. I have a guess on that front ... there is nothing in our documentation that says anybody should run it, and the script itself gives no indication of what it does, when it should be run, or how to run it. That might just reduce uptake a little bit...:) I increasingly believe that anything we add to scripts/ should start with a "usage" header describing why it exists and how to make it do its thing. That would be a welcome addition to spdxcheck.py. Adding something to Documentation/process/license-rules.html would be a nice bonus. Thanks, jon