Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3031456ybe; Sun, 8 Sep 2019 05:49:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzf3ac3MLBlIekvFkdq5vwy4zgFuzUtCJp29nryqPxc7dP3dROKHrtEupteS38fKW1SzMEa X-Received: by 2002:aa7:d95a:: with SMTP id l26mr19208300eds.297.1567946947400; Sun, 08 Sep 2019 05:49:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567946947; cv=none; d=google.com; s=arc-20160816; b=FkGxn7pP3gZIq893c+7AH5bAzBkwxlu0d6oGGAMieM5TfH7aYyNl/0coVcmAI2chYF 6KDns7YSbcBuPej4ESBy/1hGah8FJTwZyINXFBHiCVRVuBjxMzFEbaIsf3sEmIi83KAR vjEAhvUAiJTmtbKfm47pm5hDnmFQNa/71tW7IKeDqnaCh8H5m4K+Lkd4p1YdgQtowCe5 aSBzChFkxhXkV99qKfYUbBNFG6F1jKrAHGXcXv1jR/jjJPhySAokM3kp1LqdfM+2NgM7 +rko1fLDhOo2NQcjQdUgatbxmgduY7FKXLpFauCZBCqGEYwTAUZPJ5gH68tf11WQ3n1N Wnwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=5U0mG3VAwYxjewX0cmtMj589fN7keMPhdxED0hqc8Aw=; b=KExvj2AfA2C6DqxxdWPs/Tt4gAoi4kEN8XYGZN+FVna+wAT4rWLscp0YH2XQ2emxlg W/uL56wNBjSMn9AI89/Ojxab//1KZQtnmydEfcmQmeiJVsvHADXWuCmo3ZiSHZaMWfKJ yTqdo27VbDQkxCnJ3r1N4fOm/61z05rXBDRuBWUrB+vs3pzpb7vDcUQnULKbQgiuiV/H TLqAKP2+H/SsbvoLKUE/n4M7Jkts+CDKlESDYVW2YQbjzHJhaweQGVtLwRC2SIAh7SYh kP8d1BlHuhTDto5gXptXo6tFDcAeBbWUMwSnkCFJsBL3VGiYUoR5aPStzCYzXGN9Dshk dyvQ== 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 c22si5792015ejr.377.2019.09.08.05.48.44; Sun, 08 Sep 2019 05:49:07 -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 S2394613AbfIGOgq (ORCPT + 99 others); Sat, 7 Sep 2019 10:36:46 -0400 Received: from smtp1.goneo.de ([85.220.129.30]:42288 "EHLO smtp1.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388202AbfIGOgp (ORCPT ); Sat, 7 Sep 2019 10:36:45 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp1.goneo.de (Postfix) with ESMTP id 1845123F3DE; Sat, 7 Sep 2019 16:36:41 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -2.877 X-Spam-Level: X-Spam-Status: No, score=-2.877 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=0.023, BAYES_00=-1.9] autolearn=ham Received: from smtp1.goneo.de ([127.0.0.1]) by localhost (smtp1.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b-iajWqFRVuP; Sat, 7 Sep 2019 16:36:39 +0200 (CEST) Received: from [192.168.1.127] (dyndsl-178-142-129-167.ewe-ip-backbone.de [178.142.129.167]) by smtp1.goneo.de (Postfix) with ESMTPSA id 3B3ED23F6E3; Sat, 7 Sep 2019 16:36:37 +0200 (CEST) Subject: Re: [PATCH 0/6] Address issues with SPDX requirements and PEP-263 To: Jonathan Corbet , Mauro Carvalho Chehab Cc: Linux Media Mailing List , Mauro Carvalho Chehab , Greg Kroah-Hartman , Joe Perches , linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Sven Eckelmann , Ingo Molnar , Thomas Gleixner , Doug Smythies , =?UTF-8?Q?Aur=c3=a9lien_Cedeyn?= , Vincenzo Frascino , linux-doc@vger.kernel.org, "Rafael J. Wysocki" , Andrew Morton , Thierry Reding , Armijn Hemel , Jiri Olsa , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Namhyung Kim , Peter Zijlstra , Federico Vaga , Allison Randal , Alexander Shishkin References: <20190907073419.6a88e318@lwn.net> From: Markus Heiser Message-ID: Date: Sat, 7 Sep 2019 16:36:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190907073419.6a88e318@lwn.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 07.09.19 um 15:34 schrieb Jonathan Corbet: > On Thu, 5 Sep 2019 16:57:47 -0300 > Mauro Carvalho Chehab wrote: > >> The description at Documentation/process/license-rules.rst is very strict >> with regards to the position where the SPDX tags should be. >> >> In the past several developers and maintainers interpreted it on a >> more permissive way, placing the SPDX header between lines 1 to 15, >> with are the ones which the scripts/spdxcheck.py script verifies. >> >> However, recently, devs are becoming more strict about such >> requirement and want it to strictly follow the rule, with states that >> the SPDX rule should be at the first line ever on most files, and >> at the second line for scripts. >> >> Well, for Python script, such requirement causes violation to PEP-263, >> making regressions on scripts that contain encoding lines, as PEP-263 >> also states about the same. >> >> This series addresses it. > > So I really don't want to be overly difficult here, but I would like to > approach this from yet another angle... > >> Patches 1 to 3 fix some Python scripts that violates PEP-263; > > I just checked all of those scripts, and they are all just plain ASCII. > So it really doesn't matter whether the environment defaults to UTF-8 or > ASCII here. So, in other words, we really shouldn't need to define the > encoding at all. > Thats what I mean [1] .. lets patch the description in the license-rules.rst:: - first line for the OS (shebang) - second line for environment (python-encoding, editor-mode, ...) - third and more lines for application (SPDX use) .. [1] https://www.mail-archive.com/linux-doc@vger.kernel.org/msg33240.html -- Markus -- > This suggests to me that we're adding a bunch of complications that we > don't necessarily need. What am I missing here? > > Educate me properly and I'll not try to stand in the way of all this... > > Thanks, > > jon >