Received: by 2002:ac8:156:0:b0:3e0:cd10:60c8 with SMTP id f22csp2297027qtg; Mon, 3 Apr 2023 14:49:34 -0700 (PDT) X-Google-Smtp-Source: AKy350bgbqfHJJ4JMcZaPiJ95LlrrF26LmzCoIVmQosVBgmyXMDmNLKg2rXtQp0ld9IIZsZcbfar X-Received: by 2002:a17:906:8a4e:b0:8b2:8876:6a3c with SMTP id gx14-20020a1709068a4e00b008b288766a3cmr130169ejc.29.1680558573967; Mon, 03 Apr 2023 14:49:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680558573; cv=none; d=google.com; s=arc-20160816; b=zV72k9CG27cN6XixQafIVyu4JbFYoQ9hCGbDq53Vkt7wkAhqEGRs0VrTQ+mss8Af4a O92HgpPLud1ZyqPY3eOyxyirqOpMOL1tle+AGr7mF2QkUFIPRmZe2B0v91/PjXUNFL3f k+izSGT9pxYoioSuXdwc0Q/oFQD8tp5JC9B5mjEpuXZhUfC4n3T2S1dw/wnX/fg93vO8 s4M/za7PeA0P/V/NTp7MWA2GgdX6rWILc4/2F9cFOM1H5SDARrREZwuSY+wblKYZ0bq6 7OmXmCV7pG7++LpubdX7kC7pLuxZ49z1NFEI/9EhjgNhAxbLHfufi7CMtQoCtt7lHFs/ YZRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=YCsAikI9LZN3foJtntGxnCVRz6J2brUlKcWcL1/aA0E=; b=R9VzWKqQLnpLVjmzjmYc1UXA4v+VOaWo62O7pOzmBqjlKkOM8qUXbTHtp/Zu95QTPk MALt/Fk/OszDNfRWQuSi4zm2NGHhJczWfAvZ5htNMFd5lmrYfIaJSD5O/VtKgwRg14d7 gNoRs2pS2adfCOl3XTLputfNyQ3xfT9Ly7qPfrX3ZERtcg9ofOejQDrFqS47NJLsK8WO XJlO3e7yFhIkRT9qduFHLzqR84+Z4w7/weCKcf8Fhig+DYYmzMyAQAaYyBavospwxS7T Li+y5Isxi0IJq3NFw18Ku63F9+b5OnoRV5KkPAQq+JG70ioT4QKWqsO77OMCL+hKcBp1 qcsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=U3OwkOis; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a9-20020a50ff09000000b004acbb9ce157si6392687edu.237.2023.04.03.14.49.09; Mon, 03 Apr 2023 14:49:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=U3OwkOis; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233567AbjDCVqI (ORCPT + 99 others); Mon, 3 Apr 2023 17:46:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233594AbjDCVqF (ORCPT ); Mon, 3 Apr 2023 17:46:05 -0400 Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47C6546B2 for ; Mon, 3 Apr 2023 14:45:39 -0700 (PDT) Received: by mail-qv1-xf30.google.com with SMTP id cu4so22254411qvb.3 for ; Mon, 03 Apr 2023 14:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1680558333; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=YCsAikI9LZN3foJtntGxnCVRz6J2brUlKcWcL1/aA0E=; b=U3OwkOish1dUXz1/0nN/pqNe9IvbewleTdajk5gdO7W8up/hDRnO26L0vo2Drat+lk YjYX4aBHnUxfkYJEDwLBjD+++krqp50RTekLabUq98RLx9Tj0giOLkpUhBItz0rOtHHI KIWde7oPfYnsNITIYtKQKkL3IYaVXWEn2py9w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680558333; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YCsAikI9LZN3foJtntGxnCVRz6J2brUlKcWcL1/aA0E=; b=EE236qe82AxjrKvBP3DLlmPCrQW/gBRiWOK0kGWKkhscB/itWCCl/R5cBXiLwFGluj xGI1hUjIKvNn1/d7GfBt2PfHpYipsoITGQBk4IOmiLxCEOMaVgwoV3Rg7ZQCJXX/6pf5 9AdYr+BzFSEz4uzQOHc3JzyVQM6UQAALMBvQzYgd0i73do57wsg5iqG0reD4FPvdwUxu GM7kS99xSx+u+8M7ZrUw8kS3QUd1oJ536S3zGxTLTuFB61XdKbh9EKrLXxlS7FMJDwh9 IFcHfWDjQaoeujEy9tyn/MK2a6BlpCRUVr7M3GhDzFhCbdodZxpy+Qt42obpgqN+t5lz Xybg== X-Gm-Message-State: AAQBX9cTVfwE65DoMqzPq0DINm8BGT24CiuKLdt4HoxHXA+fZh6791WO qX3QSJxgp3ISbgObMhvFxWvhfg== X-Received: by 2002:a05:6214:2a88:b0:5d9:a36d:3ed2 with SMTP id jr8-20020a0562142a8800b005d9a36d3ed2mr254132qvb.45.1680558333093; Mon, 03 Apr 2023 14:45:33 -0700 (PDT) Received: from nitro.local (bras-base-mtrlpq5031w-grc-30-209-226-106-7.dsl.bell.ca. [209.226.106.7]) by smtp.gmail.com with ESMTPSA id 73-20020a37074c000000b0074672975d5csm3109229qkh.91.2023.04.03.14.45.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 14:45:32 -0700 (PDT) Date: Mon, 3 Apr 2023 17:45:31 -0400 From: Konstantin Ryabitsev To: workflows@vger.kernel.org, aros@gmx.com, linux-kernel@vger.kernel.org, regressions@lists.linux.dev, tools@linux.kernel.org, linux@leemhuis.info Subject: Introducing bugbot Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 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 Hi, all: Per our discussion last fall, I've been working on a bridge between bugzilla and public-inbox, which went live in the past few days. It's still a very early release, but it can do the following: 1. Create bugs from mailing list discussions, with full history. For example, it is sufficient for someone [1] to say "bugbot on" in a mailing list discussion to request bugbot to convert that thread into a new bug. It will then continue checking that thread for new messages, creating new comments for any added communication. This works both ways -- any comments added on bugzilla will be sent as follow-up messages to the original recipients. New bugs will be created in the Linux/Kernel component of Bugzilla, but they can then be reassigned to any other component. As long as they remain open, bugbot will continue tracking threads for new messages until either the bug is closed, or it has been over 30 days since any activity on the bug. [1] At this time, the From address of the person saying "bugbot on" has to have an account on bugzilla and be part of the "editbugs" group. Here's me using it to turn a thread into a bug: https://lore.kernel.org/lkml/CAJfuBxwomDagbdNP-Q6WvzcWsNY0Z2Lu2Yy5aZQ1d9W7Ka1_NQ@mail.gmail.com/ 2. Start mailing list threads from pre-triaged bugzilla bugs. This works the opposite way and creates mailing list threads based on bug reports filed in bugzilla. The useful things here are: - bugbot only gets triggered on open bugs in Linux/Kernel that have the "bugbot" flag set to "+", which allows pre-triaging a bug before bugbot sends it to the mailing list - there is a special "cf_subsystem" field added to that component; bugbot will match it verbatim to the MAINTAINERS file components and will send mail to the M: and L: addresses for that subsystem - bugbot will then monitor for any updates to that thread, so any mailing list replies will be added as comments to the bug (thus sending a bugzilla mail notification to the initial author) - if the cf_subsystem is incorrect, it can be changed to a different subsystem at any time, triggering a different set of recipients on the next update - any files added in bugzilla will trigger notification sent to the list (but won't attach the actual files, so they don't clog everyone's mailbox or list archives) Artem, I'm not sure if you're still active with bugzilla.kernel.org, but I believe the cf_subsystem functionality is pretty much what you wanted so it was possible to bring bugs to the attention of actual subsystem maintainers. Here is a bug that was turned into a mailing list thread via cf_subsystem: https://bugzilla.kernel.org/show_bug.cgi?id=217293 Like I said, bugbot is very young and probably full of bugs, so it will still see a lot of change and will likely explode a couple of times. The code behind it is here, woefully lacking any documentation as yet: https://git.kernel.org/pub/scm/utils/peebz/peebz.git/ At this time, I invite anyone with an account on bugzilla and "editbugs" group membership can start using bugbot in either direction and to report any bugs you find to the tools list. Next features on my todo list are: - documentation - tracking repositories and recording when bugs are mentioned in commits - whatever other feedback I receive Best regards, Konstantin