Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3711241rdh; Thu, 28 Sep 2023 23:13:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE2/6Ka2IZYakfd0fkoTe3zIRA38+diJmzvuPOWvDiHUO37mM1LC8uj55yi9Eo5jFfnVkyu X-Received: by 2002:a05:6a20:4422:b0:14b:8b82:867f with SMTP id ce34-20020a056a20442200b0014b8b82867fmr3896225pzb.50.1695968038628; Thu, 28 Sep 2023 23:13:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695968038; cv=none; d=google.com; s=arc-20160816; b=leVGpJNPVGUoaG/4HwnNCYFp+Y2rjO8MsCfZTEEfd6ifhjlyTDQN3EpqA0BuViebGV 8oJeowh/4KiJPlEX5SMGcJhyChd8RVE4gu7N8mjDpGn35b0lQja/Ba0p1U7PqlxOiCMt oZ4+QSLkicsAhIv+X/HdjCNy26m+bqZnvCWaylq8Npr7XandTICaMx5ii2UiNWWAWFWS Gd4dfbS2q+gXQw3Oh9MqvmoqvskV4Y0IuciD26647VpHC/251yrh38dsyBxy2C9R//Rl mxb5LpjTQOPfaMvxpAV5hUD2TOceSE3cm/pMio/tc6nimKQe7ygPXHeyT3UeUF1L9C0A DKuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=R94+FuQqsaH0naS+S/05gaVsqGwPVCr20di+DpmfQaw=; fh=aLztk6uDbR2VOKtVVlKW7lSdi5HsmUIgAIsgU6K5hsw=; b=SPMlZY5MedR0cUoi0ZFK8DoM6kgHa/u9QTaWg+86/LUnBDL7Hin+RRjarUZtHvQE1T RJr+7yeOTRZPm/i2qDoXzIHg6F0XWOA6MIrdkzXEtF1C1zA3/yPsxggHEOr1HgigMjcb /y30JsyN3lVZnOUd5203dx7NxRnONFAOsCcolD4LHr9hBzlI+tAXhdWWXZknqxdiijfZ 6KuRtQJFFS+HvbFBd1gxMZRfHGuEp3xUiNGt5RW28KZcL2LWjbz0Euqfe21WgSEXhqeg dVQHrvGs+2FRcQzv8bRRLNnXW9BRUja50VPE+Fpq643TjUCiaVNZzU6iK4seCNIW2H+L /9pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=gcy3UWf3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id n49-20020a056a000d7100b0069102c864c5si18736507pfv.218.2023.09.28.23.13.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 23:13:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=gcy3UWf3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id AC33D81F8FF0; Thu, 28 Sep 2023 20:07:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229541AbjI2DHa (ORCPT + 99 others); Thu, 28 Sep 2023 23:07:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229745AbjI2DH3 (ORCPT ); Thu, 28 Sep 2023 23:07:29 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96AC319C for ; Thu, 28 Sep 2023 20:07:26 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-9b0168a9e05so1514825366b.3 for ; Thu, 28 Sep 2023 20:07:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1695956845; x=1696561645; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=R94+FuQqsaH0naS+S/05gaVsqGwPVCr20di+DpmfQaw=; b=gcy3UWf3rbEK/a0rrdgRVd3HgvWG5lzHkzdk6i7NA6vyxaP224bERho2F4SFzK7XQ7 9vbyd7n9tWZ4FVff5mbiyaWD/R2ca1Peg1WtuaTnDukHZeLwve7BpDMUGV4JlGsZgDBd +bFFT9YIDlmUePjzIBkkqFPtyOFlN07/AmoqGU5bFpLhAb3EwitxkZWfeiRnuwtj6njy q/z8QixXn71hG1sKc/5kozrUyzBjdtxaor2T6n3Ph2/6+cniwlCUYjyrYf+tUGQN3sOq +O7rOWkscMGoinX3jDRd2hBdwwlqnbvex8FqeVf4ZoXYTsrXjcu2ab22MwkaleJAPi9s Ry4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695956845; x=1696561645; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R94+FuQqsaH0naS+S/05gaVsqGwPVCr20di+DpmfQaw=; b=l4S3T1uvjV82GJIlpdkLzVCNDGQbrQfWMU4RawjdBa+4fgjM2lNdJBDNJqCe729mcj WMexvaPmVu+kHhgC9Gj4+oAGUwALzSptWCKP/jCnHBXwsUVANobIzwNzQqDO74yKnJnZ VCBnOZhP7EuIrlTlcs0YGQeqT/TYQYX9+zGVZl1+TQajBPqobTeEleVXgGRPcgTw6nCU zmB3b+zwQPVvZJCyB36g0Bucze+zaEG+0CICCMh1VeMwhpErmAoQ4F3VG7Y2+RyBMbzA aG1vCcNwB1IB0uXMbhoYKB9z2FOIvnM8A7LGLyWKQoaplv0NMalrWT2KHvJ45ByPa5sq i/HA== X-Gm-Message-State: AOJu0Ywc67cVgVfqjdk0PYtrPnnebKU7OMorleZqXOUtIrl6sS4ZVFFv 7oj8oT/pUkOki3abASRi9HyGSbggWRZ2msKhUjGN1w== X-Received: by 2002:a17:906:f15:b0:9b2:b85d:cec0 with SMTP id z21-20020a1709060f1500b009b2b85dcec0mr2712301eji.60.1695956844884; Thu, 28 Sep 2023 20:07:24 -0700 (PDT) MIME-Version: 1.0 References: <20230928-get_maintainer_add_d-v2-0-8acb3f394571@google.com> <5707f3bef3ecd8220a8bf7c8b72c72c53e65b666.camel@perches.com> <137a309b313cc8a295f3affc704f0da049f233aa.camel@perches.com> <6691251158ab59ba4090de26012c34788df8f2ed.camel@perches.com> In-Reply-To: <6691251158ab59ba4090de26012c34788df8f2ed.camel@perches.com> From: Justin Stitt Date: Fri, 29 Sep 2023 12:07:13 +0900 Message-ID: Subject: Re: [PATCH v2 0/2] get_maintainer: add patch-only keyword matching To: Joe Perches Cc: Nick Desaulniers , linux-kernel@vger.kernel.org, Kees Cook , Nathan Chancellor , Jakub Kicinski , Krzysztof Kozlowski , geert@linux-m68k.org, gregkh@linuxfoundation.org, workflows@vger.kernel.org, mario.limonciello@amd.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 28 Sep 2023 20:07:38 -0700 (PDT) On Fri, Sep 29, 2023 at 11:50=E2=80=AFAM Joe Perches wrot= e: > > On Fri, 2023-09-29 at 11:07 +0900, Justin Stitt wrote: > > On Fri, Sep 29, 2023 at 12:52=E2=80=AFAM Nick Desaulniers > > wrote: > > > > > > On Wed, Sep 27, 2023 at 11:09=E2=80=AFPM Joe Perches wrote: > > > > > > > > On Thu, 2023-09-28 at 14:31 +0900, Justin Stitt wrote: > > > > > On Thu, Sep 28, 2023 at 2:01=E2=80=AFPM Joe Perches wrote: > > > > > > > > > > > > On Thu, 2023-09-28 at 04:23 +0000, Justin Stitt wrote: > > > > > > > Changes in v2: > > > > > > > - remove formatting pass (thanks Joe) (but seriously the form= atting is > > > > > > > bad, is there opportunity to get a formatting pass in here = at some > > > > > > > point?) > > > > > > > > LG G7 Battery Replacement | Guide | Is it actually a Samsung? I t > > > > > > Why? What is it that makes you believe the formatting is bad? > > > > > > > > > > > > > > > > Investigating further, it looked especially bad in my editor. The= re is > > > > > a mixture of > > > > > tabs and spaces and my vim tabstop is set to 4 for pl files. Sett= ing this to > > > > > 8 is a whole lot better. But I still see some weird spacing > > > > > > > > > > > > > Yes, it's a bit odd indentation. > > > > It's emacs default perl format. > > > > 4 space indent with 8 space tabs, maximal tab fill. > > > > > > > > > > Oh! What?! That's the most surprising convention I've ever heard of > > > (after the GNU C coding style). Yet another thing to hold against > > > perl I guess. :P > > > > > > I have my editor setup to highlight tabs vs spaces via visual cues, s= o > > > that I don't mess up kernel coding style. (`git clang-format HEAD~` > > > after a commit helps). scripts/get_maintainer.pl has some serious > > > inconsistencies to the point where I'm not sure what it should or was > > > meant to be. Now that you mention it, I see it, and it does seem > > > consistent in that regard. > > > > > > Justin, is your formatter configurable to match that convention? > > > Maybe it's still useful, as long as you configure it to stick to the > > > pre-existing convention. > > > > Negative, all the perl formatters I've tried will convert everything to= spaces. > > The best I've seen is perltidy. > > > > https://gist.github.com/JustinStitt/347385921c80a5212c2672075aa769b6 > > emacs with cperl mode works fine. > > I don't know much about vim, but when I open this file in vim > it looks perfectly normal and it's apparently properly syntax > highlighted. > I believe a :set tabstop=3D2 will make it look weird. But really, this whole formatting thing is a non-issue for me personally once I discovered what the problem was. I'm not sure this file attracts nearly enough eyes to warrant an eager formatting attempt as I was previously preaching for. Nick and I using vim with special tab handling are most definitely the exception and for most folks this file probably looks fine.