unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] web: Include merged_with in graphql <issue>.
@ 2023-09-26  8:59 Christopher Baines
  2023-10-11 20:36 ` Simon Tournier
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Baines @ 2023-09-26  8:59 UTC (permalink / raw)
  To: guix-devel

* mumi/web/graphql.scm (<issue>): Include merged_with.
---
 mumi/web/graphql.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/mumi/web/graphql.scm b/mumi/web/graphql.scm
index 6dcb8ce..2c7c676 100644
--- a/mumi/web/graphql.scm
+++ b/mumi/web/graphql.scm
@@ -69,7 +69,17 @@
               (issue-messages (bug-num parent))))
   (blocked_by (non-nullable-type (list-type <issue>))
               (lambda (parent . _)
-                (map bug-status (bug-blockedby parent)))))
+                (map bug-status (bug-blockedby parent))))
+  (merged_with (non-nullable-type (list-type <issue>))
+               (lambda (parent . _)
+                 (map
+                  bug-status
+                  (match (bug-mergedwith parent)
+                   ((? string? str)
+                    (string-split str #\space))
+                   ((? number? n)
+                    (list (number->string n)))
+                   (#f '()))))))
 
 (define-object-type <person>
   (name <string> (lambda (parent . _)
-- 
2.41.0



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] web: Include merged_with in graphql <issue>.
  2023-09-26  8:59 [PATCH] web: Include merged_with in graphql <issue> Christopher Baines
@ 2023-10-11 20:36 ` Simon Tournier
  2023-10-12  8:10   ` Christopher Baines
  0 siblings, 1 reply; 6+ messages in thread
From: Simon Tournier @ 2023-10-11 20:36 UTC (permalink / raw)
  To: Christopher Baines, guix-devel, Arun Isaac; +Cc: Ricardo Wurmus

Hi,

Out of my curiosity, is this patch

On Tue, 26 Sep 2023 at 09:59, Christopher Baines <mail@cbaines.net> wrote:
> * mumi/web/graphql.scm (<issue>): Include merged_with.
> ---
>  mumi/web/graphql.scm | 12 +++++++++++-
>  1 file changed, 11 insertions(+), 1 deletion(-)

merged to Mumi?  Is it still relevant?  If it is already processed,
sorry for the noise.

Cheers,
simon

[PATCH] web: Include merged_with in graphql <issue>.
Christopher Baines <mail@cbaines.net>
Tue, 26 Sep 2023 09:59:25 +0100
id:20230926085925.12732-1-mail@cbaines.net
https://lists.gnu.org/archive/html/guix-devel/2023-09
https://yhetil.org/guix/20230926085925.12732-1-mail@cbaines.net


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] web: Include merged_with in graphql <issue>.
  2023-10-11 20:36 ` Simon Tournier
@ 2023-10-12  8:10   ` Christopher Baines
  2023-10-12  9:35     ` Arun Isaac
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Baines @ 2023-10-12  8:10 UTC (permalink / raw)
  To: Simon Tournier; +Cc: guix-devel, Arun Isaac, Ricardo Wurmus

[-- Attachment #1: Type: text/plain, Size: 450 bytes --]


Simon Tournier <zimon.toutoune@gmail.com> writes:

> Hi,
>
> Out of my curiosity, is this patch
>
> On Tue, 26 Sep 2023 at 09:59, Christopher Baines <mail@cbaines.net> wrote:
>> * mumi/web/graphql.scm (<issue>): Include merged_with.
>> ---
>>  mumi/web/graphql.scm | 12 +++++++++++-
>>  1 file changed, 11 insertions(+), 1 deletion(-)
>
> merged to Mumi?

Not that I'm aware of, do you see it merged somewhere?

> Is it still relevant?

I think so.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] web: Include merged_with in graphql <issue>.
  2023-10-12  8:10   ` Christopher Baines
@ 2023-10-12  9:35     ` Arun Isaac
  2023-10-13  0:01       ` Arun Isaac
  0 siblings, 1 reply; 6+ messages in thread
From: Arun Isaac @ 2023-10-12  9:35 UTC (permalink / raw)
  To: Christopher Baines, Simon Tournier; +Cc: guix-devel, Ricardo Wurmus


Hi,

Sorry, I missed this patch. I will apply it tonight.

I am not usually subscribed to guix-devel. In the future, please Cc me
on patches related to mumi.

Thanks!
Arun


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] web: Include merged_with in graphql <issue>.
  2023-10-12  9:35     ` Arun Isaac
@ 2023-10-13  0:01       ` Arun Isaac
  2023-10-13 10:12         ` Christopher Baines
  0 siblings, 1 reply; 6+ messages in thread
From: Arun Isaac @ 2023-10-13  0:01 UTC (permalink / raw)
  To: Christopher Baines, Simon Tournier
  Cc: guix-devel, Ricardo Wurmus, guix-sysadmin


> Sorry, I missed this patch. I will apply it tonight.

Done!

https://git.savannah.gnu.org/cgit/guix/mumi.git/commit/?id=a89c5109963de0b5fd1f500ed2e2ede47728fdb4
https://git.savannah.gnu.org/cgit/guix/mumi.git/commit/?id=025fc600f1cb4c73042bf920aee3e07d5fb9c53a

I have also reconfigured berlin with the latest mumi.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] web: Include merged_with in graphql <issue>.
  2023-10-13  0:01       ` Arun Isaac
@ 2023-10-13 10:12         ` Christopher Baines
  0 siblings, 0 replies; 6+ messages in thread
From: Christopher Baines @ 2023-10-13 10:12 UTC (permalink / raw)
  To: Arun Isaac; +Cc: Simon Tournier, guix-devel, Ricardo Wurmus

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]


Arun Isaac <arunisaac@systemreboot.net> writes:

>> Sorry, I missed this patch. I will apply it tonight.
>
> Done!
>
> https://git.savannah.gnu.org/cgit/guix/mumi.git/commit/?id=a89c5109963de0b5fd1f500ed2e2ede47728fdb4
> https://git.savannah.gnu.org/cgit/guix/mumi.git/commit/?id=025fc600f1cb4c73042bf920aee3e07d5fb9c53a
>
> I have also reconfigured berlin with the latest mumi.

THanks Arun, QA is now using this data to group merged issues which is
very useful.

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-10-13 10:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-26  8:59 [PATCH] web: Include merged_with in graphql <issue> Christopher Baines
2023-10-11 20:36 ` Simon Tournier
2023-10-12  8:10   ` Christopher Baines
2023-10-12  9:35     ` Arun Isaac
2023-10-13  0:01       ` Arun Isaac
2023-10-13 10:12         ` Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).