Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2747058rdh; Wed, 27 Sep 2023 11:21:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFn/TVIYPlbjZZW1N8A9x/1Qk/Emx41SDBu9zKwn0Ca+hPAediF8tCXi734tvKdF/V7ONf+ X-Received: by 2002:a05:6a00:c96:b0:692:7527:c2d0 with SMTP id a22-20020a056a000c9600b006927527c2d0mr3547438pfv.32.1695838909772; Wed, 27 Sep 2023 11:21:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695838909; cv=none; d=google.com; s=arc-20160816; b=Za8UJiWzv3okPswKgrv7q86ultCN2g3ZDQqsfk0zDcrQuhZcIEJV191cbIGC9J18+B ssmKBxpmWbq8/k4QHw3zFXqAugr4X8nGIq+Ru6y2eMFV5PXM0idDZ7termCEkd9evAjF BlXEMLeMvNRiPkI4C+tVCo2eDO0K9knDkM9IqV4QnEtUaQ2q1iEu9y0eHF0sWy2sxPxn 2xzJX+5/dbLO9MbjsrNPJcdmF6/ZGbmFQWlrs14NajUsLMRbCQ1eZE1vMeu8ssKBIfwo ro3+G6zPz5R7pGZtXaICGxQ+RLEn3tjnpkkWyfMAjE5vyS9kc0kXOq5NpyJ7ijBKpZ32 cTlQ== 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=5nq0AynO1Yzw1bZ8ZiP7ugYjLWSQDb+tbYguvApLxfI=; fh=VCMHKYjzmgl9usEyHhO55zjIt6QdklUrwU0UuuIMByg=; b=lY4J0WD++3VR+vrplfM7Kk2a9g4/rj3s9nYFuko3ydYLqX0wMofexvvFQODbLEzJDX UUwbvDUspnaanz2Ri6w9ZoWYr3FCNcb3J2lhS4LMvF0HvTbWpdwdvnhsGYpm0eWUEtQI IGkMhhGwQDkZN89xhvV1ZN4VjqNRVBIeUWUeluzGSH/kYNNXlMAtc3dnojSRQ7CFVgP2 ahwb8IXrOKPS6W+1dnc0mGpZmZGrCFgBSJUIR37eqhN3eTPW6/bf7kPl/JMkfi90BVqJ h2jjACRbPSPexjV10jLMK62klwzB7l77YnI//Rl+FFwC6pnFRZNtpfIaVBmOFfUItJqC q0/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=vPEUx6Jk; 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 v3-20020a655c43000000b0056ad01ddc36si16172565pgr.509.2023.09.27.11.21.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 11:21:49 -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=vPEUx6Jk; 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 1737481D0B5A; Wed, 27 Sep 2023 08:25:30 -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 S232433AbjI0PZR (ORCPT + 99 others); Wed, 27 Sep 2023 11:25:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232350AbjI0PZP (ORCPT ); Wed, 27 Sep 2023 11:25:15 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62DF6136 for ; Wed, 27 Sep 2023 08:25:13 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40572aeb6d0so79402835e9.1 for ; Wed, 27 Sep 2023 08:25:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1695828312; x=1696433112; 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=5nq0AynO1Yzw1bZ8ZiP7ugYjLWSQDb+tbYguvApLxfI=; b=vPEUx6JkC1BUOH/hFn1moimymhyBE64EZJ9WGatvs2YCEMbIP9dIZtUxyqrFFwpQCK 0BhAPKxehEkwOUFTAJC3xAdTYdZwb992ZhZXBg5amC4HcS8YQQAetpHudWwLbSIZArT1 YR65XrHQmj8DPWls18/PQ9lr9JgZY74qLYRLlv2dVrsvMRBHqGu5fKlNeWuWqnk65C2W TeqfLUoXGWeyIIcj/boLVaO7U0e86qKBSuTzA1XJOaCcpeoLILZysQ1iXxy/5AAgg1A3 Rk5S8jsrKT+9vQAGve2o9oEunGRfWOgPm0JW7KIX8RcEx/+gF2etSBfJXbGB7yX0ZIGb 0wwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695828312; x=1696433112; 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=5nq0AynO1Yzw1bZ8ZiP7ugYjLWSQDb+tbYguvApLxfI=; b=EbWdq28hEOA01xoKK4nyDZRren/BPyJv3sI2TBg+h/uaHtp8O0usu83K741wh+Z42f QtJWFQvk2N8nW78/fujr62XdhncRP9obelu+bv/MdewJUK03OG1fWQHCRFUR7mGmbZz3 5uwIiEuYZ2tVa/Lw8kJRKaGLSsuslWe9eUtJCZTkbdGYpzbU0pHF4flVCznxATk/h3lb AIuWdcYKz4jskSSVnClhOUWmo6gVxCvSe6TuhobCgHKIMBnwYj2kHrkqu+AkS5eonXHZ Hba+sTCL1Rc/vG+iRnLWzgnS9+1B9mhugFK2zKZsl/cgakqjvFdWm7sVzvtUsZpyGh2p R70g== X-Gm-Message-State: AOJu0YzUxfFMSFUefRZq6vaoO5Pdeieknwas+Mw71cfbAWRm9gYx+AsS J86VrhauJBPEmLp6LRJQZvVEKsIGns/suh/6SCQCL5QhTVLXm4XtaXQ= X-Received: by 2002:a5d:5704:0:b0:31f:e759:d687 with SMTP id a4-20020a5d5704000000b0031fe759d687mr1995001wrv.50.1695828311576; Wed, 27 Sep 2023 08:25:11 -0700 (PDT) MIME-Version: 1.0 References: <20230927-get_maintainer_add_d-v1-0-28c207229e72@google.com> In-Reply-To: <20230927-get_maintainer_add_d-v1-0-28c207229e72@google.com> From: Nick Desaulniers Date: Wed, 27 Sep 2023 08:24:58 -0700 Message-ID: Subject: Re: [PATCH 0/3] get_maintainer: add patch-only keyword matching To: Justin Stitt Cc: Joe Perches , 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]); Wed, 27 Sep 2023 08:25:30 -0700 (PDT) On Tue, Sep 26, 2023 at 8:19=E2=80=AFPM Justin Stitt wrote: > > This series aims to add "D:" which behaves exactly the same as "K:" but > works only on patch files. > > The goal of this is to reduce noise when folks use get_maintainer on > tree files as opposed to patches. This use case should be steered away > from [1] but "D:" should help maintainers reduce noise in their inboxes > regardless, especially when matching omnipresent keywords like [2]. In > the event of [2] Kees would be to/cc'd from folks running get_maintainer > on _any_ file containing "__counted_by". The number of these files is > rising and I fear for his inbox as his goal, as I understand it, is to > simply monitor the introduction of new __counted_by annotations to > ensure accurate semantics. Something like this (whether this series or a different approach) would be helpful to me as well; we use K: to get cc'ed on patches mentioning clang or llvm, but our ML also then ends up getting cc'ed on every follow up patch to most files. This is causing excessive posts on our ML. As a result, it's a struggle to get folks to cc themselves to the ML, which puts the code review burden on fewer people. Whether it's a new D: or refinement to the behavior of K:, I applaud the effort. Hopefully we can find an approach that works for everyone. And may God have mercy on your soul for having to touch that much perl. :-P > > See [3/3] for an illustrative example. > > This series also includes a formatting pass over get_maintainer because > I personally found it difficult to parse with the human eye. > > [1]: https://lore.kernel.org/all/20230726151515.1650519-1-kuba@kernel.org= / > [2]: https://lore.kernel.org/all/20230925172037.work.853-kees@kernel.org/ > > Signed-off-by: Justin Stitt > --- > Justin Stitt (3): > MAINTAINERS: add documentation for D: > get_maintainer: run perltidy > get_maintainer: add patch-only pattern matching type > > MAINTAINERS | 3 + > scripts/get_maintainer.pl | 3334 +++++++++++++++++++++++----------------= ------ > 2 files changed, 1718 insertions(+), 1619 deletions(-) > --- > base-commit: 6465e260f48790807eef06b583b38ca9789b6072 > change-id: 20230926-get_maintainer_add_d-07424a814e72 > > Best regards, > -- > Justin Stitt > --=20 Thanks, ~Nick Desaulniers