Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3645173rdh; Thu, 28 Sep 2023 19:50:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFuyzEUsPxU82TQT/cxdQC2XRwxAf96NwRZpTdD0eifDAFjQkGXQoW74QSNSZJ1G33aRuBT X-Received: by 2002:a05:6e02:1203:b0:34f:2b29:762b with SMTP id a3-20020a056e02120300b0034f2b29762bmr2886890ilq.14.1695955851415; Thu, 28 Sep 2023 19:50:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695955851; cv=none; d=google.com; s=arc-20160816; b=OrAXyUBdKxs5mCUKDbVq7hEsafznvDyWMGsd8YDBXHaJkfHaTibW2K0fEHEc8VxGeX lZhUwI77CMih3+x03bPleJ98GJv1dmbgE3OYVokbN1mtkQr56bSj5gQbSzVIHhhdAIYm iQ2ij+IVtKrAJrEkSmVT24wsZbtIy3KuNYfCXVEc4jlkP5NOXi+YSEHO1u61izSLED/C uSqxbxI16jAmDlAAg+Wgss3uZ4Dcp0ytRzla/e8316KswkECclnqKZU8ImUkcQm/nLMN mdbay35vQtnU+LiNEJDX5hAosYESa3W5X7Oxtp+8BxIxfDijzaDfKP7H+entPaK/M7zF o9sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=d3sNFl1q4TnXN93DZGtSjw0M4A2Alg464+4P/38kgww=; fh=IanqIrCWvYuP+phCj2evEPcjQ0xeM3UuX5HxCCUXAqM=; b=HdtJwqGXHPoVvTbX83yRj7a31TRvT8xU7EGi8k1ho329f80aQYXL50oN5cnYQtL0cX m/wI+RFew/6Mposk0fdrS9DVMXC6tNKzXtJVDbQp6hmD00XDuC4rjYWQq1+F7bwrPF7H ahuK4cEZk93zAV2VMGS4RX7L0MIssAqXhAJtt2Nj/qgJ4kYbBxZKOAZ3bWneRXgFlfgH IjBRObJz+C/QpgJ3d0DxPVc8TCKF8S2kiZk2fi7WEkvFa99122DVMGMtOS86ZVNEA4dT qYKNEGp98J9AAWIVZiNjagmRPn8ax3VVg4ibPgI+FWzO2FqKUGs2KOxpCA8lhClsIxjw d79A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id u128-20020a637986000000b005774cf04028si1149677pgc.764.2023.09.28.19.50.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 19:50:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 5F78688D5176; Thu, 28 Sep 2023 19:50:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231576AbjI2Cum convert rfc822-to-8bit (ORCPT + 99 others); Thu, 28 Sep 2023 22:50:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbjI2Cul (ORCPT ); Thu, 28 Sep 2023 22:50:41 -0400 Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21B5A199; Thu, 28 Sep 2023 19:50:39 -0700 (PDT) Received: from omf08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 700051610EE; Fri, 29 Sep 2023 02:50:37 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf08.hostedemail.com (Postfix) with ESMTPA id A544A20027; Fri, 29 Sep 2023 02:50:34 +0000 (UTC) Message-ID: <6691251158ab59ba4090de26012c34788df8f2ed.camel@perches.com> Subject: Re: [PATCH v2 0/2] get_maintainer: add patch-only keyword matching From: Joe Perches To: Justin Stitt , Nick Desaulniers Cc: 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 Date: Thu, 28 Sep 2023 19:50:33 -0700 In-Reply-To: References: <20230928-get_maintainer_add_d-v2-0-8acb3f394571@google.com> <5707f3bef3ecd8220a8bf7c8b72c72c53e65b666.camel@perches.com> <137a309b313cc8a295f3affc704f0da049f233aa.camel@perches.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-Rspamd-Queue-Id: A544A20027 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Stat-Signature: 5xixkbu59k9o8g7sqycinttjxqw69de6 X-Rspamd-Server: rspamout08 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX18SMS8seIrSvtwoS3n4bmBAsLDqJtnCq64= X-HE-Tag: 1695955834-846205 X-HE-Meta: U2FsdGVkX18yDD9OHLgsbFvLnLfxCEVZlzJH7frzznTv2PLAc9oPZBsnOZMoVzeqJ6GrO9u0urcGMWlpUJOsNV8cHdPcO9Rlby8zWFvaHRENI/QC06GW1s6hiL29LgEQ24lNFom3TTRM+Ae3luf2W4A0fCuh0mL+OaCVPIFY/euP99U5NEDeaWIo7FNcdzswBG1HkKPrOHXQxe5xYEAyxxWCziTXXh1dblXiZXeEG5SNV6VvETd2NrhNzvnC5GE9v7K5HFYyhmAQBasTzehGvpdEDCObr+joSmG2gjZ3QgyKPgKvDTi09i/a34rb/08cIlXU2jQ4GNLj+CV2KIMs7DwWGLe0J6PRLD8fV19JkAL9x3TXQ5AqR4mING2bBAmIBPGpv5R6H6J963fU3CXO5a8dkrIUZMPkXkDgCUX6ZrU= 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 28 Sep 2023 19:50:50 -0700 (PDT) On Fri, 2023-09-29 at 11:07 +0900, Justin Stitt wrote: > On Fri, Sep 29, 2023 at 12:52 AM Nick Desaulniers > wrote: > > > > On Wed, Sep 27, 2023 at 11:09 PM Joe Perches wrote: > > > > > > On Thu, 2023-09-28 at 14:31 +0900, Justin Stitt wrote: > > > > On Thu, Sep 28, 2023 at 2:01 PM 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 formatting 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. There is > > > > a mixture of > > > > tabs and spaces and my vim tabstop is set to 4 for pl files. Setting 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, so > > 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.