From unknown Fri Jun 20 07:16:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#61645 <61645@debbugs.gnu.org> To: bug#61645 <61645@debbugs.gnu.org> Subject: Status: [PATCH mumi 0/1] Add CLI client to search for issues Reply-To: bug#61645 <61645@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:16:32 +0000 retitle 61645 [PATCH mumi 0/1] Add CLI client to search for issues reassign 61645 mumi submitter 61645 Arun Isaac severity 61645 normal tag 61645 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 19 20:38:53 2023 Received: (at submit) by debbugs.gnu.org; 20 Feb 2023 01:38:53 +0000 Received: from localhost ([127.0.0.1]:50037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTv8m-00061y-PP for submit@debbugs.gnu.org; Sun, 19 Feb 2023 20:38:53 -0500 Received: from lists.gnu.org ([209.51.188.17]:50102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTv8l-00061p-2U for submit@debbugs.gnu.org; Sun, 19 Feb 2023 20:38:51 -0500 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 1pTv8k-0002Y5-P2 for guix-patches@gnu.org; Sun, 19 Feb 2023 20:38:50 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTv8i-0000Un-DJ for guix-patches@gnu.org; Sun, 19 Feb 2023 20:38:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2pnpKvpmJ6dRU/ze6LlFDE7jfhX3aDShLEfXXMY1dRQ=; b=i3MyNebPrB7YAYCqJceGbGqfku xWq9+0BrHpo9vNmk07X0LLXVR7Bmqc4k2A69TbdB8lmrc+f3Ffpo8g7y3bl7C7gV84R7CY4aHBtLD LTpj/fkZU7gH914E/59BjMibeJYNuf7td/hfGoo0+FE8L+ct76iqGbZh20Uj+Y1NCFU+r8O93NoN7 28gZxwWZXnZr6bLAyW7HfSlhLxsRLx7kTNQxbMoDblqhqUbDRjmm1lv9nSOMSeWFWKzZ5VtIUOC9L h5iYAd52sfakwKC5YyAlUaaMQuGM53jIfZBbIbsXUEO7vmFuWOhLvHh7RgChMpuoV2L+WHLnOeseP pMru5DCA==; Received: from [192.168.2.1] (port=52812 helo=steel.lan) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pTv8V-0007Cn-32; Mon, 20 Feb 2023 07:08:36 +0530 From: Arun Isaac To: guix-patches@gnu.org Subject: [PATCH mumi 0/1] Add CLI client to search for issues Date: Mon, 20 Feb 2023 01:38:21 +0000 Message-Id: <20230220013821.27440-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Ricardo Wurmus , Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi Ricardo, This patch adds a mumi CLI client that lets one search for issues from the command line by calling mumi's GraphQL API. This patch requires a .mumi/config file in the guix repo with the following contents. --8<---------------cut here---------------start------------->8--- ((debbugs-host . "debbugs.gnu.org") (patch-email-address . "guix-patches@gnu.org") (mumi-host . "issues.guix.gnu.org")) --8<---------------cut here---------------end--------------->8--- After adding .mumi/config, you can run search queries like $ /path/to/mumi/pre-inst-env mumi search zig is:open This is only the beginning. I have WIP patches that will add a "mumi send-email" subcommand that will finally free us from our debbugs dance when sending multiple patches. I will send them separately once I have tested it more. Regards, Arun Arun Isaac (1): client: Add CLI client to search for issues. Makefile.am | 1 + mumi/client.scm | 108 ++++++++++++++++++++++++++++++++++++++++++++++++ scripts/mumi.in | 8 +++- 3 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 mumi/client.scm -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 19 20:42:03 2023 Received: (at 61645) by debbugs.gnu.org; 20 Feb 2023 01:42:03 +0000 Received: from localhost ([127.0.0.1]:50042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTvBq-00067o-Cz for submit@debbugs.gnu.org; Sun, 19 Feb 2023 20:42:03 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:34600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTvBn-00067L-At for 61645@debbugs.gnu.org; Sun, 19 Feb 2023 20:42:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ukW1xmfnSUSsflOM0WMl6nRrYCP8/qpgq0792wdwKq0=; b=IQyC4hvK3X2YYraQCw4owi7Q/t ehvo9A9qpQb+RZsrB79+bgcfnykB3PUgcDHDqdYKPEa15PdsxQnsg6nayMpZWHD7IPVDvt6KsaEm/ vrdetVPKpbHeWGfoTMMphQ7q3cwCByfmDUJN6biNJ6qWvDimVx4rbsa0dpWrz2NpwXUY5jJOxoWq9 7pS/QRQpBqVYR99P520Tk7JrAeJLyEcUMY3tNsnKKCj5hf6DoSWd3a15WtKyJzyDBt9xAS1w0efzr XESqMpYwyCUPC8DnNirqIW+gED6Sbr5s+QomCKFr49Qgisrj1/9aU7kLSFR3/P1zLSYA7bqtvUzPX kXgoqg/w==; Received: from [192.168.2.1] (port=55598 helo=steel.lan) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pTvBh-0007D5-1v; Mon, 20 Feb 2023 07:11:54 +0530 From: Arun Isaac To: 61645@debbugs.gnu.org Subject: [PATCH mumi 1/1] client: Add CLI client to search for issues. Date: Mon, 20 Feb 2023 01:41:39 +0000 Message-Id: <20230220014139.27804-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * mumi/client.scm: New file. * scripts/mumi.in: Import (mumi client). (show-mumi-usage): Document search subcommand. (main): Add search subcommand. * Makefile.am (SOURCES): Add mumi/client.scm. --- Makefile.am | 1 + mumi/client.scm | 108 ++++++++++++++++++++++++++++++++++++++++++++++++ scripts/mumi.in | 8 +++- 3 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 mumi/client.scm diff --git a/Makefile.am b/Makefile.am index 8182fc3..a8c11a1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -49,6 +49,7 @@ SOURCES = \ mumi/messages.scm \ mumi/jobs.scm \ mumi/send-email.scm \ + mumi/client.scm \ mumi/config.scm \ mumi/debbugs.scm \ mumi/test-utils.scm \ diff --git a/mumi/client.scm b/mumi/client.scm new file mode 100644 index 0000000..e4a0123 --- /dev/null +++ b/mumi/client.scm @@ -0,0 +1,108 @@ +;;; mumi -- Mediocre, uh, mail interface +;;; Copyright © 2023 Arun Isaac +;;; +;;; This file is part of mumi. +;;; +;;; mumi is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or +;;; (at your option) any later version. +;;; +;;; mumi is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;;; General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with mumi. If not, see . + +(define-module (mumi client) + #:use-module (srfi srfi-19) + #:use-module (srfi srfi-43) + #:use-module (term ansi-color) + #:use-module (web uri) + #:use-module (kolam http) + #:use-module (mumi config) + #:use-module (mumi web view utils) + #:export (search)) + +(define (git-top-level) + "Return the top-level directory of the current git repository." + (let loop ((curdir (getcwd))) + (cond + ((file-exists? (string-append curdir "/.git")) + curdir) + ((string=? curdir "/") + (error "No git top level found")) + (else + (loop (dirname curdir)))))) + +(define (client-config-directory) + "Return client configuration directory." + (string-append (git-top-level) "/.mumi")) + +(define (client-config key) + "Return client configuration value corresponding to KEY." + (or (assq-ref (call-with-input-file (string-append (client-config-directory) + "/config") + read) + key) + (case key + ((mumi-scheme) 'https) + (else (format (current-error-port) + "Key '~a not configured for mumi client.~%" + key))))) + +(define (graphql-endpoint) + "Return GraphQL endpoint." + (uri->string + (build-uri (client-config 'mumi-scheme) + #:host (client-config 'mumi-host) + #:path "/graphql"))) + +(define (iso8601->date str) + "Convert ISO-8601 date/time+zone string to date object." + (string->date str "~Y-~m-~dT~H:~M:~S~z")) + +(define (list-issue issue) + "List issue described by ISSUE association list." + (display (colorize-string + (string-append "#" + (number->string (assoc-ref issue "number"))) + 'YELLOW)) + (display " ") + (unless (assoc-ref issue "open") + (display (colorize-string "✓" 'BOLD 'GREEN)) + (display " ")) + (display (colorize-string + (assoc-ref issue "title") + 'MAGENTA 'UNDERLINE)) + (newline) + (display (string-append + "opened " + (colorize-string (time->string + (iso8601->date (assoc-ref issue "date"))) + 'CYAN) + " by " + (colorize-string + (let ((submitter (assoc-ref issue "submitter"))) + (if (eq? (assoc-ref submitter "name") 'null) + (assoc-ref submitter "address") + (assoc-ref submitter "name"))) + 'CYAN))) + (newline)) + +(define (search query) + "Search for issues with QUERY and list results." + (vector-for-each (lambda (_ issue) + (list-issue issue)) + (assoc-ref + (graphql-http-get (graphql-endpoint) + `(document + (query (#(issues #:search ,query) + number + title + open + date + (submitter name address))))) + "issues"))) diff --git a/scripts/mumi.in b/scripts/mumi.in index 755dfb3..9b61729 100644 --- a/scripts/mumi.in +++ b/scripts/mumi.in @@ -4,7 +4,7 @@ !# ;;; mumi -- Mediocre, uh, mail interface ;;; Copyright © 2016, 2017, 2019, 2020 Ricardo Wurmus -;;; Copyright © 2018, 2021 Arun Isaac +;;; Copyright © 2018, 2021, 2023 Arun Isaac ;;; ;;; This file is part of mumi. ;;; @@ -26,6 +26,7 @@ (system repl server) (ice-9 match) (ice-9 format) + ((mumi client) #:prefix client:) (mumi config) ((mumi debbugs) #:select (extract-bug-numbers)) @@ -116,6 +117,9 @@ (define (show-mumi-usage) (format (current-error-port) " + `mumi search QUERY': + search mumi for issues. + `mumi web [--address=address] [--port=port] [--listen-repl[=port]] [--disable-mailer]': start the application web server. @@ -132,6 +136,8 @@ (exit 1)) (match (cdr (program-arguments)) + (("search" . query-strings) + (client:search (string-join query-strings))) (("mailer" . rest) (let* ((opts (parse-options rest)) (sender (assoc-ref opts 'sender)) -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 20 19:33:26 2023 Received: (at 61645) by debbugs.gnu.org; 21 Feb 2023 00:33:26 +0000 Received: from localhost ([127.0.0.1]:53929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUGb0-0002pa-2i for submit@debbugs.gnu.org; Mon, 20 Feb 2023 19:33:26 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:34126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUGau-0002pL-At for 61645@debbugs.gnu.org; Mon, 20 Feb 2023 19:33:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JDYs9Lqwp1YRPrOds1FBnbH+PMrvldM1c7yESH2an3U=; b=Rplr7N2vecb90vfi6BcYoyvtD1 IiI5ouihCrTNO3iPYX3pMW5UNqyOQzRQ+oqeLgHIwzIuVVlceJPMKht1XtTemhUVO5a1irMoQ20ta VxGKhNVKlvfx1QdLxApX4Rp4wTd0WdJ+5fqnX8C4C9j9FBBNnynB8cOwPOYGnTTnUVrXFrxhXVoad 1zP+NY+Z29LXWWBZfHFqAT5WkQliJy1RNTiweZf3BMs2NeDPXSFdy4OZy/l8naFV9YKBSL1F25XZ8 iIdLA2yyuXLt5J2P7KqFOdBEgQZsHdRZaB1s4zniPxsmsEs5x9Rnp8SMhIG90niE/qZ3vULUaTW4H m7jL16Cg==; Received: from [192.168.2.1] (port=36408 helo=steel.lan) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pUGan-0009UP-3B; Tue, 21 Feb 2023 06:03:14 +0530 From: Arun Isaac To: 61645@debbugs.gnu.org Subject: [PATCH v2 0/4] Add mumi CLI client. Date: Tue, 21 Feb 2023 00:32:53 +0000 Message-Id: <20230221003253.5285-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On second thoughts, I think I'll also include the mumi send-email patches in this bug report. To test this patchset, do the following. The following needs to be put in .mumi/config in the guix git repo. --8<---------------cut here---------------start------------->8--- ((debbugs-host . "debbugs.gnu.org") (patch-email-address . "guix-patches@gnu.org") (mumi-host . "issues.guix.gnu.org")) --8<---------------cut here---------------end--------------->8--- Then, from the guix git repo, it is possible to search for issues with $ mumi search zig is:open Set a "current issue" with $ mumi current 61645 The "current issue" is client-side state that represents the current issue one is working on. It is used to automatically infer such things as the email address to send patches to. Send patches to the current issue with $ mumi send-email file1.patch file2.patch `mumi send-email' also works correctly with new issues. We first open a new issue with $ mumi new Then, we send patches using `mumi send-email'. The first patch is sent to guix-patches@gnu.org and the remaining patches to the bug specific address---our usual debbugs dance, in other words. $ mumi send-email file1.patch file2.patch I think this patchset works, but it would be nice if someone independently verified it and provided some feedback before it is applied. Arun Isaac (4): client: Add CLI client to search for issues. client: Support checking in to a specific issue. client: Support sending email to issues. Set only GUILE_LOAD_PATH when running tests. Makefile.am | 5 +- mumi/client.scm | 257 +++++++++++++++++++++++++++++++++++++++++++++++ scripts/mumi.in | 32 +++++- tests/client.scm | 93 +++++++++++++++++ 4 files changed, 384 insertions(+), 3 deletions(-) create mode 100644 mumi/client.scm create mode 100644 tests/client.scm -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 20 19:33:33 2023 Received: (at 61645) by debbugs.gnu.org; 21 Feb 2023 00:33:33 +0000 Received: from localhost ([127.0.0.1]:53932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUGb6-0002pv-Fz for submit@debbugs.gnu.org; Mon, 20 Feb 2023 19:33:33 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:45078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUGb3-0002pl-T4 for 61645@debbugs.gnu.org; Mon, 20 Feb 2023 19:33:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ukW1xmfnSUSsflOM0WMl6nRrYCP8/qpgq0792wdwKq0=; b=JAQ0r/iE3Q89IxxrJJhQjl0KKg GRw+FSPK+Sqi4TWWffXctnJQeUFQZiVQHPhtDw2NqN1TwgpicY3KuKsIW7OOLv0QKZLB0cslaBqId t8hLNOMsUTExqjInIe+LvB++BoX8fGMHfbRcjqA2NGEhzdGAQ6wR371lQMn2tuwDG7ED4FHVxqwHD YtdYASZBwKh/TKZscv0AtptQE/zIUourajLHcd2ox/xeLIl4DveSTNAfcNmbPU/3iuaCxCJhuZJIa hghlxn3KkQGayy9dLU3yncvzjMUg6+VH/0OnUb5ywF1GML0ZIMYv++lFjhJj5ghJDkYuKvB2++0yc GNQXdomw==; Received: from [192.168.2.1] (port=36406 helo=steel.lan) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pUGaz-0009UW-10; Tue, 21 Feb 2023 06:03:26 +0530 From: Arun Isaac To: 61645@debbugs.gnu.org Subject: [PATCH v2 1/4] client: Add CLI client to search for issues. Date: Tue, 21 Feb 2023 00:33:18 +0000 Message-Id: <20230221003318.5334-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * mumi/client.scm: New file. * scripts/mumi.in: Import (mumi client). (show-mumi-usage): Document search subcommand. (main): Add search subcommand. * Makefile.am (SOURCES): Add mumi/client.scm. --- Makefile.am | 1 + mumi/client.scm | 108 ++++++++++++++++++++++++++++++++++++++++++++++++ scripts/mumi.in | 8 +++- 3 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 mumi/client.scm diff --git a/Makefile.am b/Makefile.am index 8182fc3..a8c11a1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -49,6 +49,7 @@ SOURCES = \ mumi/messages.scm \ mumi/jobs.scm \ mumi/send-email.scm \ + mumi/client.scm \ mumi/config.scm \ mumi/debbugs.scm \ mumi/test-utils.scm \ diff --git a/mumi/client.scm b/mumi/client.scm new file mode 100644 index 0000000..e4a0123 --- /dev/null +++ b/mumi/client.scm @@ -0,0 +1,108 @@ +;;; mumi -- Mediocre, uh, mail interface +;;; Copyright © 2023 Arun Isaac +;;; +;;; This file is part of mumi. +;;; +;;; mumi is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or +;;; (at your option) any later version. +;;; +;;; mumi is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;;; General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with mumi. If not, see . + +(define-module (mumi client) + #:use-module (srfi srfi-19) + #:use-module (srfi srfi-43) + #:use-module (term ansi-color) + #:use-module (web uri) + #:use-module (kolam http) + #:use-module (mumi config) + #:use-module (mumi web view utils) + #:export (search)) + +(define (git-top-level) + "Return the top-level directory of the current git repository." + (let loop ((curdir (getcwd))) + (cond + ((file-exists? (string-append curdir "/.git")) + curdir) + ((string=? curdir "/") + (error "No git top level found")) + (else + (loop (dirname curdir)))))) + +(define (client-config-directory) + "Return client configuration directory." + (string-append (git-top-level) "/.mumi")) + +(define (client-config key) + "Return client configuration value corresponding to KEY." + (or (assq-ref (call-with-input-file (string-append (client-config-directory) + "/config") + read) + key) + (case key + ((mumi-scheme) 'https) + (else (format (current-error-port) + "Key '~a not configured for mumi client.~%" + key))))) + +(define (graphql-endpoint) + "Return GraphQL endpoint." + (uri->string + (build-uri (client-config 'mumi-scheme) + #:host (client-config 'mumi-host) + #:path "/graphql"))) + +(define (iso8601->date str) + "Convert ISO-8601 date/time+zone string to date object." + (string->date str "~Y-~m-~dT~H:~M:~S~z")) + +(define (list-issue issue) + "List issue described by ISSUE association list." + (display (colorize-string + (string-append "#" + (number->string (assoc-ref issue "number"))) + 'YELLOW)) + (display " ") + (unless (assoc-ref issue "open") + (display (colorize-string "✓" 'BOLD 'GREEN)) + (display " ")) + (display (colorize-string + (assoc-ref issue "title") + 'MAGENTA 'UNDERLINE)) + (newline) + (display (string-append + "opened " + (colorize-string (time->string + (iso8601->date (assoc-ref issue "date"))) + 'CYAN) + " by " + (colorize-string + (let ((submitter (assoc-ref issue "submitter"))) + (if (eq? (assoc-ref submitter "name") 'null) + (assoc-ref submitter "address") + (assoc-ref submitter "name"))) + 'CYAN))) + (newline)) + +(define (search query) + "Search for issues with QUERY and list results." + (vector-for-each (lambda (_ issue) + (list-issue issue)) + (assoc-ref + (graphql-http-get (graphql-endpoint) + `(document + (query (#(issues #:search ,query) + number + title + open + date + (submitter name address))))) + "issues"))) diff --git a/scripts/mumi.in b/scripts/mumi.in index 755dfb3..9b61729 100644 --- a/scripts/mumi.in +++ b/scripts/mumi.in @@ -4,7 +4,7 @@ !# ;;; mumi -- Mediocre, uh, mail interface ;;; Copyright © 2016, 2017, 2019, 2020 Ricardo Wurmus -;;; Copyright © 2018, 2021 Arun Isaac +;;; Copyright © 2018, 2021, 2023 Arun Isaac ;;; ;;; This file is part of mumi. ;;; @@ -26,6 +26,7 @@ (system repl server) (ice-9 match) (ice-9 format) + ((mumi client) #:prefix client:) (mumi config) ((mumi debbugs) #:select (extract-bug-numbers)) @@ -116,6 +117,9 @@ (define (show-mumi-usage) (format (current-error-port) " + `mumi search QUERY': + search mumi for issues. + `mumi web [--address=address] [--port=port] [--listen-repl[=port]] [--disable-mailer]': start the application web server. @@ -132,6 +136,8 @@ (exit 1)) (match (cdr (program-arguments)) + (("search" . query-strings) + (client:search (string-join query-strings))) (("mailer" . rest) (let* ((opts (parse-options rest)) (sender (assoc-ref opts 'sender)) -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 20 19:33:40 2023 Received: (at 61645) by debbugs.gnu.org; 21 Feb 2023 00:33:40 +0000 Received: from localhost ([127.0.0.1]:53935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUGbE-0002qH-BG for submit@debbugs.gnu.org; Mon, 20 Feb 2023 19:33:40 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:53700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUGbC-0002q6-AX for 61645@debbugs.gnu.org; Mon, 20 Feb 2023 19:33:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=qfNWu0Oop1RcJ7QtPPWyuUgNlOZOlR0cGxSPLP4LHjU=; b=RyiyifZU5LRSV/YANr5c4jOory Rsq20rS2x+rnDbYDKwFbZ4svLJCJ1LIEVQr2LKMUERPF01APmESImFBR10yITcJnsD5P7LXSLWB7+ j1dWZlNxPWP1wgcZmEV80wqK8Gf8u/3tDxlZQEEBDnwzVlzz79FVsU/E8+vv9/Ku+kUbcxEPG2zWN /XbNutyJTRIRBOacRDyZ5roIDcCzyqOfcdf2LYw8IR6+4Y5r4OakOC7MeF8NZQ9uJFtM8JD1v7VB7 T4YZ2DpUCrWt2Rbb7FuNgNf0dgNi0nl/r3Xw6ssoEIfCPo1CuL/NQP9duJioAf2yeR5HvK6tUwEHv Sno/CcUA==; Received: from [192.168.2.1] (port=36420 helo=steel.lan) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pUGb7-0009Ub-1c; Tue, 21 Feb 2023 06:03:34 +0530 From: Arun Isaac To: 61645@debbugs.gnu.org Subject: [PATCH v2 2/4] client: Support checking in to a specific issue. Date: Tue, 21 Feb 2023 00:33:26 +0000 Message-Id: <20230221003326.5353-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * mumi/client.scm: Import (srfi srfi-26). (current-issue-file, current-issue-number): New functions. (print-current-issue, set-current-issue!, clear-current-issue!): New public functions. * scripts/mumi.in (show-mumi-usage): Document current and new subcommands. (main): Add current and new subcommands. --- mumi/client.scm | 48 +++++++++++++++++++++++++++++++++++++++++++++++- scripts/mumi.in | 20 ++++++++++++++++++++ 2 files changed, 67 insertions(+), 1 deletion(-) diff --git a/mumi/client.scm b/mumi/client.scm index e4a0123..ae3a0a9 100644 --- a/mumi/client.scm +++ b/mumi/client.scm @@ -18,13 +18,17 @@ (define-module (mumi client) #:use-module (srfi srfi-19) + #:use-module (srfi srfi-26) #:use-module (srfi srfi-43) #:use-module (term ansi-color) #:use-module (web uri) #:use-module (kolam http) #:use-module (mumi config) #:use-module (mumi web view utils) - #:export (search)) + #:export (search + print-current-issue + set-current-issue! + clear-current-issue!)) (define (git-top-level) "Return the top-level directory of the current git repository." @@ -106,3 +110,45 @@ date (submitter name address))))) "issues"))) + +(define (current-issue-file) + "Return path to current issue number file." + (string-append (client-config-directory) "/current-issue")) + +(define (current-issue-number) + "Return current issue number." + (let ((issue-file (current-issue-file))) + (and (file-exists? issue-file) + (call-with-input-file issue-file + read)))) + +(define (print-current-issue) + "Print current issue." + (let ((issue-number (current-issue-number))) + (if issue-number + (list-issue + (assoc-ref + (graphql-http-get (graphql-endpoint) + `(document + (query (#(issue #:number ,issue-number) + number + title + open + date + (submitter name address))))) + "issue")) + (begin + (format (current-error-port) "No current issue!~%") + (exit #f))))) + +(define (set-current-issue! issue-number) + "Set current issue number." + ;; TODO: Write file atomically. + (call-with-output-file (current-issue-file) + (cut write issue-number <>))) + +(define (clear-current-issue!) + "Clear current issue." + (let ((issue-file (current-issue-file))) + (when (file-exists? issue-file) + (delete-file issue-file)))) diff --git a/scripts/mumi.in b/scripts/mumi.in index 9b61729..dfd082d 100644 --- a/scripts/mumi.in +++ b/scripts/mumi.in @@ -120,6 +120,12 @@ `mumi search QUERY': search mumi for issues. + `mumi current [ISSUE-NUMBER]': + print or set current issue. + + `mumi new': + clear current issue presumably to open a new one. + `mumi web [--address=address] [--port=port] [--listen-repl[=port]] [--disable-mailer]': start the application web server. @@ -138,6 +144,20 @@ (match (cdr (program-arguments)) (("search" . query-strings) (client:search (string-join query-strings))) + (("current") + (client:print-current-issue)) + (("current" issue-number-string) + (let ((issue-number (string->number issue-number-string))) + (if issue-number + (client:set-current-issue! issue-number) + (begin + (format (current-error-port) + "Invalid issue number `~a'~%" + issue-number-string) + (exit #f)))) + (client:print-current-issue)) + (("new") + (client:clear-current-issue!)) (("mailer" . rest) (let* ((opts (parse-options rest)) (sender (assoc-ref opts 'sender)) -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 20 19:34:03 2023 Received: (at 61645) by debbugs.gnu.org; 21 Feb 2023 00:34:03 +0000 Received: from localhost ([127.0.0.1]:53941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUGba-0002rX-Oo for submit@debbugs.gnu.org; Mon, 20 Feb 2023 19:34:03 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:49220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUGbX-0002qg-Aw for 61645@debbugs.gnu.org; Mon, 20 Feb 2023 19:34:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Adyq9Dvy/1wccjId62/qluNhdCKUvEw3LL9tRKzE9b0=; b=Ww8J79yZldHDMHYwARM9pG4Fc4 bOedpKOPynkwvu4dUoAvqprRc9UVNx+Mj8cPOTP8F+M6fxKRdoU5C8xYAFM7eYxP3H+meoZhC5d1O bOBajN5xMzGxErIfcjLGGW5Ad20UjaQIqaLzsHKQ3rhmIM9dvlLQXMDjLFcZfJU+qMKR8EVSDpg0i Yp5vDlIQdmGwSlHCsK34FO+KDzh6yap3/kdlcAityz2TvNzFszN1AkVn138l/H5FH0A6hi4788sBP ONmHdwG3Dk+oYzFuMhhRS2yKiufUoJPFpAMjHF2TYuIfgDSBzf+yL5+Ea+F84WqXsbp6ZtCRPQgHF KA1dajew==; Received: from [192.168.2.1] (port=45752 helo=steel.lan) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pUGbR-0009Uh-2Y; Tue, 21 Feb 2023 06:03:55 +0530 From: Arun Isaac To: 61645@debbugs.gnu.org Subject: [PATCH v2 3/4] client: Support sending email to issues. Date: Tue, 21 Feb 2023 00:33:36 +0000 Message-Id: <20230221003336.5374-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * mumi/client.scm: Import (rnrs io ports), (srfi srfi-71), (srfi srfi-171), (ice-9 match), (ice-9 popen), (web client), (web response) and (email email). (issue-number-of-message, call-with-input-pipe, git-send-email): New functions. (send-email): New public function. * scripts/mumi.in (show-mumi-usage): Document send-email subcommand. (main): Add send-email subcommand. * tests/client.scm: New file. * Makefile.am (SCM_TESTS): Add tests/client.scm. --- Makefile.am | 1 + mumi/client.scm | 105 ++++++++++++++++++++++++++++++++++++++++++++++- scripts/mumi.in | 5 +++ tests/client.scm | 93 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 203 insertions(+), 1 deletion(-) create mode 100644 tests/client.scm diff --git a/Makefile.am b/Makefile.am index a8c11a1..86ba4f0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -58,6 +58,7 @@ SOURCES = \ TEST_EXTENSIONS = .scm SCM_TESTS = \ + tests/client.scm \ tests/debbugs.scm \ tests/xapian.scm diff --git a/mumi/client.scm b/mumi/client.scm index ae3a0a9..09f83ee 100644 --- a/mumi/client.scm +++ b/mumi/client.scm @@ -17,18 +17,27 @@ ;;; along with mumi. If not, see . (define-module (mumi client) + #:use-module (rnrs io ports) #:use-module (srfi srfi-19) #:use-module (srfi srfi-26) #:use-module (srfi srfi-43) + #:use-module (srfi srfi-71) + #:use-module (srfi srfi-171) + #:use-module (ice-9 match) + #:use-module (ice-9 popen) #:use-module (term ansi-color) + #:use-module (web client) + #:use-module (web response) #:use-module (web uri) + #:use-module (email email) #:use-module (kolam http) #:use-module (mumi config) #:use-module (mumi web view utils) #:export (search print-current-issue set-current-issue! - clear-current-issue!)) + clear-current-issue! + send-email)) (define (git-top-level) "Return the top-level directory of the current git repository." @@ -152,3 +161,97 @@ (let ((issue-file (current-issue-file))) (when (file-exists? issue-file) (delete-file issue-file)))) + +(define* (issue-number-of-message message-id #:optional (retries 15)) + "Return issue number that MESSAGE-ID belongs to. Retry RETRIES number +of times with an interval of 60 seconds between retries." + ;; TODO: Re-implement this using our GraphQL endpoint once it + ;; supports retrieving the issue from a message ID. Later, + ;; re-implement this using a GraphQL subscription when kolam + ;; supports it. + (define (poll-issue-number-of-message message-id) + (let ((response _ (http-get (build-uri (client-config 'mumi-scheme) + #:host (client-config 'mumi-host) + #:path (string-append "/msgid/" message-id))))) + (and (>= (response-code response) 300) + (< (response-code response) 400) + (match (split-and-decode-uri-path + (uri-path (response-location response))) + (("issue" issue-number) + (string->number issue-number)))))) + + (let loop ((i retries)) + (if (zero? i) + (begin + (format (current-error-port) + "Mail not acknowledged by issue tracker. Giving up.~%") + (exit #f)) + (or (poll-issue-number-of-message message-id) + (begin + (let ((retry-interval 60)) + (format (current-error-port) + "Trial ~a/~a: Server has not yet received our email. Will retry in ~a seconds.~%" + (1+ i) retries retry-interval) + (sleep retry-interval)) + (loop (1- retries))))))) + +(define (call-with-input-pipe command proc) + "Call PROC with input pipe to COMMAND. COMMAND is a list of program +arguments." + (match command + ((prog args ...) + (let ((port #f)) + (dynamic-wind + (lambda () + (set! port (apply open-pipe* OPEN_READ prog args))) + (cut proc port) + (cut close-pipe port)))))) + +(define (git-send-email to patch) + "Send email using git send-email and return the message ID of the sent +email." + (let ((command (list "git" "send-email" + (string-append "--to=" to) + patch))) + (display (string-join command)) + (newline) + (call-with-input-pipe command + (lambda (port) + ;; FIXME: This messes up the order of stdout and stderr. + (let ((message-id + ;; Read till you get the Message ID. + (port-transduce (tlog (lambda (_ line) + (display line) + (newline))) + (rany (lambda (line) + (and (string-prefix-ci? "Message-ID:" line) + (assq-ref + (parse-email-headers + (string-append line "\n")) + 'message-id)))) + get-line + port))) + ;; Pass through the rest. + (display (get-string-all port)) + message-id))))) + +(define (send-email patches) + "Send PATCHES via email." + (match patches + ((first-patch other-patches ...) + ;; If an issue is current, send patches to that issue's email + ;; address. Else, send first patch to the patch email address and + ;; get an issue number. Then, send the remaining patches to that + ;; issue's email address. + (for-each (cute git-send-email + (string-append (number->string + (or (current-issue-number) + (issue-number-of-message + (git-send-email (client-config 'patch-email-address) + first-patch)))) + "@" + (client-config 'debbugs-host)) + <>) + (if (current-issue-number) + patches + other-patches))))) diff --git a/scripts/mumi.in b/scripts/mumi.in index dfd082d..2295328 100644 --- a/scripts/mumi.in +++ b/scripts/mumi.in @@ -126,6 +126,9 @@ `mumi new': clear current issue presumably to open a new one. + `mumi send-email': + send patches to debbugs. + `mumi web [--address=address] [--port=port] [--listen-repl[=port]] [--disable-mailer]': start the application web server. @@ -158,6 +161,8 @@ (client:print-current-issue)) (("new") (client:clear-current-issue!)) + (("send-email" . patches) + (client:send-email patches)) (("mailer" . rest) (let* ((opts (parse-options rest)) (sender (assoc-ref opts 'sender)) diff --git a/tests/client.scm b/tests/client.scm new file mode 100644 index 0000000..2948aed --- /dev/null +++ b/tests/client.scm @@ -0,0 +1,93 @@ +;;; mumi -- Mediocre, uh, mail interface +;;; Copyright © 2023 Arun Isaac +;;; +;;; This program is free software: you can redistribute it and/or +;;; modify it under the terms of the GNU Affero General Public License +;;; as published by the Free Software Foundation, either version 3 of +;;; the License, or (at your option) any later version. +;;; +;;; This program is distributed in the hope that it will be useful, +;;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;;; Affero General Public License for more details. +;;; +;;; You should have received a copy of the GNU Affero General Public +;;; License along with this program. If not, see +;;; . + +(use-modules (srfi srfi-26) + (srfi srfi-64) + (ice-9 match)) + +(define (with-variable variable value thunk) + "Set VARIABLE to VALUE, run THUNK and restore the old value of +VARIABLE. Return the value returned by THUNK." + (let ((old-value (variable-ref variable))) + (dynamic-wind + (cut variable-set! variable value) + thunk + (cut variable-set! variable old-value)))) + +(define (with-variables variable-bindings thunk) + "Set VARIABLE-BINDINGS, run THUNK and restore the old values of the +variables. Return the value returned by THUNK. VARIABLE-BINDINGS is a +list of pairs mapping variables to their values." + (match variable-bindings + (((variable . value) tail ...) + (with-variable variable value + (cut with-variables tail thunk))) + (() (thunk)))) + +(define-syntax-rule (var@@ module-name variable-name) + (module-variable (resolve-module 'module-name) + 'variable-name)) + +(define (trace-calls function-variable thunk) + "Run THUNK and return a list of argument lists FUNCTION-VARIABLE is +called with." + (let ((args-list (list))) + (with-variable function-variable (lambda args + (set! args-list + (cons args args-list))) + thunk) + (reverse args-list))) + +(define client-config-stub + (cons (var@@ (mumi client) client-config) + (lambda (key) + (case key + ((debbugs-host) "example.com") + ((patch-email-address) "foo@patches.com") + (else (error "Key unimplemented in stub" key)))))) + +(test-begin "client") + +(test-equal "send patches to new issue" + '(("git" "send-email" "--to=foo@patches.com" "foo.patch") + ("git" "send-email" "--to=12345@example.com" "bar.patch") + ("git" "send-email" "--to=12345@example.com" "foobar.patch")) + (map (match-lambda + ((command _) command)) + (trace-calls (var@@ (mumi client) call-with-input-pipe) + (lambda () + (with-variables (list (cons (var@@ (mumi client) issue-number-of-message) + (const 12345)) + client-config-stub) + (cut (@@ (mumi client) send-email) + (list "foo.patch" "bar.patch" "foobar.patch"))))))) + +(test-equal "send patches to existing issue" + '(("git" "send-email" "--to=12345@example.com" "foo.patch") + ("git" "send-email" "--to=12345@example.com" "bar.patch") + ("git" "send-email" "--to=12345@example.com" "foobar.patch")) + (map (match-lambda + ((command _) command)) + (trace-calls (var@@ (mumi client) call-with-input-pipe) + (lambda () + (with-variables (list (cons (var@@ (mumi client) current-issue-number) + (const 12345)) + client-config-stub) + (cut (@@ (mumi client) send-email) + (list "foo.patch" "bar.patch" "foobar.patch"))))))) + +(test-end "client") -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 20 19:34:10 2023 Received: (at 61645) by debbugs.gnu.org; 21 Feb 2023 00:34:11 +0000 Received: from localhost ([127.0.0.1]:53946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUGbi-0002ry-JB for submit@debbugs.gnu.org; Mon, 20 Feb 2023 19:34:10 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:38136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUGbf-0002rm-Ev for 61645@debbugs.gnu.org; Mon, 20 Feb 2023 19:34:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2lhl3gdCJ47NFPpD77/Qd16kluD4EmntFysWyOzBBF8=; b=L+jzH3cYhUE8CbLIUaiTuL0lsA f7bu55lni4vtmPWzpJAQsHWTxpYjw9rqlPh+EYQfwMORVghBF8TDDVZ2ZaLFBlIe/2vId/XQWpVFS fjiCBgydkWl1xMQknlrn2waTyYUA/9XXG492AIbeBrUUnAQXclwBcau47goWrXrkGIbSf4DwNNEsm kKMCKLGKZDvSKW9H6RUkNkND0p5bbKYGFIYnO+Zoe8dFsNs+gE9Wxq7/nY95S1t5lBiLRPL4rgYkw 5AsEG6BSiH/rokjW5CGU/jrBg81M8baOBF+8XOriys0nw9ELC9Gn8au3BMtbG/wbbxfFGT+SpCGpu IAoHpSzg==; Received: from [192.168.2.1] (port=35216 helo=steel.lan) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pUGba-0009Um-2d; Tue, 21 Feb 2023 06:04:03 +0530 From: Arun Isaac To: 61645@debbugs.gnu.org Subject: [PATCH v2 4/4] Set only GUILE_LOAD_PATH when running tests. Date: Tue, 21 Feb 2023 00:33:55 +0000 Message-Id: <20230221003355.5393-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Somehow, the stubs in tests/client.scm do not work when compiled modules are found. This could be a guile bug. * Makefile.am (SCM_LOG_DRIVER): Do not use pre-inst-env. Set only the load path. --- Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 86ba4f0..3e57e63 100644 --- a/Makefile.am +++ b/Makefile.am @@ -70,8 +70,7 @@ EXTRA_DIST += $(TESTS) \ AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" GUILE_AUTO_COMPILE=0 SCM_LOG_DRIVER = \ - $(top_builddir)/pre-inst-env \ - $(GUILE) --no-auto-compile -e main \ + $(GUILE) --no-auto-compile -L $(top_srcdir) -e main \ $(top_srcdir)/build-aux/test-driver.scm AM_SCM_LOG_DRIVER_FLAGS = --brief=yes -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 08 07:06:06 2023 Received: (at 61645) by debbugs.gnu.org; 8 Mar 2023 12:06:06 +0000 Received: from localhost ([127.0.0.1]:47955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZsYX-0007d8-MI for submit@debbugs.gnu.org; Wed, 08 Mar 2023 07:06:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZsYV-0007ce-Ip for 61645@debbugs.gnu.org; Wed, 08 Mar 2023 07:06:04 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZsYN-0006NU-MS; Wed, 08 Mar 2023 07:05:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=9+i4XZUU4gWKf+W5iMhrgWMbpHkIh/zdvNRdhGSrsNg=; b=TfCjnYDAO8vY9qbS6oPU jtvvoukNx/X0VQLLmYl8NJVLP+Lu5G7IpbX+71RTFiCLr2buBvFDDvsqmC+25wptX9x8vXHczHzHW CSjvxLRRNk2B/mUDCY7fEOJlPV8yxTNNaoFU662W5yP7Ysi0QHsiquxAjCTHH63XhOpp+ryKfBLfr OwZEXvpctjlTnbWgakMebvixu11hK5yrlB32pn2GMWvG5C6EuQmsrcchBao1OuiWth8ZcP+Pwp3OE O1C5cNhZBz6bzSqLUa9vh8SWkGlnVlYwPHyoPSWCs5tPppid4Fj5HmyQLC1VwhI/ZvkwHe3Xa2OXW CKzmNXCh/Ar3/A==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZsYM-0000N7-W6; Wed, 08 Mar 2023 07:05:55 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Arun Isaac Subject: Re: bug#61645: [PATCH mumi 0/1] Add CLI client to search for issues References: <20230220013821.27440-1-arunisaac@systemreboot.net> Date: Wed, 08 Mar 2023 13:05:53 +0100 In-Reply-To: <20230220013821.27440-1-arunisaac@systemreboot.net> (Arun Isaac's message of "Mon, 20 Feb 2023 01:38:21 +0000") Message-ID: <87bkl3a1ni.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , 61645@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Arun, Arun Isaac skribis: > This patch adds a mumi CLI client that lets one search for issues from > the command line by calling mumi's GraphQL API. This patch requires a > .mumi/config file in the guix repo with the following contents. > > ((debbugs-host . "debbugs.gnu.org") > (patch-email-address . "guix-patches@gnu.org") > (mumi-host . "issues.guix.gnu.org")) > > After adding .mumi/config, you can run search queries like > > $ /path/to/mumi/pre-inst-env mumi search zig is:open Yay, this is great!! > This is only the beginning. I have WIP patches that will add a "mumi > send-email" subcommand that will finally free us from our debbugs > dance when sending multiple patches. I will send them separately once > I have tested it more. Woow, sounds really nice. I=E2=80=99m all for it! Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 08 08:28:26 2023 Received: (at 61645) by debbugs.gnu.org; 8 Mar 2023 13:28:26 +0000 Received: from localhost ([127.0.0.1]:48051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZtqE-0003kM-D8 for submit@debbugs.gnu.org; Wed, 08 Mar 2023 08:28:26 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:60104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZtqC-0003kB-4d for 61645@debbugs.gnu.org; Wed, 08 Mar 2023 08:28:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=NjLk1wjTc/r1AJjfNM3wNhOAuAoiT3BCIeoZXggBdgY=; b=NtkxxBgMbmXN+BUnEhiXVhMbMU HzaapiqbOIdwx37HR+DK99PgPaA4I0wXHa8ZwyOV3TFE7Hn1p+BndQ6Elfy2Tw/3EQQbbDzmQ+2TN SesbjppySOoXBahm8L1TjRQrNU8Kn2WVHHXtsydI/kOs9gxWA0RRam4if+XVWDTkZHRn8f7khgErd lX9FAV1A0Oy9g5J7Vh9eAx7HUycXuK11+5uVBBfYnpTBkORI70XCVVJ3DlSGJv1uOfENjfBCoFMMU ivjKC6Z0aYPkL7NqcZoCkyZVfgZDZZxq+reb+Z6CTQ2Gf3UyOfw245pbfCN6r9TrrPnGsFB9j77WP mbRnOVCA==; Received: from [192.168.2.1] (port=43461 helo=localhost) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pZtq6-0005uf-0H; Wed, 08 Mar 2023 18:58:18 +0530 From: Arun Isaac To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#61645: [PATCH mumi 0/1] Add CLI client to search for issues In-Reply-To: <87bkl3a1ni.fsf@gnu.org> References: <20230220013821.27440-1-arunisaac@systemreboot.net> <87bkl3a1ni.fsf@gnu.org> Date: Wed, 08 Mar 2023 13:28:11 +0000 Message-ID: <87r0tzgyok.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , 61645@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >> This is only the beginning. I have WIP patches that will add a "mumi >> send-email" subcommand that will finally free us from our debbugs >> dance when sending multiple patches. I will send them separately once >> I have tested it more. I've already sent these patches as a v2 to this same issue. Waiting for Ricardo to merge it now. > Woow, sounds really nice. I=E2=80=99m all for it! Yep, it's going to be awesome! :-) From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 08 10:37:30 2023 Received: (at 61645) by debbugs.gnu.org; 8 Mar 2023 15:37:30 +0000 Received: from localhost ([127.0.0.1]:49948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZvr7-0007mv-Q7 for submit@debbugs.gnu.org; Wed, 08 Mar 2023 10:37:30 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:53500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZvr4-0007mj-K0 for 61645@debbugs.gnu.org; Wed, 08 Mar 2023 10:37:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=srZH8PiHU889ywW2oK/C+u22szV3Q4lwmEiqKPAgW7w=; b=ldWhkHQ+x+kKtxoUJ/EkNzLgvE hqoJ64y2AsMSiT/9OnRgNzzRnXSHgkDXTlkcn7fJvVN5GqtloiH7Wk2JHPuh9euOYNhYglkXuN8Q/ KPvnoqoiINRH5KyqP7f3rtzmsSmVE3klequpR0IMihgHL2mo4jjUbZjTbtAflcsrk/WwscVpw/zBo nAb4jG4tMBtIvD0kd4oCVhdM7SEldyGuInNeT7W9GsLDIJWelaw+zKcPu7j7jpuEJQgdmsN1913pL zZbb2icUejOySafjm/rSSyYJo+PpWsDs+TRwrAEWv4LtlOPlJLXDyFV5FQ9wuQdbZtav5bgqprhIg P/fkfWzg==; Received: from [192.168.2.1] (port=6222 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pZvqw-0006Dd-2f; Wed, 08 Mar 2023 21:07:19 +0530 From: Arun Isaac To: 61645@debbugs.gnu.org, =?UTF-8?q?Ludovic=20Court=C3=A8s?= Subject: [mumi v3 0/4] Add mumi CLI client Date: Wed, 8 Mar 2023 15:36:54 +0000 Message-Id: <20230308153658.19929-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <87r0tzgyok.fsf@systemreboot.net> References: <87r0tzgyok.fsf@systemreboot.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Here is a v3 of the patchset. This patchset reduces the number of `git send-email' invocations to a maximum of 2 even when there are n patches. The first patch is sent using a `git send-email' invocation and the remaining n-1 patches are sent using another `git send-email' invocation. With this patchset, when sending a single patch, the mumi server is not polled for the issue number since that's not necessary. I also fixed a bug to do with printing the number of retries left. Arun Isaac (4): client: Add CLI client to search for issues. client: Support checking in to a specific issue. client: Support sending email to issues. Set only GUILE_LOAD_PATH when running tests. Makefile.am | 5 +- mumi/client.scm | 264 +++++++++++++++++++++++++++++++++++++++++++++++ scripts/mumi.in | 33 +++++- tests/client.scm | 118 +++++++++++++++++++++ 4 files changed, 417 insertions(+), 3 deletions(-) create mode 100644 mumi/client.scm create mode 100644 tests/client.scm -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 08 10:37:34 2023 Received: (at 61645) by debbugs.gnu.org; 8 Mar 2023 15:37:34 +0000 Received: from localhost ([127.0.0.1]:49951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZvrC-0007nD-5w for submit@debbugs.gnu.org; Wed, 08 Mar 2023 10:37:34 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:56570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZvrA-0007n4-AC for 61645@debbugs.gnu.org; Wed, 08 Mar 2023 10:37:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=zqjBxZLKjzVcf7jJ/h7Vxxu0CTLxSp+UU4Rw2xK8GiQ=; b=BTmc4qO3xjMhs/0JDJzR4Lek2G cyS9j7dp1WCer8fjUUXLNp022zn54lVQI7wZiFu/TsjAAiwM0XNW8ZoD5d4MtgIeMom4lzITCl6Wv XUK7tRC+p5O3UcoQxmJK3Re/o9HCaehy5+/e1L1dHGk4sgCi/5pDyaapE9kd9EbfWBpdQzhChrleu HNzPozyCZ1p0BumW3N37n6Shy2IchNcGwsluML2mlUj8z8qegw14PkxMXpWX2v7CuF2nbiiNfu0to NPUePA07ENg2IjAU5B7A8UT5zZTRW0h75u6sLznB1xWtMwLbaVvEk/9ncPSySSnZRThrHuhZHlsQw Ld2D5Akg==; Received: from [192.168.2.1] (port=6222 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pZvr4-0006Dd-2F; Wed, 08 Mar 2023 21:07:27 +0530 From: Arun Isaac To: 61645@debbugs.gnu.org, =?UTF-8?q?Ludovic=20Court=C3=A8s?= Subject: [mumi v3 2/4] client: Support checking in to a specific issue. Date: Wed, 8 Mar 2023 15:36:56 +0000 Message-Id: <20230308153658.19929-3-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <87r0tzgyok.fsf@systemreboot.net> References: <87r0tzgyok.fsf@systemreboot.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * mumi/client.scm: Import (srfi srfi-26). (current-issue-file, current-issue-number): New functions. (print-current-issue, set-current-issue!, clear-current-issue!): New public functions. * scripts/mumi.in (show-mumi-usage): Document current and new subcommands. (main): Add current and new subcommands. --- mumi/client.scm | 48 +++++++++++++++++++++++++++++++++++++++++++++++- scripts/mumi.in | 20 ++++++++++++++++++++ 2 files changed, 67 insertions(+), 1 deletion(-) diff --git a/mumi/client.scm b/mumi/client.scm index e4a0123..ae3a0a9 100644 --- a/mumi/client.scm +++ b/mumi/client.scm @@ -18,13 +18,17 @@ (define-module (mumi client) #:use-module (srfi srfi-19) + #:use-module (srfi srfi-26) #:use-module (srfi srfi-43) #:use-module (term ansi-color) #:use-module (web uri) #:use-module (kolam http) #:use-module (mumi config) #:use-module (mumi web view utils) - #:export (search)) + #:export (search + print-current-issue + set-current-issue! + clear-current-issue!)) (define (git-top-level) "Return the top-level directory of the current git repository." @@ -106,3 +110,45 @@ date (submitter name address))))) "issues"))) + +(define (current-issue-file) + "Return path to current issue number file." + (string-append (client-config-directory) "/current-issue")) + +(define (current-issue-number) + "Return current issue number." + (let ((issue-file (current-issue-file))) + (and (file-exists? issue-file) + (call-with-input-file issue-file + read)))) + +(define (print-current-issue) + "Print current issue." + (let ((issue-number (current-issue-number))) + (if issue-number + (list-issue + (assoc-ref + (graphql-http-get (graphql-endpoint) + `(document + (query (#(issue #:number ,issue-number) + number + title + open + date + (submitter name address))))) + "issue")) + (begin + (format (current-error-port) "No current issue!~%") + (exit #f))))) + +(define (set-current-issue! issue-number) + "Set current issue number." + ;; TODO: Write file atomically. + (call-with-output-file (current-issue-file) + (cut write issue-number <>))) + +(define (clear-current-issue!) + "Clear current issue." + (let ((issue-file (current-issue-file))) + (when (file-exists? issue-file) + (delete-file issue-file)))) diff --git a/scripts/mumi.in b/scripts/mumi.in index 9b61729..dfd082d 100644 --- a/scripts/mumi.in +++ b/scripts/mumi.in @@ -120,6 +120,12 @@ `mumi search QUERY': search mumi for issues. + `mumi current [ISSUE-NUMBER]': + print or set current issue. + + `mumi new': + clear current issue presumably to open a new one. + `mumi web [--address=address] [--port=port] [--listen-repl[=port]] [--disable-mailer]': start the application web server. @@ -138,6 +144,20 @@ (match (cdr (program-arguments)) (("search" . query-strings) (client:search (string-join query-strings))) + (("current") + (client:print-current-issue)) + (("current" issue-number-string) + (let ((issue-number (string->number issue-number-string))) + (if issue-number + (client:set-current-issue! issue-number) + (begin + (format (current-error-port) + "Invalid issue number `~a'~%" + issue-number-string) + (exit #f)))) + (client:print-current-issue)) + (("new") + (client:clear-current-issue!)) (("mailer" . rest) (let* ((opts (parse-options rest)) (sender (assoc-ref opts 'sender)) -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 08 10:37:39 2023 Received: (at 61645) by debbugs.gnu.org; 8 Mar 2023 15:37:39 +0000 Received: from localhost ([127.0.0.1]:49955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZvrG-0007nd-Oi for submit@debbugs.gnu.org; Wed, 08 Mar 2023 10:37:39 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:56572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZvrB-0007n5-3S for 61645@debbugs.gnu.org; Wed, 08 Mar 2023 10:37:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=bqXGycyjUiMhKVUhLViu+Zbvj38z59DLmq+GIFZaPOo=; b=WGM/rn2xLuNm/FEJyiMlrdPxuH IoCRS1l4SzVqVQhEfkY02IavrBqCVNTnmZkAnIh2UKzWJGMAAxSjLI1R0B/rAU8v6hSK2eU6mYE3R 5zNjgXb54CxJXvFigh1YceFzlyfJx6GsGnJYuUVsbt96VPJTj7mpUT3jLka+mpL56yJGmr47VeIq0 DPOLmOn2Z9++kn2jSQy7DC434a2st54bWyVnYdcLqC4Ke+WAqNpOi9sdMf/agOInjCjlBNRQFuwS1 qKe7PjFWdG2Rfn24WrSqg8PzLBz0777XXrCG10sr2IvU4jKvl8P+a8Wl4xZLuvEZJeJSyB5EwAfvu u4aC40+w==; Received: from [192.168.2.1] (port=6222 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pZvr0-0006Dd-1c; Wed, 08 Mar 2023 21:07:23 +0530 From: Arun Isaac To: 61645@debbugs.gnu.org, =?UTF-8?q?Ludovic=20Court=C3=A8s?= Subject: [mumi v3 1/4] client: Add CLI client to search for issues. Date: Wed, 8 Mar 2023 15:36:55 +0000 Message-Id: <20230308153658.19929-2-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <87r0tzgyok.fsf@systemreboot.net> References: <87r0tzgyok.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * mumi/client.scm: New file. * scripts/mumi.in: Import (mumi client). (show-mumi-usage): Document search subcommand. (main): Add search subcommand. * Makefile.am (SOURCES): Add mumi/client.scm. --- Makefile.am | 1 + mumi/client.scm | 108 ++++++++++++++++++++++++++++++++++++++++++++++++ scripts/mumi.in | 8 +++- 3 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 mumi/client.scm diff --git a/Makefile.am b/Makefile.am index 8182fc3..a8c11a1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -49,6 +49,7 @@ SOURCES = \ mumi/messages.scm \ mumi/jobs.scm \ mumi/send-email.scm \ + mumi/client.scm \ mumi/config.scm \ mumi/debbugs.scm \ mumi/test-utils.scm \ diff --git a/mumi/client.scm b/mumi/client.scm new file mode 100644 index 0000000..e4a0123 --- /dev/null +++ b/mumi/client.scm @@ -0,0 +1,108 @@ +;;; mumi -- Mediocre, uh, mail interface +;;; Copyright © 2023 Arun Isaac +;;; +;;; This file is part of mumi. +;;; +;;; mumi is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or +;;; (at your option) any later version. +;;; +;;; mumi is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;;; General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with mumi. If not, see . + +(define-module (mumi client) + #:use-module (srfi srfi-19) + #:use-module (srfi srfi-43) + #:use-module (term ansi-color) + #:use-module (web uri) + #:use-module (kolam http) + #:use-module (mumi config) + #:use-module (mumi web view utils) + #:export (search)) + +(define (git-top-level) + "Return the top-level directory of the current git repository." + (let loop ((curdir (getcwd))) + (cond + ((file-exists? (string-append curdir "/.git")) + curdir) + ((string=? curdir "/") + (error "No git top level found")) + (else + (loop (dirname curdir)))))) + +(define (client-config-directory) + "Return client configuration directory." + (string-append (git-top-level) "/.mumi")) + +(define (client-config key) + "Return client configuration value corresponding to KEY." + (or (assq-ref (call-with-input-file (string-append (client-config-directory) + "/config") + read) + key) + (case key + ((mumi-scheme) 'https) + (else (format (current-error-port) + "Key '~a not configured for mumi client.~%" + key))))) + +(define (graphql-endpoint) + "Return GraphQL endpoint." + (uri->string + (build-uri (client-config 'mumi-scheme) + #:host (client-config 'mumi-host) + #:path "/graphql"))) + +(define (iso8601->date str) + "Convert ISO-8601 date/time+zone string to date object." + (string->date str "~Y-~m-~dT~H:~M:~S~z")) + +(define (list-issue issue) + "List issue described by ISSUE association list." + (display (colorize-string + (string-append "#" + (number->string (assoc-ref issue "number"))) + 'YELLOW)) + (display " ") + (unless (assoc-ref issue "open") + (display (colorize-string "✓" 'BOLD 'GREEN)) + (display " ")) + (display (colorize-string + (assoc-ref issue "title") + 'MAGENTA 'UNDERLINE)) + (newline) + (display (string-append + "opened " + (colorize-string (time->string + (iso8601->date (assoc-ref issue "date"))) + 'CYAN) + " by " + (colorize-string + (let ((submitter (assoc-ref issue "submitter"))) + (if (eq? (assoc-ref submitter "name") 'null) + (assoc-ref submitter "address") + (assoc-ref submitter "name"))) + 'CYAN))) + (newline)) + +(define (search query) + "Search for issues with QUERY and list results." + (vector-for-each (lambda (_ issue) + (list-issue issue)) + (assoc-ref + (graphql-http-get (graphql-endpoint) + `(document + (query (#(issues #:search ,query) + number + title + open + date + (submitter name address))))) + "issues"))) diff --git a/scripts/mumi.in b/scripts/mumi.in index 755dfb3..9b61729 100644 --- a/scripts/mumi.in +++ b/scripts/mumi.in @@ -4,7 +4,7 @@ !# ;;; mumi -- Mediocre, uh, mail interface ;;; Copyright © 2016, 2017, 2019, 2020 Ricardo Wurmus -;;; Copyright © 2018, 2021 Arun Isaac +;;; Copyright © 2018, 2021, 2023 Arun Isaac ;;; ;;; This file is part of mumi. ;;; @@ -26,6 +26,7 @@ (system repl server) (ice-9 match) (ice-9 format) + ((mumi client) #:prefix client:) (mumi config) ((mumi debbugs) #:select (extract-bug-numbers)) @@ -116,6 +117,9 @@ (define (show-mumi-usage) (format (current-error-port) " + `mumi search QUERY': + search mumi for issues. + `mumi web [--address=address] [--port=port] [--listen-repl[=port]] [--disable-mailer]': start the application web server. @@ -132,6 +136,8 @@ (exit 1)) (match (cdr (program-arguments)) + (("search" . query-strings) + (client:search (string-join query-strings))) (("mailer" . rest) (let* ((opts (parse-options rest)) (sender (assoc-ref opts 'sender)) -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 08 10:37:41 2023 Received: (at 61645) by debbugs.gnu.org; 8 Mar 2023 15:37:41 +0000 Received: from localhost ([127.0.0.1]:49957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZvrH-0007nj-Ky for submit@debbugs.gnu.org; Wed, 08 Mar 2023 10:37:41 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:56586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZvrD-0007nN-Tz for 61645@debbugs.gnu.org; Wed, 08 Mar 2023 10:37:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=iYyN7nvntcyHU5E3F1yGomnxbUMT68d9iLn7jn7IvKM=; b=qHVPU8gPDMUdAHl1nMeOKrYlIT OkM6TkXAUwVVzSytFbSrerhyGURvsska9ajF4SXYB52OcmEnDYh1k0/VBvn7ngu6+QqxaybV04Wzs poM63fpq6jSJ9Txzo/5XlWuYuKsaYvXD98rfDGaUpzgqqepsLWvG1kU029tNE1KU+wE+VLLoyiRt+ HxWInJdp1ZsJexR5aLfr5JVbN2avWCD4D89CTmyxTYotYN3aZi9xQ+OlxOutw97W4AqQSvn7Uz52V s9kFlyZlkz7gCc50z41GDdPmPloF0dlWCCpB4riFFkATmkteT56iSjd7s9geY3XUZoP+jUdEUG/pE FFkIzzLA==; Received: from [192.168.2.1] (port=6222 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pZvr7-0006Dd-33; Wed, 08 Mar 2023 21:07:31 +0530 From: Arun Isaac To: 61645@debbugs.gnu.org, =?UTF-8?q?Ludovic=20Court=C3=A8s?= Subject: [mumi v3 3/4] client: Support sending email to issues. Date: Wed, 8 Mar 2023 15:36:57 +0000 Message-Id: <20230308153658.19929-4-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <87r0tzgyok.fsf@systemreboot.net> References: <87r0tzgyok.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * mumi/client.scm: Import (rnrs io ports), (srfi srfi-71), (srfi srfi-171), (ice-9 match), (ice-9 popen), (web client), (web response) and (email email). (issue-number-of-message, call-with-input-pipe, git-send-email): New functions. (send-email): New public function. * scripts/mumi.in (show-mumi-usage): Document send-email subcommand. (main): Add send-email subcommand. * tests/client.scm: New file. * Makefile.am (SCM_TESTS): Add tests/client.scm. --- Makefile.am | 1 + mumi/client.scm | 112 +++++++++++++++++++++++++++++++++++++++++++- scripts/mumi.in | 5 ++ tests/client.scm | 118 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 235 insertions(+), 1 deletion(-) create mode 100644 tests/client.scm diff --git a/Makefile.am b/Makefile.am index a8c11a1..86ba4f0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -58,6 +58,7 @@ SOURCES = \ TEST_EXTENSIONS = .scm SCM_TESTS = \ + tests/client.scm \ tests/debbugs.scm \ tests/xapian.scm diff --git a/mumi/client.scm b/mumi/client.scm index ae3a0a9..b8d588b 100644 --- a/mumi/client.scm +++ b/mumi/client.scm @@ -17,18 +17,27 @@ ;;; along with mumi. If not, see . (define-module (mumi client) + #:use-module (rnrs io ports) #:use-module (srfi srfi-19) #:use-module (srfi srfi-26) #:use-module (srfi srfi-43) + #:use-module (srfi srfi-71) + #:use-module (srfi srfi-171) + #:use-module (ice-9 match) + #:use-module (ice-9 popen) #:use-module (term ansi-color) + #:use-module (web client) + #:use-module (web response) #:use-module (web uri) + #:use-module (email email) #:use-module (kolam http) #:use-module (mumi config) #:use-module (mumi web view utils) #:export (search print-current-issue set-current-issue! - clear-current-issue!)) + clear-current-issue! + send-email)) (define (git-top-level) "Return the top-level directory of the current git repository." @@ -152,3 +161,104 @@ (let ((issue-file (current-issue-file))) (when (file-exists? issue-file) (delete-file issue-file)))) + +(define* (issue-number-of-message message-id #:optional (retries 15)) + "Return issue number that MESSAGE-ID belongs to. Retry RETRIES number +of times with an interval of 60 seconds between retries." + ;; TODO: Re-implement this using our GraphQL endpoint once it + ;; supports retrieving the issue from a message ID. Later, + ;; re-implement this using a GraphQL subscription when kolam + ;; supports it. + (define (poll-issue-number-of-message message-id) + (let ((response _ (http-get (build-uri (client-config 'mumi-scheme) + #:host (client-config 'mumi-host) + #:path (string-append "/msgid/" message-id))))) + (and (>= (response-code response) 300) + (< (response-code response) 400) + (match (split-and-decode-uri-path + (uri-path (response-location response))) + (("issue" issue-number) + (string->number issue-number)))))) + + (let loop ((i retries)) + (if (zero? i) + (begin + (format (current-error-port) + "Mail not acknowledged by issue tracker. Giving up.~%") + (exit #f)) + (or (poll-issue-number-of-message message-id) + (begin + (let ((retry-interval 60)) + (format (current-error-port) + "Server has not yet received our email. Will retry in ~a seconds. ~a retries remaining.~%" + retry-interval (1- i)) + (sleep retry-interval)) + (loop (1- i))))))) + +(define (call-with-input-pipe command proc) + "Call PROC with input pipe to COMMAND. COMMAND is a list of program +arguments." + (match command + ((prog args ...) + (let ((port #f)) + (dynamic-wind + (lambda () + (set! port (apply open-pipe* OPEN_READ prog args))) + (cut proc port) + (cut close-pipe port)))))) + +(define (git-send-email to patches) + "Send PATCHES using git send-email to the TO address and return the +message ID of the first email sent." + (let ((command (cons* "git" "send-email" + (string-append "--to=" to) + patches))) + (display (string-join command)) + (newline) + (call-with-input-pipe command + (lambda (port) + ;; FIXME: This messes up the order of stdout and stderr. + (let ((message-id + ;; Read till you get the Message ID. + (port-transduce (tlog (lambda (_ line) + (display line) + (newline))) + (rany (lambda (line) + (and (string-prefix-ci? "Message-ID:" line) + (assq-ref + (parse-email-headers + (string-append line "\n")) + 'message-id)))) + get-line + port))) + ;; Pass through the rest. + (display (get-string-all port)) + message-id))))) + +(define (send-email patches) + "Send PATCHES via email." + (if (current-issue-number) + ;; If an issue is current, send patches to that issue's email + ;; address. + (git-send-email (string-append (number->string (current-issue-number)) + "@" + (client-config 'debbugs-host)) + patches) + (match patches + ;; If it's a single patch, send it to the patch email address + ;; and be done with it + ((patch) + (git-send-email (client-config 'patch-email-address) + (list patch))) + ;; Else, send first patch to the patch email address and get an + ;; issue number. Then, send the remaining patches to that + ;; issue's email address. + ((first-patch other-patches ...) + (git-send-email + (string-append (number->string + (issue-number-of-message + (git-send-email (client-config 'patch-email-address) + (list first-patch)))) + "@" + (client-config 'debbugs-host)) + other-patches))))) diff --git a/scripts/mumi.in b/scripts/mumi.in index dfd082d..2295328 100644 --- a/scripts/mumi.in +++ b/scripts/mumi.in @@ -126,6 +126,9 @@ `mumi new': clear current issue presumably to open a new one. + `mumi send-email': + send patches to debbugs. + `mumi web [--address=address] [--port=port] [--listen-repl[=port]] [--disable-mailer]': start the application web server. @@ -158,6 +161,8 @@ (client:print-current-issue)) (("new") (client:clear-current-issue!)) + (("send-email" . patches) + (client:send-email patches)) (("mailer" . rest) (let* ((opts (parse-options rest)) (sender (assoc-ref opts 'sender)) diff --git a/tests/client.scm b/tests/client.scm new file mode 100644 index 0000000..fb03713 --- /dev/null +++ b/tests/client.scm @@ -0,0 +1,118 @@ +;;; mumi -- Mediocre, uh, mail interface +;;; Copyright © 2023 Arun Isaac +;;; +;;; This program is free software: you can redistribute it and/or +;;; modify it under the terms of the GNU Affero General Public License +;;; as published by the Free Software Foundation, either version 3 of +;;; the License, or (at your option) any later version. +;;; +;;; This program is distributed in the hope that it will be useful, +;;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;;; Affero General Public License for more details. +;;; +;;; You should have received a copy of the GNU Affero General Public +;;; License along with this program. If not, see +;;; . + +(use-modules (srfi srfi-26) + (srfi srfi-64) + (ice-9 match)) + +(define (with-variable variable value thunk) + "Set VARIABLE to VALUE, run THUNK and restore the old value of +VARIABLE. Return the value returned by THUNK." + (let ((old-value (variable-ref variable))) + (dynamic-wind + (cut variable-set! variable value) + thunk + (cut variable-set! variable old-value)))) + +(define (with-variables variable-bindings thunk) + "Set VARIABLE-BINDINGS, run THUNK and restore the old values of the +variables. Return the value returned by THUNK. VARIABLE-BINDINGS is a +list of pairs mapping variables to their values." + (match variable-bindings + (((variable . value) tail ...) + (with-variable variable value + (cut with-variables tail thunk))) + (() (thunk)))) + +(define-syntax-rule (var@@ module-name variable-name) + (module-variable (resolve-module 'module-name) + 'variable-name)) + +(define (trace-calls function-variable thunk) + "Run THUNK and return a list of argument lists FUNCTION-VARIABLE is +called with." + (let ((args-list (list))) + (with-variable function-variable (lambda args + (set! args-list + (cons args args-list))) + thunk) + (reverse args-list))) + +(define client-config-stub + (cons (var@@ (mumi client) client-config) + (lambda (key) + (case key + ((debbugs-host) "example.com") + ((patch-email-address) "foo@patches.com") + (else (error "Key unimplemented in stub" key)))))) + +(test-begin "client") + +(test-equal "send patches to new issue" + '(("git" "send-email" "--to=foo@patches.com" "foo.patch") + ("git" "send-email" "--to=12345@example.com" "bar.patch" "foobar.patch")) + (map (match-lambda + ((command _) command)) + (trace-calls (var@@ (mumi client) call-with-input-pipe) + (lambda () + (with-variables (list (cons (var@@ (mumi client) issue-number-of-message) + (const 12345)) + client-config-stub) + (cut (@@ (mumi client) send-email) + (list "foo.patch" "bar.patch" "foobar.patch"))))))) + +(test-equal "send patches to existing issue" + '(("git" "send-email" "--to=12345@example.com" "foo.patch" "bar.patch" "foobar.patch")) + (map (match-lambda + ((command _) command)) + (trace-calls (var@@ (mumi client) call-with-input-pipe) + (lambda () + (with-variables (list (cons (var@@ (mumi client) current-issue-number) + (const 12345)) + client-config-stub) + (cut (@@ (mumi client) send-email) + (list "foo.patch" "bar.patch" "foobar.patch"))))))) + +(test-equal "send single patch to new issue" + '(("git" "send-email" "--to=foo@patches.com" "foo.patch")) + (map (match-lambda + ((command _) command)) + (trace-calls (var@@ (mumi client) call-with-input-pipe) + (lambda () + (with-variables (list (cons (var@@ (mumi client) issue-number-of-message) + (lambda _ + (error "Do not poll server for issue number"))) + client-config-stub) + (cut (@@ (mumi client) send-email) + (list "foo.patch"))))))) + +(test-equal "send single patch to existing issue" + '(("git" "send-email" "--to=12345@example.com" "foo.patch")) + (map (match-lambda + ((command _) command)) + (trace-calls (var@@ (mumi client) call-with-input-pipe) + (lambda () + (with-variables (list (cons (var@@ (mumi client) current-issue-number) + (const 12345)) + (cons (var@@ (mumi client) issue-number-of-message) + (lambda _ + (error "Do not poll server for issue number"))) + client-config-stub) + (cut (@@ (mumi client) send-email) + (list "foo.patch"))))))) + +(test-end "client") -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 08 10:37:42 2023 Received: (at 61645) by debbugs.gnu.org; 8 Mar 2023 15:37:42 +0000 Received: from localhost ([127.0.0.1]:49960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZvrK-0007o5-7Q for submit@debbugs.gnu.org; Wed, 08 Mar 2023 10:37:42 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:37698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZvrH-0007ne-Qj for 61645@debbugs.gnu.org; Wed, 08 Mar 2023 10:37:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=UNFIp3aOBo/ZZhAskDFz4Zb96VJNpg7MB2/xqtimruI=; b=WlAo0I4UD0Uj4aBjKnFQSIQZ6B 9wSk2NbxG0C+naOx1HmRAp60YRy9iXC4dzOgdLLD037cRwIWjevbp7Jd/0voj98oBWEtGPQGg45d+ 8vENS1PrCKs4Jnzxgp0zqVFHQUcW5O9Ui/0E8p4I0tyGJX8Ti6kMmlgJqYeNqXUh4KhBtylSQigra 6qxKpjL9lU2vqY1FckmkwCI7UEkp3ELV6vI62abWllXQS/hlU8LaRXBAqxyAxE9Z/QFtFVmmbDMOh r3gmWXQYutl7Srw9MO++zZmcl94ANqaB60u/JiMq9nISWLLcEmO5nfAvocOPZ8EaT2aazEO+RlJIu CzlLn3Jg==; Received: from [192.168.2.1] (port=6222 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pZvrB-0006Dd-2a; Wed, 08 Mar 2023 21:07:34 +0530 From: Arun Isaac To: 61645@debbugs.gnu.org, =?UTF-8?q?Ludovic=20Court=C3=A8s?= Subject: [mumi v3 4/4] Set only GUILE_LOAD_PATH when running tests. Date: Wed, 8 Mar 2023 15:36:58 +0000 Message-Id: <20230308153658.19929-5-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <87r0tzgyok.fsf@systemreboot.net> References: <87r0tzgyok.fsf@systemreboot.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Somehow, the stubs in tests/client.scm do not work when compiled modules are found. This could be a guile bug. * Makefile.am (SCM_LOG_DRIVER): Do not use pre-inst-env. Set only the load path. --- Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 86ba4f0..3e57e63 100644 --- a/Makefile.am +++ b/Makefile.am @@ -70,8 +70,7 @@ EXTRA_DIST += $(TESTS) \ AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" GUILE_AUTO_COMPILE=0 SCM_LOG_DRIVER = \ - $(top_builddir)/pre-inst-env \ - $(GUILE) --no-auto-compile -e main \ + $(GUILE) --no-auto-compile -L $(top_srcdir) -e main \ $(top_srcdir)/build-aux/test-driver.scm AM_SCM_LOG_DRIVER_FLAGS = --brief=yes -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 16:47:46 2023 Received: (at 61645) by debbugs.gnu.org; 30 Mar 2023 20:47:46 +0000 Received: from localhost ([127.0.0.1]:59551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phzBR-0004yY-Tw for submit@debbugs.gnu.org; Thu, 30 Mar 2023 16:47:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phzBP-0004xl-TE for 61645@debbugs.gnu.org; Thu, 30 Mar 2023 16:47:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phzBI-0002Lw-NO; Thu, 30 Mar 2023 16:47:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=txpxKDD6oTVKMfnbGismhWP0scHIhD2UUwPAkMV+o2w=; b=aRqds0FoQsCFw3+IGbI7 XMovtJMVvhy4W8IpkWoZHeGhJ5kH3xhd4cQhpK2JBSaiuf8iY815OAe857RtDQkFLkolmkXb8CZWj iXVJlhCoul2k+l2b0/iDP2O8hstkKHUCS/9Vc1mn0PZWYFs7BW00O54+ZdBsWNg9OcwTaDROr1rgM 1va8PBeQDX7azhlxXF45vob2vT530TIql7Wsw5aFIFTVB0dXp17AcXqsZNlB46xzdRSdFWGS+80Q1 lWeqVm8dUPLW/4DRbXkLK1MYHRb6Ue7qNhdEZ3CatC2AbJZ/8CKKkZBDQciKHfwHNeEHthUeNjNJ7 QTmJyT7PqNNmwQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phzBH-0006fh-Tb; Thu, 30 Mar 2023 16:47:36 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Arun Isaac Subject: Re: bug#61645: [PATCH mumi 0/1] Add CLI client to search for issues References: <20230220013821.27440-1-arunisaac@systemreboot.net> <87bkl3a1ni.fsf@gnu.org> <87r0tzgyok.fsf@systemreboot.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 10 Germinal an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Couvoir X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 30 Mar 2023 22:47:34 +0200 In-Reply-To: <87r0tzgyok.fsf@systemreboot.net> (Arun Isaac's message of "Wed, 08 Mar 2023 13:28:11 +0000") Message-ID: <87pm8qhspl.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , 61645@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Arun Isaac skribis: >>> This is only the beginning. I have WIP patches that will add a "mumi >>> send-email" subcommand that will finally free us from our debbugs >>> dance when sending multiple patches. I will send them separately once >>> I have tested it more. > > I've already sent these patches as a v2 to this same issue. Waiting for > Ricardo to merge it now. I suspect Ricardo is busy with other things. :-) Should we set up a repo on Savannah (possibly within the =E2=80=98guix=E2= =80=99 project) or on notabug.org, sr.ht, codeberg.org or whatever to make it easier to distribute permissions? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 17:21:04 2023 Received: (at 61645) by debbugs.gnu.org; 30 Mar 2023 21:21:04 +0000 Received: from localhost ([127.0.0.1]:59609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phzhf-0008Nz-SO for submit@debbugs.gnu.org; Thu, 30 Mar 2023 17:21:04 -0400 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phzhd-0008NE-Lv for 61645@debbugs.gnu.org; Thu, 30 Mar 2023 17:21:02 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1680211253; cv=none; d=zohomail.com; s=zohoarc; b=Z4SmzjPIsBFErzJIFLik3+bDa1BCuykPPg2nGB4aEgHN2NC/r9zFCJROASfPRhbrFU8Kgu2QLXyj1x+U7o5Q0e97H2tXMjKbDLYKwT05GyQVJGkpeZX7iPTalCPEE5psqFAcjuiwRC33rZ+6Ai86t53hRXwiq/5PRut7aMbcQWE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680211253; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=lBvjVNR5miob9ulIx/YUZoUACblbrPz05mYFcx9b2dc=; b=duSruFiLTpSYSshCZP6joVVmcIVM6BFqftXeK0skIGjm9RMUIwZO4hfYIBq4V9JeLPxKfgnEmqEndFk9iYMlaLwk9OId511BW6fn+b1GgnIl0ZuIf+MxRjxbW3m+vTusmfyNg06/5SONmzjIMRA9Q+BC+wHuG8erkJR3jyr6ISI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1680211253; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=lBvjVNR5miob9ulIx/YUZoUACblbrPz05mYFcx9b2dc=; b=FyKSJI0YutkEeYdMdY1wR9Tlh0aQ9vc9kBsNHR9Z9+iuLpGo1oA44gMyOxM9julD CMBz9JniQqOguNTAnpgjEnsVn/N9tupOINOy553doJgp/IZVnRCHFLmUESB6rtJZL6Y wRBNAUG6HiReJWwGsrSi4s2EMbtPBSwIuOh1yaRU= Received: from localhost (i5E862C2D.versanet.de [94.134.44.45]) by mx.zohomail.com with SMTPS id 1680211252311863.7236828477355; Thu, 30 Mar 2023 14:20:52 -0700 (PDT) References: <20230220013821.27440-1-arunisaac@systemreboot.net> <87bkl3a1ni.fsf@gnu.org> <87r0tzgyok.fsf@systemreboot.net> <87pm8qhspl.fsf@gnu.org> User-agent: mu4e 1.8.13; emacs 28.2 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#61645: [PATCH mumi 0/1] Add CLI client to search for issues Date: Thu, 30 Mar 2023 22:57:57 +0200 In-reply-to: <87pm8qhspl.fsf@gnu.org> Message-ID: <87bkkac4wf.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: 61645@debbugs.gnu.org, Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ludovic Court=C3=A8s writes: > Arun Isaac skribis: > >>>> This is only the beginning. I have WIP patches that will add a "mumi >>>> send-email" subcommand that will finally free us from our debbugs >>>> dance when sending multiple patches. I will send them separately once >>>> I have tested it more. >> >> I've already sent these patches as a v2 to this same issue. Waiting for >> Ricardo to merge it now. > > I suspect Ricardo is busy with other things. :-) Oof, indeed! Very sorry about that. Arun, thank you for the patches! I have applied the patches locally, but ever since I moved git.elephly.net to gitile on the rockpro64 I haven=E2=80=99t been able to p= ush to my repos. I hadn=E2=80=99t been able to make any time to diagnose this problem as yet. (Probably related to nginx rewrite rules.) > Should we set up a repo on Savannah (possibly within the =E2=80=98guix=E2= =80=99 project) > or on notabug.org, sr.ht, codeberg.org or whatever to make it easier to > distribute permissions? Whichever you decide on: it has my blessing. --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 17:58:25 2023 Received: (at 61645-done) by debbugs.gnu.org; 30 Mar 2023 21:58:25 +0000 Received: from localhost ([127.0.0.1]:59660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pi0Hp-00011e-HH for submit@debbugs.gnu.org; Thu, 30 Mar 2023 17:58:25 -0400 Received: from sender3-of-o59.zoho.com ([136.143.184.59]:21960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pi0Hn-00011V-Tm for 61645-done@debbugs.gnu.org; Thu, 30 Mar 2023 17:58:24 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1680213496; cv=none; d=zohomail.com; s=zohoarc; b=l704qaK4jUe/VKzbADMoqbUde33Nrz1TrwTHiwFDSs40xv5lH5jPupERXVSCbXZ1GTToWvh6Ov4BXoyQ2eYuNhBKe3y9vr0B3BVKup06PkR+K+2wHEKRFfivsURdPjvRmbxf6roDd0ipIFfuMzIXIiVw0uzXXIa/3vGGsGR1K6A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680213496; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=MNXVKGJf9MzIRI3DQMchUMnLSCxKEU2rNnLEjNrsjr4=; b=htFurdLqsBZPSv5EKbeyAgJaW4Erh2oftzUG50GBrdEyniJtV8mqWibaMNI2OeMTFfQToYer9cmKofByuqayxz91PZwIrzvxv9/s3gvB+KqrFvExDJyh35iYQsszbVRdTEv8xkrgPnBInyx76vLdUPAR9Qa9MjUxr78JEa8dK5U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1680213496; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=MNXVKGJf9MzIRI3DQMchUMnLSCxKEU2rNnLEjNrsjr4=; b=atXfR6kLSRseRlVgIa9Zg3QX1aEGrAnHf6ESpkfzkGo/l+xmPS5udKZPSPV4mD1M jK+DVn8puYe2BjlJYGTZlRO3zSveU/mauRc8kLUUyhTQ3nN9bRc1mElXHwSfmFo6DSx BiN8hwHPTdalO9rkaDtuqyUGDIDMsAICiGZKutZs= Received: from localhost (i5E862C2D.versanet.de [94.134.44.45]) by mx.zohomail.com with SMTPS id 1680213493990133.2947965429238; Thu, 30 Mar 2023 14:58:13 -0700 (PDT) References: <20230220013821.27440-1-arunisaac@systemreboot.net> <87bkl3a1ni.fsf@gnu.org> <87r0tzgyok.fsf@systemreboot.net> <87pm8qhspl.fsf@gnu.org> <87bkkac4wf.fsf@elephly.net> User-agent: mu4e 1.8.13; emacs 28.2 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#61645: [PATCH mumi 0/1] Add CLI client to search for issues Date: Thu, 30 Mar 2023 23:57:50 +0200 In-reply-to: <87bkkac4wf.fsf@elephly.net> Message-ID: <877cuxdhql.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 61645-done Cc: Arun Isaac , 61645-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ricardo Wurmus writes: > I have applied the patches locally, but ever since I moved > git.elephly.net to gitile on the rockpro64 I haven=E2=80=99t been able to= push > to my repos. I hadn=E2=80=99t been able to make any time to diagnose this > problem as yet. (Probably related to nginx rewrite rules.) Fixed and pushed. --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 31 08:15:19 2023 Received: (at 61645) by debbugs.gnu.org; 31 Mar 2023 12:15:19 +0000 Received: from localhost ([127.0.0.1]:60605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piDf5-0007RI-BD for submit@debbugs.gnu.org; Fri, 31 Mar 2023 08:15:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piDf3-0007R6-VG for 61645@debbugs.gnu.org; Fri, 31 Mar 2023 08:15:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piDew-0006Cj-HC; Fri, 31 Mar 2023 08:15:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=XWzFKQJ9o0JbY0y0376bBUVwls5i6w0d5VWSC1QFBeQ=; b=nV1P36CGpnqxrzm3EtFa K0Fg0fkjFnvlbzREw0dnIElwPs7/3l2YoukXRjCAwfKTEmXxVZbzawZ7TR2aB/+An+asDbmKkCMv9 OmUeo0lTrkeL5nurE2RfPF2Cxsyf6K9HeZnIYoTt8kCCqEJUEnWRkQAEV7rgAK91KjArImp+vW8wb 97umPaXLz/T5Nya4XX2VHG87xBtQvdlVIf4nwIhWpQJmy7a1V37CWAI4Ufk4ODxSjFnGizdNj6hNi Zoui/qHGDIFtP9df84BIlFQV/3/T9v/bIn9DNqCki3L5MEYueRdOR4Le7t9yTDa+7l4iBtmVpTqaq KJ1m503hiWyZ+Q==; Received: from [193.50.110.123] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piDew-0003Ty-3F; Fri, 31 Mar 2023 08:15:10 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Ricardo Wurmus Subject: Re: bug#61645: [PATCH mumi 0/1] Add CLI client to search for issues References: <20230220013821.27440-1-arunisaac@systemreboot.net> <87bkl3a1ni.fsf@gnu.org> <87r0tzgyok.fsf@systemreboot.net> <87pm8qhspl.fsf@gnu.org> <87bkkac4wf.fsf@elephly.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 11 Germinal an 231 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour de la Pervenche X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 31 Mar 2023 14:15:08 +0200 In-Reply-To: <87bkkac4wf.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 30 Mar 2023 22:57:57 +0200") Message-ID: <87h6u15d83.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 61645 Cc: 61645@debbugs.gnu.org, Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) Hi! Ricardo Wurmus skribis: > Ludovic Court=C3=A8s writes: [...] >> Should we set up a repo on Savannah (possibly within the =E2=80=98guix= =E2=80=99 project) >> or on notabug.org, sr.ht, codeberg.org or whatever to make it easier to >> distribute permissions? > > Whichever you decide on: it has my blessing. Awesome (I hope that suggestion didn=E2=80=99t come out as harsh!). Arun, would you like to handle this? :-) To have it under the Guix umbrella on Savannah, you need to file a =E2=80=9Csupport request=E2=80=9D = on Savannah asking for a new Git repo. If you choose something else, well, it=E2=80=99s different (I=E2=80=99d personally recommend against git{hub,lab}.com). Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 31 16:32:56 2023 Received: (at 61645) by debbugs.gnu.org; 31 Mar 2023 20:32:56 +0000 Received: from localhost ([127.0.0.1]:34634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piLQd-0007pD-TO for submit@debbugs.gnu.org; Fri, 31 Mar 2023 16:32:56 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:36620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piLQb-0007p0-A3 for 61645@debbugs.gnu.org; Fri, 31 Mar 2023 16:32:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ysYEWod5VrJ4EK+le4/mbGIWQVNCCSBpcaCf0vZRV/U=; b=bAs7NI5RWX+1nTdQNXg9OJ2Bqb edvYL+i0qRiEZIQzRQ+QDlL3tUN/vjVfAzdbJAWveT1YuvK+qx4zOIHolUXyxcFaKQfxO3GbRuFsk fiXYweo3q2roP1sCkKUw2nSKdJfg+p/i6zJvYaKAyX4vZZwXh33AhKhGKIrnAsQlV7RAHywtEToFU sKDPuNQeveJQCMq51Mp6QgAfd4819AMAaMiUMf5h5Bn5deLq+tjg6pGZ+DwY3MJdaY8un4CHg18+k 4c8SOcUvXg4B+qNauebp5mNV32xdun3blm63T/JxEJdGVls0IwGnFumYqShnlxYRwVJpBRooE/0ik T96tQpSw==; Received: from [192.168.2.1] (port=58360 helo=localhost) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1piLQM-000Zoz-0n; Sat, 01 Apr 2023 02:02:38 +0530 From: Arun Isaac To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Ricardo Wurmus Subject: Re: bug#61645: [PATCH mumi 0/1] Add CLI client to search for issues In-Reply-To: <87h6u15d83.fsf@gnu.org> References: <20230220013821.27440-1-arunisaac@systemreboot.net> <87bkl3a1ni.fsf@gnu.org> <87r0tzgyok.fsf@systemreboot.net> <87pm8qhspl.fsf@gnu.org> <87bkkac4wf.fsf@elephly.net> <87h6u15d83.fsf@gnu.org> Date: Fri, 31 Mar 2023 21:32:34 +0100 Message-ID: <877cuwbr19.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: 61645@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo and Ricardo, > Arun, would you like to handle this? :-) To have it under the Guix > umbrella on Savannah, you need to file a =E2=80=9Csupport request=E2=80= =9D on Savannah > asking for a new Git repo. Done! See https://savannah.nongnu.org/support/?110861 > If you choose something else, well, it=E2=80=99s different (I=E2=80=99d p= ersonally > recommend against git{hub,lab}.com). Definitely! I am no big fan of git{hub,lab} either. >From time to time, I need to update the running instance of mumi on the server and refresh the xapian index. So, it might also help if I could have access to the server running mumi. Would it be appropriate for me to have access? Thanks! Arun From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 31 18:15:43 2023 Received: (at 61645) by debbugs.gnu.org; 31 Mar 2023 22:15:43 +0000 Received: from localhost ([127.0.0.1]:34780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piN27-0002h5-HP for submit@debbugs.gnu.org; Fri, 31 Mar 2023 18:15:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piN25-0002gs-EM for 61645@debbugs.gnu.org; Fri, 31 Mar 2023 18:15:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piN1y-0007C2-Im; Fri, 31 Mar 2023 18:15:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=/5GlfjV5Ezo1nWfpcfk/OKE7+js/0zYO/SvO9+dqjHo=; b=o04nQ+RfMVQXjol0TEHv LQozlKXtTlLz/YwF9Qy8g2iKBsVPAllRMcT1iOAmpPXbAWlfpHcQmI+FHzhZTkwFIyh8AO7qAm3T7 baMMpLxf/sQgeqm50KhCnbJ9Uqqb4/uYTRNglYySaduHaGjYubZukMR9sSRXEgfzr+9tKHWsO46/9 3iPTZVdcWRZcURrRm4Mus0uQlYn9xA1y/O338EwZ9hqqkQ35SyO6SmjWO05T75YF8GJNNNvWebaNC bTwx8/jTZpQ5yKnFmt0AVMBMUZFoaeG+uEh8gFWppS/38w2MEVFYMqOJW2veTWG0dgDF516zlDbNd D4GqmCzxVdmN/A==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piN1s-0004zC-CG; Fri, 31 Mar 2023 18:15:33 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Arun Isaac Subject: Re: bug#61645: [PATCH mumi 0/1] Add CLI client to search for issues References: <20230220013821.27440-1-arunisaac@systemreboot.net> <87bkl3a1ni.fsf@gnu.org> <87r0tzgyok.fsf@systemreboot.net> <87pm8qhspl.fsf@gnu.org> <87bkkac4wf.fsf@elephly.net> <87h6u15d83.fsf@gnu.org> <877cuwbr19.fsf@systemreboot.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Duodi 12 Germinal an 231 de la =?utf-8?Q?R=C3=A9volu?= =?utf-8?Q?tion=2C?= jour du Charme X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 01 Apr 2023 00:15:24 +0200 In-Reply-To: <877cuwbr19.fsf@systemreboot.net> (Arun Isaac's message of "Fri, 31 Mar 2023 21:32:34 +0100") Message-ID: <87tty0h8jn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , 61645@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello! Arun Isaac skribis: >> Arun, would you like to handle this? :-) To have it under the Guix >> umbrella on Savannah, you need to file a =E2=80=9Csupport request=E2=80= =9D on Savannah >> asking for a new Git repo. > > Done! See https://savannah.nongnu.org/support/?110861 Yay! >> If you choose something else, well, it=E2=80=99s different (I=E2=80=99d = personally >> recommend against git{hub,lab}.com). > > Definitely! I am no big fan of git{hub,lab} either. > > From time to time, I need to update the running instance of mumi on the > server and refresh the xapian index. So, it might also help if I could > have access to the server running mumi. Would it be appropriate for me > to have access? I think so! Could you email guix-sysadmin@gnu.org so everyone involved has a chance to see your request? Thank you, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 31 18:51:55 2023 Received: (at 61645) by debbugs.gnu.org; 31 Mar 2023 22:51:55 +0000 Received: from localhost ([127.0.0.1]:34821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piNb9-0003j5-1a for submit@debbugs.gnu.org; Fri, 31 Mar 2023 18:51:55 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:59606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piNb7-0003iv-5d for 61645@debbugs.gnu.org; Fri, 31 Mar 2023 18:51:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=0ixftdEX6zGLuGq01lbag999GYoUgy/gsNguBK5U7TU=; b=f5csB0fjLY755Px+azKu/ikzuU MtPqXqAjFrCyxQgn+yHQvfwDb39RP4asVbkGwib7OnSll/xu0oxzNPDLpn0sya3YiEbkjVjI9lSRD BSFgtypY/LKn0YKaXb9UmoEcufeaTmVBbZG6JJCH4pum/HVtWRl6GwwC8brcqzmNLMI5bHtByt5Br 3W0jlV0eCJfsj4TO/Cj8uxsbwwI5R/sq/KrOpNZaRsJsGGa6MELX78xCpdZm+lTkH2BI82LeLNPqb n835AIMhA+Xh8rJCGf8k5wAp9leQs7Y4BY453s8WcPgTsQNGQ2sBAApUWeIT7zxLChtUtvMVh35UN 2kXjyGog==; Received: from [192.168.2.1] (port=37462 helo=localhost) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1piNaw-000a4W-1N; Sat, 01 Apr 2023 04:21:43 +0530 From: Arun Isaac To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#61645: [PATCH mumi 0/1] Add CLI client to search for issues In-Reply-To: <87tty0h8jn.fsf@gnu.org> References: <20230220013821.27440-1-arunisaac@systemreboot.net> <87bkl3a1ni.fsf@gnu.org> <87r0tzgyok.fsf@systemreboot.net> <87pm8qhspl.fsf@gnu.org> <87bkkac4wf.fsf@elephly.net> <87h6u15d83.fsf@gnu.org> <877cuwbr19.fsf@systemreboot.net> <87tty0h8jn.fsf@gnu.org> Date: Fri, 31 Mar 2023 23:51:38 +0100 Message-ID: <871ql4bklh.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , 61645@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > I think so! Could you email guix-sysadmin@gnu.org so everyone involved > has a chance to see your request? Done, thanks! From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 01 13:33:12 2023 Received: (at 61645) by debbugs.gnu.org; 1 Apr 2023 17:33:12 +0000 Received: from localhost ([127.0.0.1]:38536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pif6G-0000uw-0s for submit@debbugs.gnu.org; Sat, 01 Apr 2023 13:33:12 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:49554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pif6D-0000uj-9f for 61645@debbugs.gnu.org; Sat, 01 Apr 2023 13:33:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=OR613mU1lLhiS5+eqFOXCO9cCN1qpRQQQAQkPLEe+QI=; b=Oooz9QF+5NKwAROhsy4VZ9MuvI W+YApN/YZxtLtAY7J6kwuVLiZYXTY4UnSdn6LYJViCp93EOzZQrXhKeQ7R4a/g6nXJcC9PxP4iShR jtryxOkrCuzta0PShpCAU+DPs03CvHYKH5e1YHZzg46AqtzXvEbEfD7Pp8T28VNPbqJhnyp2a2os0 iZhqPyigeFdXPIdgRiEwZloKncHqTtAbCrANhfWxn4qPH0ZIHKT3nDJQZS53Ka4mCQGywFWwjGt2n Ha4jR3lxRHWj6dRwEllRTUuFOgkBhWYugIVDO99CFeJsVN+j8P8SsfN+FkXlvIgE60jb0yZKoIAs1 xR1orrUQ==; Received: from [192.168.2.1] (port=60308 helo=localhost) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pif61-000be5-0N; Sat, 01 Apr 2023 23:02:57 +0530 From: Arun Isaac To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#61645: [PATCH mumi 0/1] Add CLI client to search for issues In-Reply-To: <87tty0h8jn.fsf@gnu.org> References: <20230220013821.27440-1-arunisaac@systemreboot.net> <87bkl3a1ni.fsf@gnu.org> <87r0tzgyok.fsf@systemreboot.net> <87pm8qhspl.fsf@gnu.org> <87bkkac4wf.fsf@elephly.net> <87h6u15d83.fsf@gnu.org> <877cuwbr19.fsf@systemreboot.net> <87tty0h8jn.fsf@gnu.org> Date: Sat, 01 Apr 2023 18:32:53 +0100 Message-ID: <87y1nba4oq.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , 61645@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo, >>> Arun, would you like to handle this? :-) To have it under the Guix >>> umbrella on Savannah, you need to file a =E2=80=9Csupport request=E2=80= =9D on Savannah >>> asking for a new Git repo. >> >> Done! See https://savannah.nongnu.org/support/?110861 They want an admin of the Guix project to confirm my request. Could you please go to the support request page and do so? Thanks! Arun From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 24 10:41:53 2023 Received: (at 61645) by debbugs.gnu.org; 24 Apr 2023 14:41:53 +0000 Received: from localhost ([127.0.0.1]:50118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqxO4-0004pv-Tc for submit@debbugs.gnu.org; Mon, 24 Apr 2023 10:41:53 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:52290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqxO2-0004pm-V7 for 61645@debbugs.gnu.org; Mon, 24 Apr 2023 10:41:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=wEgrbmNqHYFDAChRriFaJzrF9/Nal90pM1qyRkLik7s=; b=FtNpwElZ68CDtgYldctOR0CRnR APf/7LECFDVi0Wme5gFqyTBFLlBtjvdbYpusNtjuHkD1qO2MCSVwGbIz3snEs9VmsyeFAJ6UwSBkJ A1928LYFoPSa35Cg1zE1eD29uGeRWfSxwmiAwrfgiYqnXgISiSIKF0s3Tl8gtRrDDNQgdP3l8kOnm U1f40KPT0VCDA3wPbEvw0h9nyVWIkCZKcGKUMDZR6zJkOT+7NmT3MseAoF9D2sGtAnB+U7MjBu1r4 7NdQ4FtiSd+8u41Os+qhnOINzBSgCT1WHFryVHWWxbrmiEI/FLmKPvytFFf3bVDhdrEtA26+3b7jE RoJAIChQ==; Received: from [192.168.2.1] (port=50724 helo=localhost) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pqxNp-000eXA-29; Mon, 24 Apr 2023 15:41:38 +0100 From: Arun Isaac To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Ricardo Wurmus Subject: Re: bug#61645: [PATCH mumi 0/1] Add CLI client to search for issues In-Reply-To: <87y1nba4oq.fsf@systemreboot.net> References: <20230220013821.27440-1-arunisaac@systemreboot.net> <87bkl3a1ni.fsf@gnu.org> <87r0tzgyok.fsf@systemreboot.net> <87pm8qhspl.fsf@gnu.org> <87bkkac4wf.fsf@elephly.net> <87h6u15d83.fsf@gnu.org> <877cuwbr19.fsf@systemreboot.net> <87tty0h8jn.fsf@gnu.org> <87y1nba4oq.fsf@systemreboot.net> Date: Mon, 24 Apr 2023 15:41:33 +0100 Message-ID: <87r0s9ibqa.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: 61645@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, I have pushed a copy of the mumi repo to Savannah and updated our mumi package to the latest commit of mumi. I will send out a separate email to guix-devel explaining how to use the new mumi client. At some point in the near future, we should consider making a mumi 0.1.0 release. Regards, Arun From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 24 16:01:42 2023 Received: (at 61645) by debbugs.gnu.org; 24 Apr 2023 20:01:42 +0000 Received: from localhost ([127.0.0.1]:50388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pr2NZ-0007xB-N7 for submit@debbugs.gnu.org; Mon, 24 Apr 2023 16:01:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pr2NX-0007wt-S3 for 61645@debbugs.gnu.org; Mon, 24 Apr 2023 16:01:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pr2NQ-0000i4-G2; Mon, 24 Apr 2023 16:01:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=HJLGCLnYxa7f7WGCszrRp54USkGh7O9FV2TZLgf/ajI=; b=MGHSc2FGmIsaao2fWvHp oxWM8rj/jAMhZFVmVrQRzhD1FvEqF/z/8m96kSG+zeHi/jMEKYdRo2p03BmItifkVva1r0N8G8+Zz SxvCbWAJLwGVqmVr5SvS53FDuiCJbUdchBHlKszicXr8fFrlOUvZAs4v2W//aqSWZ67QU1nrMditF RNKjUeqjxGTAYDN+GSDozqEZ0pUoQV7CGJSW/xr7thRqXRRdRfXbOhxhVDCwQBHaY8SVkAVTKG00z ql4myNJg2ftMjCH2Q43puDNsfz6QLh0NH4Z76fnq40Y7DTJYfayTfw6j4yI1R+mWfG0IMJSLBjlSw udpYpLtHPGyDEg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pr2NP-0005bh-LF; Mon, 24 Apr 2023 16:01:32 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Arun Isaac Subject: Re: bug#61645: [PATCH mumi 0/1] Add CLI client to search for issues References: <20230220013821.27440-1-arunisaac@systemreboot.net> <87bkl3a1ni.fsf@gnu.org> <87r0tzgyok.fsf@systemreboot.net> <87pm8qhspl.fsf@gnu.org> <87bkkac4wf.fsf@elephly.net> <87h6u15d83.fsf@gnu.org> <877cuwbr19.fsf@systemreboot.net> <87tty0h8jn.fsf@gnu.org> <87y1nba4oq.fsf@systemreboot.net> <87r0s9ibqa.fsf@systemreboot.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 5 =?utf-8?Q?Flor=C3=A9al?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Rossignol X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 24 Apr 2023 22:01:28 +0200 In-Reply-To: <87r0s9ibqa.fsf@systemreboot.net> (Arun Isaac's message of "Mon, 24 Apr 2023 15:41:33 +0100") Message-ID: <87sfcp2go7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , 61645@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Arun Isaac skribis: > I have pushed a copy of the mumi repo to Savannah and updated our mumi > package to the latest commit of mumi. I will send out a separate email > to guix-devel explaining how to use the new mumi client. Yay! > At some point in the near future, we should consider making a mumi 0.1.0 > release. Maybe consider 1.0, even? After all, it does the job, right? https://0ver.org/ Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 25 08:28:54 2023 Received: (at 61645) by debbugs.gnu.org; 25 Apr 2023 12:28:54 +0000 Received: from localhost ([127.0.0.1]:51605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prHmv-0005Pn-QW for submit@debbugs.gnu.org; Tue, 25 Apr 2023 08:28:54 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:33438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prHms-0005Pb-Sq for 61645@debbugs.gnu.org; Tue, 25 Apr 2023 08:28:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZzRddBbGrlkeFsZTTUsw7S2DQDsXYVhiA85iWVprAsE=; b=j21j8S/yg5px1blaMydzSDMmG5 BYmlA6TxDCUWp0VaJ/lY0NsJ2YCb1bb5XGRh4yI4cKeudNBxv9+q0fVuH2vb2e2PFL8nHWO3PS0kx smQALl9J49RAO3+KzkzZSQlKiOkKgMZBO5d0vJM+uh6LxV5LXuK8DGjLRHjrLCO08jBOBFTKHVKhY TOWRAq0wYkBUv2AR6n1oyns+KaoqRNFu/IIVOdB0C0M4u/ec3A7Mur7bwsNKnlGVIxlUvgB6ooXhr nIpg4JYgLaxUZYxwz/v5wDrYgKwqz4pBb98HWNtZ3FSop0NUWc3izjJ7f1axYOSREWBkpQumMpf1d AOUFnJWQ==; Received: from [192.168.2.1] (port=42778 helo=localhost) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1prHmh-000hEn-2q; Tue, 25 Apr 2023 13:28:40 +0100 From: Arun Isaac To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#61645: [PATCH mumi 0/1] Add CLI client to search for issues In-Reply-To: <87sfcp2go7.fsf@gnu.org> References: <20230220013821.27440-1-arunisaac@systemreboot.net> <87bkl3a1ni.fsf@gnu.org> <87r0tzgyok.fsf@systemreboot.net> <87pm8qhspl.fsf@gnu.org> <87bkkac4wf.fsf@elephly.net> <87h6u15d83.fsf@gnu.org> <877cuwbr19.fsf@systemreboot.net> <87tty0h8jn.fsf@gnu.org> <87y1nba4oq.fsf@systemreboot.net> <87r0s9ibqa.fsf@systemreboot.net> <87sfcp2go7.fsf@gnu.org> Date: Tue, 25 Apr 2023 13:28:32 +0100 Message-ID: <871qk8i1sf.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61645 Cc: Ricardo Wurmus , 61645@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >> At some point in the near future, we should consider making a mumi 0.1.0 >> release. > > Maybe consider 1.0, even? After all, it does the job, right? Sure, 1.0.0 is good too! From unknown Fri Jun 20 07:16:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 24 May 2023 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 23 08:24:11 2024 Received: (at control) by debbugs.gnu.org; 23 Feb 2024 13:24:11 +0000 Received: from localhost ([127.0.0.1]:38392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdVX9-0000M9-9g for submit@debbugs.gnu.org; Fri, 23 Feb 2024 08:24:11 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]:52832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdVX7-0000Lx-DD for control@debbugs.gnu.org; Fri, 23 Feb 2024 08:24:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=0PeEJYVffjYOBZE HGZWFMzZuqMQDkikIxyohJDTEc0c=; h=date:cc:to:from; d=lease-up.com; b=hd uWOtzruwXENaYv9M3KDGM1xgXMQYebOROpyi0dQOtUdq2T6NJqybegl/3CYFadl66+XGCW UBykA+2Hr1VxczMBuTammIk7z3rZCtX5l1M2wILplj4MsIJKCrQt59gJs9+QO10yOuBB1/ DQRuB/cf0/1x1pROxNrsDEG9pWvE4= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id ed37bc2b (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Fri, 23 Feb 2024 13:23:44 +0000 (UTC) From: Felix Lechner To: control@debbugs.gnu.org Date: Fri, 23 Feb 2024 05:23:44 -0800 Message-ID: <875xyf1fhb.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: unarchive 68680 reassign 68680 mumi archive 68680 unarchive 63802 reassign 63802 mumi archive 63802 unarchive 63215 reassign 63215 mumi archive 63215 Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) unarchive 68680 reassign 68680 mumi archive 68680 unarchive 63802 reassign 63802 mumi archive 63802 unarchive 63215 reassign 63215 mumi archive 63215 unarchive 61645 reassign 61645 mumi archive 61645 unarchive 60410 reassign 60410 mumi archive 60410 unarchive 60292 reassign 60292 mumi archive 60292 unarchive 60292 reassign 60292 mumi archive 60292 unarchive 58573 reassign 58573 mumi archive 58573 unarchive 54024 reassign 54024 mumi archive 54024 unarchive 49115 reassign 49115 mumi archive 49115 unarchive 48160 reassign 48160 mumi archive 48160 unarchive 47739 reassign 47739 mumi archive 47739 unarchive 47520 reassign 47520 mumi archive 47520 unarchive 47121 reassign 47121 mumi archive 47121 unarchive 45015 reassign 45015 mumi archive 45015 unarchive 43661 reassign 43661 mumi archive 43661 unarchiv 43166 reassign 43166 mumi archive 43166 unarchive 41906 reassign 41906 mumi archive 41906 unarchive 41098 reassign 41098 mumi archive 41098 unarchive 39924 reassign 39924 mumi archive 39924 unarchive 39924 reassign 39924 mumi archive 39924 unarchive 39924 reassign 39924 mumi archive 39924 thanks