From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CEWTFfi4dWT8WQEASxT56A (envelope-from ) for ; Tue, 30 May 2023 10:51:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yOI1Ffi4dWRrjwAAauVa8A (envelope-from ) for ; Tue, 30 May 2023 10:51:04 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2A47B26333 for ; Tue, 30 May 2023 10:51:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3v3z-0006K9-2V; Tue, 30 May 2023 04:50:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3v3x-0006Jw-Cc for guix-devel@gnu.org; Tue, 30 May 2023 04:50:41 -0400 Received: from mira.cbaines.net ([212.71.252.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3v3j-0002i3-Gj for guix-devel@gnu.org; Tue, 30 May 2023 04:50:41 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id 0704727BBE2; Tue, 30 May 2023 09:50:26 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 857ca11a; Tue, 30 May 2023 08:50:25 +0000 (UTC) References: <20230530081733.27209-1-mail@cbaines.net> User-agent: mu4e 1.10.2; emacs 28.2 From: Christopher Baines To: guix-devel@gnu.org Cc: arunisaac@systemreboot.net, rekado@elephly.net Subject: Re: [PATCH] web: Include blocked-by in graphql . Date: Tue, 30 May 2023 09:49:05 +0100 In-reply-to: <20230530081733.27209-1-mail@cbaines.net> Message-ID: <87pm6ii4oh.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685436664; a=rsa-sha256; cv=none; b=ZMV6jo2oMA/DFg4IoRgfcmX2M7AGG0ZdFTsRix1DPvmLH6Z4xhE1rMlujM56/btivqH+y/ 0VFdEFMj6ZocxE/x2BNQZ91Ku/Q28ahRkv40rtc25QtIXpObaLS/T0cMz9H/h8gpl0h0fo VG0Kb7hOaWKuo/L4nWPDT/X95nYOCd9ql3NKZmNZmYHlnK/KXoiKmvGl9u5cXPaqvOZ8Xy h21aO74BagvE6QJv0i1EfrG/p7rvAwXEGWzZ+E0uImqQAdUs8w8FYxo9l70XbdzXTUFRNv b8g8QCUEOm7dF1ruFx2Vam4dWhpKydfYJYnFuDxtljyvif+sYHofvWr8DF7QnQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685436664; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=ZlCm0H9AKtGpgRJXqaIqMw7Ja2oI2VK33sNwSBe30BI=; b=oQqloinkAtxTl663hIKBRfCxPpBwlDyvKxDCIUPQNqevqL9eIE3Krs2Ge/XygMXOzaqJ6+ h5PQwqVGR6rG0SvthCEebmBEVgMwPP0EN3HGXOjRgZtT3FT4cUxIQD8awb087JdACmDBan G2wQsmF7mrhhNj4/7clcjb20NOVfcZHx5AuCHru1QL0lnvREvYmaIwxql15scrzwaHJUEW sr8DeX1q4S7hfaCUz7e2AnjAUOpFLiiGQJNZUyQJUw97mylANFaHm24QBWv9DRRjYA2Cb1 fXWmGE0NVd0N+9Z9ZAgs0F1yMCt+yVmaBW0q08GGb0J6r6poqz1GwDcExPyILw== X-Migadu-Spam-Score: -2.01 X-Spam-Score: -2.01 X-Migadu-Queue-Id: 2A47B26333 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-TUID: aIdGAi+j2A99 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Christopher Baines writes: > * mumi/web/graphql.scm (): Include blocked-by. > --- > mumi/web/graphql.scm | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/mumi/web/graphql.scm b/mumi/web/graphql.scm > index aa4f38c..3cc19cd 100644 > --- a/mumi/web/graphql.scm > +++ b/mumi/web/graphql.scm > @@ -63,7 +63,10 @@ > (list)))) > (messages (non-nullable-type (list-type )) > (lambda (parent . _) > - (issue-messages (bug-num parent))))) > + (issue-messages (bug-num parent)))) > + (blocked-by (non-nullable-type (list-type )) > + (lambda (parent . _) > + (map bug-status (bug-blockedby parent))))) >=20=20 > (define-object-type > (name (lambda (parent . _) I'm looking at this so that the qa-frontpage can see what issues are blocked. I'm not sure how to test this though. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmR1uM5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xe8ChAAspljdk7zq1oU80vJzx7x/0+9R3LSHiyx 4YSKbK5vUH+Rvg5eefONsugZGQpnqxrbhoDqw5D0Kql47BvQpPdAVd7nEpCraj7R tu/oWwrtDaoZzY76EvQMKByTDNJADLHeH+kYcPNVlF70cEBS/JnZEbF6/XmBes24 kgSjqRlkP3UjD3mFspC9miToif8uXvQLQq5L8J9jjNtQ6/fHVFliuRjtt1S215jB Pf/Bn9WD3+bXHOGZfJiLviiH++U34FFl+OvZAKkbGwTpetHYqo5X9I5zpCZ1msml bp7ZzEn+MCZ3IoSnTKu+YZeRo/0w2vuFWvA83LwyJleva64Hn4HV5IFxIP5YWvBo VPcjnW+uCCVtuf//NYs3pAoKo/1FPY3DS6Ewk61tnmqoKdsFBlJXLIpxwNHOuCRj 9KtP2iA9HTjqoSpr1gcFKtznW0/TH+8F2sNMg++sb7zoRubgZinVUQJg5dvGytXo wlKjG7I4oadscRr1nLfuWYXuvXQ1LlG8cU7JBysdGMmPNG7GcxeQmcOuAzOW4T2s 6M/KRsL3W+NeeP0Mmpjxb1b7+o+pMP4aCJnUFmoeLTpQPdbXQrpHcLZd8MnNOi5b KkOausKaDwjoDuBBCpVZpaBeUYVZeQDB3xBlVpXkTt0OuWI8arLLD4348uniJPuE r/Ugdi5M78Q= =4krY -----END PGP SIGNATURE----- --=-=-=--