From: Christopher Baines <mail@cbaines.net>
To: guix-devel@gnu.org
Cc: arunisaac@systemreboot.net, rekado@elephly.net
Subject: Re: [PATCH] web: Include blocked-by in graphql <issue>.
Date: Tue, 30 May 2023 09:49:05 +0100 [thread overview]
Message-ID: <87pm6ii4oh.fsf@cbaines.net> (raw)
In-Reply-To: <20230530081733.27209-1-mail@cbaines.net>
[-- Attachment #1: Type: text/plain, Size: 972 bytes --]
Christopher Baines <mail@cbaines.net> writes:
> * mumi/web/graphql.scm (<issue>): 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 <email>))
> (lambda (parent . _)
> - (issue-messages (bug-num parent)))))
> + (issue-messages (bug-num parent))))
> + (blocked-by (non-nullable-type (list-type <issue>))
> + (lambda (parent . _)
> + (map bug-status (bug-blockedby parent)))))
>
> (define-object-type <person>
> (name <string> (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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
next prev parent reply other threads:[~2023-05-30 8:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-30 8:17 [PATCH] web: Include blocked-by in graphql <issue> Christopher Baines
2023-05-30 8:49 ` Christopher Baines [this message]
2023-05-30 16:20 ` Arun Isaac
2023-05-30 17:39 ` Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pm6ii4oh.fsf@cbaines.net \
--to=mail@cbaines.net \
--cc=arunisaac@systemreboot.net \
--cc=guix-devel@gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.