From nobody Sun Dec 22 06:03:05 2024 Delivered-To: importer@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=1660310864; cv=none; d=zohomail.com; s=zohoarc; b=V/0AaywC5kubde6n6CrEqhAjLLcy6k9T8rWXnWjnHwJVtG5kMlpSQl18ll2yVf6MHAeZv3AT87X0l2v46JJji6umTjzjCCuE59CGFC507gzrln/Ju/clxalECoiDAPIo1uJxzLAYhGgo8287d+hy788chKV0uQpZTF4UdBuj7R4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1660310864; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=jkVCizltm7pbmW5dHxqMdzFYkHi8d9cKlqR6sSQHCXI=; b=EiT37jCDwC4FOFrnrlzFYgVzEmqZY70h3WkVSA/jdJsDMk149yOyGO3eXHwqX5eV473Ad3XFn+Kw++1+KRPbYs89BDqPKprhvaLB21BIXVeLiteGQR3jiK8R2wGifkMoCJ5vX+rieTUCOFtPzguzehePY1GD+qKQNmr/3gCJn6U= 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 1660310864790984.3031409046948; Fri, 12 Aug 2022 06:27:44 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-629-hYaG1Ss-NiOfLSPOhKIHyw-1; Fri, 12 Aug 2022 09:27:41 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 968E380231E; Fri, 12 Aug 2022 13:27:40 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8F2624067A2A; Fri, 12 Aug 2022 13:27:40 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 3C89E1946A42; Fri, 12 Aug 2022 13:27:40 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 697E41946A41 for ; Fri, 12 Aug 2022 13:27:38 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 3BAFA2026D07; Fri, 12 Aug 2022 13:27:38 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 37C402026D64 for ; Fri, 12 Aug 2022 13:27:38 +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 1BA3185A581 for ; Fri, 12 Aug 2022 13:27:38 +0000 (UTC) Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-472-v3c-6WyxNP6q2wpumibodQ-1; Fri, 12 Aug 2022 09:27:36 -0400 Received: by mail-wr1-f72.google.com with SMTP id d27-20020adfa41b000000b0021ee714785fso138058wra.18 for ; Fri, 12 Aug 2022 06:27:36 -0700 (PDT) Received: from goa-sendmail ([93.56.170.129]) by smtp.gmail.com with ESMTPSA id z14-20020adfd0ce000000b0021d7b41255esm1973101wrh.98.2022.08.12.06.27.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 06:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660310863; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=jkVCizltm7pbmW5dHxqMdzFYkHi8d9cKlqR6sSQHCXI=; b=RScDzHUQu6l7/6C2jjek7KNYjTOzCRi51rWin0wV/LS8IyJ7iG1VZlR9J+vn6ygiliWWVv U/jrZcdYGRrwR2WTMYp/4RFflXZoS+iFXO93b0k6SpDLNYU4du1eoIEpCGngCXQJS0KDDX KbD/d+aRi0yrlQZWtujwCiwNb5MRKQY= X-MC-Unique: hYaG1Ss-NiOfLSPOhKIHyw-1 X-Original-To: patchew-devel@listman.corp.redhat.com X-MC-Unique: v3c-6WyxNP6q2wpumibodQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc; bh=5POBIIjd4lu5n62hOLJlE/evZ2jxEf8kZ4ZtEK1w2JQ=; b=jF4MrsrKu3La5CoVZPZSZGOXvoFjrPdoN4QfFWaRlaQLAnoioUz3PrIe6wEpcgj18h qDSHrrdlMKWSS9TdHauwst+7/ksa1Np70IEB1yQJ08FRIkg7f8QGTGrwTPk2ibZS5ZaZ XFCKD6Nx8glrCzrHkPLP7TpAG7ayQHd2iiS0qTKHR51abkqNLNHrg0U2NMjnzPc7027X v2usxaIivRmo3j0ZiCEcHZJSddapMLLma+Wz/9zB8hMel4glg8+O5BPyeCrAN0Ibe3zy kzGXm6ymGxd+lQIowf9MFzK38Z8nvtm17PpcFMewv+tFrq6xS3Pan/XqSSBIRKDUHwtR i8iQ== X-Gm-Message-State: ACgBeo0PFZMRwqJmc24KF6vWD5yuQk1y7OUry9rpt56X8Z2rUKAWuNRT SzsKoGUqkAU7w0mY3G5pwpJxOEAz78HFzkLdkiqUXAS7zWx62xaTJ6dbArha9anOMXgc70AZQFv L+izRRbd11025JXXnMZU/nmNLTpCfwsx6RaEjPf3l5qzzSNdjGkT3hvY5E8ccMiUfzno941xefA == X-Received: by 2002:a05:600c:214d:b0:3a5:ce18:bb71 with SMTP id v13-20020a05600c214d00b003a5ce18bb71mr1842456wml.1.1660310855334; Fri, 12 Aug 2022 06:27:35 -0700 (PDT) X-Google-Smtp-Source: AA6agR6w7VbStYSKQ6nWqqYNz7KoC8bH/69l522ldI30hpe0ErZYHcnoP5tuH0b99tKj85GLfLa+jA== X-Received: by 2002:a05:600c:214d:b0:3a5:ce18:bb71 with SMTP id v13-20020a05600c214d00b003a5ce18bb71mr1842440wml.1.1660310855035; Fri, 12 Aug 2022 06:27:35 -0700 (PDT) From: Paolo Bonzini To: patchew-devel@redhat.com Date: Fri, 12 Aug 2022 15:27:32 +0200 Message-Id: <20220812132732.196690-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 Subject: [Patchew-devel] [PATCH] maintainer: show at most 25 elements in the my-queues page X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: patchew-devel-bounces@redhat.com Sender: "Patchew-devel" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 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: 1660310866852100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Paolo Bonzini --- mods/maintainer.py | 2 +- www/templates/my-queues.html | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mods/maintainer.py b/mods/maintainer.py index 215a96a..545f572 100644 --- a/mods/maintainer.py +++ b/mods/maintainer.py @@ -269,7 +269,7 @@ class MaintainerModule(PatchewModule): raise Http404("Project not found") q =3D q.filter(message__project=3Dpo) =20 - for pid, qn, msgid, subject in q.values_list( + for pid, qn, msgid, subject in q[:26].values_list( "message__project_id", "name", "message__message_id", "message= __subject" ): data.setdefault(pid, {}) diff --git a/www/templates/my-queues.html b/www/templates/my-queues.html index b112e2b..ef1d12f 100644 --- a/www/templates/my-queues.html +++ b/www/templates/my-queues.html @@ -35,12 +35,15 @@ {% endfor %} --=20 2.37.1 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://listman.redhat.com/mailman/listinfo/patchew-devel