From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 qKioJESxdWRNgQAASxT56A (envelope-from ) for ; Tue, 30 May 2023 10:18:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kOe5I0SxdWQlLwAAG6o9tA (envelope-from ) for ; Tue, 30 May 2023 10:18:12 +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 59F4525545 for ; Tue, 30 May 2023 10:18:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3uY4-0006b3-5s; Tue, 30 May 2023 04:17:44 -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 1q3uXy-0006aU-TL for guix-devel@gnu.org; Tue, 30 May 2023 04:17:38 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3uXw-0001Po-9C for guix-devel@gnu.org; Tue, 30 May 2023 04:17:37 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id 4771227BBE2; Tue, 30 May 2023 09:17:34 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 9161ddcb; Tue, 30 May 2023 08:17:33 +0000 (UTC) From: Christopher Baines To: guix-devel@gnu.org Cc: arunisaac@systemreboot.net, rekado@elephly.net Subject: [PATCH] web: Include blocked-by in graphql . Date: Tue, 30 May 2023 09:17:33 +0100 Message-Id: <20230530081733.27209-1-mail@cbaines.net> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; 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, UNPARSEABLE_RELAY=0.001 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=1685434692; a=rsa-sha256; cv=none; b=Mmv1XP9q112L0Kmtsqc2aM9zLM5Z8HHUP8gm1Dr7ur7HB0xaqbuL192v6VlmUXLHdg6zba steL22DZwQA4R/sMb6MMgw/CPTHZWS3qZpVL/S/WpS5gwuSTG4zmKLCGNTf8yQfJwhd51t qKZaBaitZCX/v6eu1GSEquekaUTXMvJryP7X7NAcgy0e/avAGNiYoukJrk6R9Y+Mqnx1gK Uf+NYP5MtTg0PbjTxTNnqWpy2A6mN4UkC6dNVnaS2JeKQBaRkN+SYUGcOJWaesDEEqlEL8 FijHDhUEaWghdKzlDQhsSymtITea9WJYSoQJDBIlooRVhvKjM4uIo5X3cbVNQw== 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=1685434692; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=eRKQDN1MXZ1AtK49kaSbcwIFonZxSNHvu267lUSltdU=; b=A+v+azlZFsxg7R2B7v2VPOfm0jlD9tC3lvUDr1onp4JLzo4k758XoDYapSp/MUvCqHCR/I 2o0Y2+xRr2VYROuimYu6I19ebnx3RDVt/KV4FHsumGvpxborM3rpM9a4D9iTonW+a5WpbT LPEHhesoZx/W6V/iu3hIG84zl+hDCJxeidQR7Ha5se4S57Nane9WROm44ZiNKJggER0bhL f+9ElwzYlZBnK/A+0kVQeXu/wyhQYO/Xzjafu6mYjDn6SVL4xjrqVaUHjwvKM8dIBNDR2/ O74nmy/GR45uS+iEc9epaQ6Kl9V0mE2ClSqg1ETtr5zDphbhwodH3FPVchNnEg== X-Migadu-Spam-Score: 0.29 X-Spam-Score: 0.29 X-Migadu-Queue-Id: 59F4525545 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: iA8gr1+cD3Xf * 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))))) (define-object-type (name (lambda (parent . _) -- 2.40.1