From nobody Mon Sep 16 18:57:32 2024 Delivered-To: importer2@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=patchew-devel-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1645604808; cv=none; d=zohomail.com; s=zohoarc; b=SLb/0ExQx0DUhtVFlU/MFUS8USzJkXnFKG9QWMnYlbLSalwrQ7AH3/qFdQAmPjqjdC1HTi9ze37oqyTH+XyIORmT3UqB1lLPwzDcPjn+cq0SE55FNfDAFfJArCGoxuM7lJN1N7SusWDJoBRZyB2NK56BJv+XHCbCImHSt4FjUsc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1645604808; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=mc3lidU3+4FCHbsjdI0fTRr5hqQ+dkHkDBWdiNFLJng=; b=kOdtuyk1Ls8LxS2v0CLJ/J1QrIzxd65ZkBPJ4FjspNkKHEnxprFfTz6WwfjPp3DPKhVrPPVV77mNEIyJQW6RT5LyqC2BXh+BM4HE9n25MyL8ipOI6JdzIXg6Hupmc0qYI73/J9oEJBRTVmu7revmUlTLERA/bX3GVIxHEBtfbfg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1645604808686211.1309839459567; Wed, 23 Feb 2022 00:26:48 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-349-xf19b9k-NVquex8mbMmMEg-1; Wed, 23 Feb 2022 03:26:42 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 63F871006AA7; Wed, 23 Feb 2022 08:26:41 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5C8061053B0D; Wed, 23 Feb 2022 08:26:41 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 511081809C98; Wed, 23 Feb 2022 08:26:41 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 21N8QeI8028012 for ; Wed, 23 Feb 2022 03:26:40 -0500 Received: by smtp.corp.redhat.com (Postfix) id 1FA605361EB; Wed, 23 Feb 2022 08:26:40 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast08.extmail.prod.ext.rdu2.redhat.com [10.11.55.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1BB3E5361C4 for ; Wed, 23 Feb 2022 08:26:40 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id F262B3800505 for ; Wed, 23 Feb 2022 08:26:39 +0000 (UTC) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-152-WNnl7fhmO0udPL4M_m8tOQ-1; Wed, 23 Feb 2022 03:26:38 -0500 Received: by mail-ed1-f54.google.com with SMTP id i11so41211178eda.9 for ; Wed, 23 Feb 2022 00:26:37 -0800 (PST) Received: from avogadro.lan ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id s18sm334929eja.87.2022.02.23.00.26.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 00:26:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645604807; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=mc3lidU3+4FCHbsjdI0fTRr5hqQ+dkHkDBWdiNFLJng=; b=XQX3YFYZdIu1NVcDqKSUR0eAzuRyoigrCjUKtpQnG3TOdg49kYTnueXcQ9ExpfG1dhbgLA O1T0Mbat0HAV/WWFvvD/WCPN2bvYVYd/ToB851gyNxalNRsJfXDhrnKzgoHcNEEBk7mm/i wgZcnnZVbFIFNinWAa38Is055df6NeQ= X-MC-Unique: xf19b9k-NVquex8mbMmMEg-1 X-MC-Unique: WNnl7fhmO0udPL4M_m8tOQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=s8BjNI+uImTyLXRfnmpTBny3MyT/d4PuOKluEBysoSs=; b=kDNJuF6WQ5GckZxj1ETVUR+1WBvXzIS1Z5sRi3MrwWM5WAxMpnrQhO8oO9Nby5r7Rf 6XafzxtfK0ZSj2L9LXZvxAQUxfY8cgLebUdq370a6in/PaBMRRkVVR75NWSH1n1IWFFF /pL4EOCvTqJYgz3j+ScnRwUeUSsQOV43Ytd4qx5TdgPano50LP38THR6kPb1j6CExyib vOqjdgrANrWuGEGuzJWzIstnO8N/WVCVbYklOvXo8Y3iV+jGOf63Ee3CcQGSZIFw9ZN6 NYXX3+n4rnz3SjPK5ELt1VlEpX9A+TITCXVNjk5hNDdoveSlkjfbhUEofIqmVMeAaqU7 qAOg== X-Gm-Message-State: AOAM531Nt7kbT7+wjdIE7TD9SuAj0Mx4QYie7kH5K4BQB+0bt1F0kH50 D/+KAZ1oIC4OHK77HmxTpOGdIvGIPGM= X-Google-Smtp-Source: ABdhPJzmLLUWn0uzFB+ZYZ8G/BdA+OqoocSLsqwq4rvch5TkRItOJLhltrkbVXP10Mufn0yMdivOkQ== X-Received: by 2002:a50:e08c:0:b0:407:cdc6:809e with SMTP id f12-20020a50e08c000000b00407cdc6809emr29864506edl.162.1645604796862; Wed, 23 Feb 2022 00:26:36 -0800 (PST) From: Paolo Bonzini To: patchew-devel@redhat.com Date: Wed, 23 Feb 2022 09:26:29 +0100 Message-Id: <20220223082631.228937-5-pbonzini@redhat.com> In-Reply-To: <20220223082631.228937-1-pbonzini@redhat.com> References: <20220223082631.228937-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 X-loop: patchew-devel@redhat.com Subject: [Patchew-devel] [PATCH 4/6] maintainer: add to watch list even if no applier is present for a project X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: patchew-devel-bounces@redhat.com Errors-To: patchew-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=patchew-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1645604809185100011 Content-Type: text/plain; charset="utf-8" Signed-off-by: Paolo Bonzini --- mods/maintainer.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mods/maintainer.py b/mods/maintainer.py index 3e4ee09..c246d8a 100644 --- a/mods/maintainer.py +++ b/mods/maintainer.py @@ -30,6 +30,7 @@ class MaintainerModule(PatchewModule): register_handler("ResultUpdate", self.on_result_update) register_handler("MessageQueued", self.on_queue_change) register_handler("MessageDropped", self.on_queue_change) + register_handler("SeriesComplete", self.on_series_complete) register_handler("SeriesMerged", self.on_series_merged) register_handler("SeriesReviewed", self.on_series_reviewed) declare_event( @@ -86,6 +87,9 @@ class MaintainerModule(PatchewModule): # maintainers so redo the watched queue self._update_watch_queue(obj) =20 + def on_series_complete(self, evt, project, series): + self._update_watch_queue(series) + def on_series_reviewed(self, evt, series): # Handle changes to "is:reviewed" self._update_watch_queue(series) --=20 2.34.1 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://listman.redhat.com/mailman/listinfo/patchew-devel