From patchwork Thu Sep 28 04:23:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Stitt X-Patchwork-Id: 14632 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3126784vqu; Thu, 28 Sep 2023 00:14:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEB4b/YRl575l9UtZKqifqxah7OuQkEDvTWBWthR7DFwwmoGqYGlfoohliPtwXvl9LYqGBB X-Received: by 2002:a17:903:184:b0:1c5:e207:836e with SMTP id z4-20020a170903018400b001c5e207836emr522105plg.26.1695885274538; Thu, 28 Sep 2023 00:14:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695885274; cv=none; d=google.com; s=arc-20160816; b=ngwXnH27zmdGSB3V5yjZzEeZ02huGlbkhjgDRALOKDAIWSU3uhz5M0xgcwPr2UnnBR ZxDJ65PxeqTZLBDuHpvSmOSaFdSLEDn/P00ThJDQAxB/SssxckYfqMt/V5vYlpTeErVc rCts9OHkLnmuzTNbdAsUvmUkWXBmaTt/B7ZSfWQCMdPYnP1IKQTRjOY5WbQaEnxPFloi Frr+S8DmvDo1Ers3oKqr0Eg6SRWYSeHhHroQYvv80oHNgKJpWzXUeQPlgwSNvEGytwS3 w41pwHTKvBO2PdE9LHzfrAG9bagu4JmHi5SRl9QD2L9PtRH499RUu6J/oazCB1XESOxp ukSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:mime-version:date :dkim-signature; bh=I9BwMViTX8cfyxhxmLOd2Ac11XDedzRf29xVDKRKMs8=; fh=+nCTt54Nhk0ybOqE59EhWkLgCBS9Lm838M9BUp5KS3k=; b=cz2x56gPOpQRf83oFKyE6hmb1l8cI+7ffSgWiyA/NhDSoLPQZVlTFHMzxqopYM+uwr wgMdlUSDQc69YAC2jI0DqzY0IybIqbu6jO2CnViRA+lwcWiXiIzZnVuK3afM7KW0vOjo ng6rQHXJefZT9r4li3A3ekp1kdWxdyuuJnrWuLEDKUdkSCSEyGydJHedJEiTom1NznUb BhgXdw+hGiFm9hEAFlzwV8Lp1Cs6JSY5V0MZORFDiE1EyNG4XAJrYiTGouhCrLyN/MH/ tIFAs/8pX/GPqVoM3eTmwd4nSgfcBHPgfDDkOpHfCeDzByaBuahwCMFFPNlmQHppsWmt xong== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=WvPCC02P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id b1-20020a170902d50100b001c0cb378f04si7668502plg.335.2023.09.28.00.14.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 00:14:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=WvPCC02P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 531F6832B164; Wed, 27 Sep 2023 21:23:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230108AbjI1EXK (ORCPT + 20 others); Thu, 28 Sep 2023 00:23:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229715AbjI1EXJ (ORCPT ); Thu, 28 Sep 2023 00:23:09 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0BBA114 for ; Wed, 27 Sep 2023 21:23:06 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id 3f1490d57ef6-d814634fe4bso19615722276.1 for ; Wed, 27 Sep 2023 21:23:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1695874986; x=1696479786; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=I9BwMViTX8cfyxhxmLOd2Ac11XDedzRf29xVDKRKMs8=; b=WvPCC02Po+M/wNO7s4F+l/gifobp+kOubbIQXxBCwkD0dLfhxj+26Rf6uqIFabaN4g iKwD9S6pxCvOXSThBTs9bzApyzv9CHTDC93t8aaXtneABhuR+CWlH69wwziYby3nVvTF wxePDNsQ/NlQzQM+RV7HzHABqgORdfrn6dtnz6fc9K1U2m63+smuyFux3APDyYPiBmTh aIqxgGXvsB8oa41Zj+ISHrTOftTdkP6Wdc9eeouod+NKuu7YWqI0LmEih4m09N8nVKdp 19txcR0SRgXO04m2nTgbST9zZoY95eVEiERSEKP29yHJeXGIU3P11k5ZAe2KJH8DT+/n XyBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695874986; x=1696479786; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=I9BwMViTX8cfyxhxmLOd2Ac11XDedzRf29xVDKRKMs8=; b=w6IIGdWDRIwaaok6JWz0bUjcaYkyMVTXoMx9jDB0SlQIn62N9rNtrttglziinWLTtF Va7W1+WGjGLOKQNLjCuWxkZWC1sNk/1eYQkyjC8wyktHMgHHwdNkps+WI2C8FH3huRD4 T8x0YWIGEEaF6c+4V8IBAeJEPGmMGUtELw42Q03ITRU8ae74RNku7Ly/RThubSOvOiAi bvYzbIqstjkG7Txwv/e7oyxC5sXaeiEOBwmC+ZiokbPMiJHQ96qMR2HcJs/7baslmi7f UqLr+sZySEchq07UKltffnp5Xg4L8V5eIQVlxDgvWl6hGvynHZeJCZMMuKlFeLEBlMMp oB8Q== X-Gm-Message-State: AOJu0YyP0sbzEhxOuothx9HuN3EwDBtF8DDy6+O/afZdZcbI4Z0bmdW8 O9xwkvPTtN67kgIgWrg91Fmd/yBfhUVSI1g6Ag== X-Received: from jstitt-linux1.c.googlers.com ([fda3:e722:ac3:cc00:2b:ff92:c0a8:23b5]) (user=justinstitt job=sendgmr) by 2002:a25:fc26:0:b0:d80:1391:1f1 with SMTP id v38-20020a25fc26000000b00d80139101f1mr1476ybd.1.1695874986047; Wed, 27 Sep 2023 21:23:06 -0700 (PDT) Date: Thu, 28 Sep 2023 04:23:04 +0000 Mime-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAKj/FGUC/22NwQrCMBBEf6Xs2Ui6FtN68j+klJCs6YJtJAlBK fl3Y8Gbhzm8gXmzQaTAFOHSbBAoc2S/VsBDA2bWqyPBtjKgxJMc8CwcpWnRvKYaCpO2drJCqg4 73bcdKYQ6fQa682vX3sbKM8fkw3t/ye23/QnVf2FuhRTYG5QKcajWq/PePeho/AJjKeUDDj6BM rkAAAA= X-Developer-Key: i=justinstitt@google.com; a=ed25519; pk=tC3hNkJQTpNX/gLKxTNQKDmiQl6QjBNCGKJINqAdJsE= X-Developer-Signature: v=1; a=ed25519-sha256; t=1695874985; l=1991; i=justinstitt@google.com; s=20230717; h=from:subject:message-id; bh=RL0cLxaMLKz5FSJbcqYyGpT9mQvf/e8HzhwcC6bZRuQ=; b=f8qTBGJkKuArzWwVhoBvcVTfbkZXHZE5J2T1+RXxVYW+pq4zN1gTs0dyX1rAssYngtpTk/odr 4z/a9pgd5myDkB9WYnaT6DcWjK+oWZvDlLMiZP2Mcwsk/0WklmQe515 X-Mailer: b4 0.12.3 Message-ID: <20230928-get_maintainer_add_d-v2-0-8acb3f394571@google.com> Subject: [PATCH v2 0/2] get_maintainer: add patch-only keyword matching From: Justin Stitt To: Joe Perches Cc: linux-kernel@vger.kernel.org, Kees Cook , Nick Desaulniers , Nathan Chancellor , Jakub Kicinski , Krzysztof Kozlowski , geert@linux-m68k.org, gregkh@linuxfoundation.org, workflows@vger.kernel.org, mario.limonciello@amd.com, Justin Stitt 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 groat.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 (groat.vger.email [0.0.0.0]); Wed, 27 Sep 2023 21:23:28 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778256447995713818 X-GMAIL-MSGID: 1778264597278157016 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. "D:" should help maintainers reduce noise in their inboxes, especially when matching omnipresent keywords like [1]. In the event of [1] 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. Joe mentioned in v1 that perhaps K: should be reworked to only consider patch files. I wonder, though, if folks are intentionally using the current behavior of K: and thus would be peeved from a change there. I see this series as, at the very least, a gentle migration in behavior which is purely opt-in and at some point could eagerly be merged with K:. [1]: https://lore.kernel.org/all/20230925172037.work.853-kees@kernel.org/ Signed-off-by: Justin Stitt --- Changes in v2: - remove bits about non-patch usage being bad (thanks Greg, Kees, et al.) - remove formatting pass (thanks Joe) (but seriously the formatting is bad, is there opportunity to get a formatting pass in here at some point?) - add some migration from K to D (thanks Kees, Nick) - Link to v1: https://lore.kernel.org/r/20230927-get_maintainer_add_d-v1-0-28c207229e72@google.com --- Justin Stitt (2): get_maintainer: add patch-only keyword-matching MAINTAINERS: migrate some K to D MAINTAINERS | 21 ++++++++++++++------- scripts/get_maintainer.pl | 12 ++++++++++-- 2 files changed, 24 insertions(+), 9 deletions(-) --- base-commit: 6465e260f48790807eef06b583b38ca9789b6072 change-id: 20230926-get_maintainer_add_d-07424a814e72 Best regards, -- Justin Stitt