From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wHuZOe2rCGQFSAEASxT56A (envelope-from ) for ; Wed, 08 Mar 2023 16:38:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IGaaOe2rCGRzJQEA9RJhRA (envelope-from ) for ; Wed, 08 Mar 2023 16:38:21 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C45B0716E for ; Wed, 8 Mar 2023 16:38:21 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=ldWhkHQ+; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678289901; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=srZH8PiHU889ywW2oK/C+u22szV3Q4lwmEiqKPAgW7w=; b=a3cnle4HzQGt51k4Fq307bD01w66QxKmEGM6CoZ7rOqFp9VhVh6WcewWO+rWQLD6lkQ5Md /qYuIT6VNOJSy824k5r99e+w4rm+jLfa8KuMGwVWjMxwko/e11d2F7mkmJ5EIjlbydhfvI QOcBgZ4rGg9rFnUQAIsP7I1st8eSIDRdQOIqCVP7GDTHxq+RM7A81ogb3K1Roii9k9laqT EtdVGfnj0+k3TERF2ZWZF9/reDrPWXoNGFCKPFM3PzeX5nHDBvKrHnPlC74D5zERBCibYj iWFsZ7DbYxD33Rb4aq3fuCpTUpXj8F/yDVo+ycv1V+oYe6VNDS8s/93CzGLv3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678289901; a=rsa-sha256; cv=none; b=rZYdqLv6xEXfP58MM3HWWtvjEf3mEEGTqNT210sxWXI9BlB6Etx8d9ZmTX8EOtyh8C8ruO NKm+7u1yvKVLyHQlNS+K7AMIv1calnGtiFXwg6+goI123q8maDZo3sSapfEftmIgwTEdh3 0yPhVEnvNI9WBQ2FXpo8I3QqbzlgpwJJacueGzgz0tXsDCyZTNtk7zuSMuwI/sxME8Y6De lGOWdkzPgPGRKNUQLv2LSoj98HVsSqnUmsAcNw+s4SwovFZWCWLZw7h4fZOujdPm81ZkYq 614rpR5MtERREo2rreuU/p0qCmNeeefyGiOHrrZHRf5ydn+w6bB+cWPTVUNfRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=ldWhkHQ+; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZvrg-0006GT-8C; Wed, 08 Mar 2023 10:38:04 -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 1pZvre-0006Fu-IT for guix-patches@gnu.org; Wed, 08 Mar 2023 10:38:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZvre-00042d-6e for guix-patches@gnu.org; Wed, 08 Mar 2023 10:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZvre-0007ol-21 for guix-patches@gnu.org; Wed, 08 Mar 2023 10:38:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61645] [mumi v3 0/4] Add mumi CLI client Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Mar 2023 15:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61645@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Ricardo Wurmus , Arun Isaac Received: via spool by 61645-submit@debbugs.gnu.org id=B61645.167828985029946 (code B ref 61645); Wed, 08 Mar 2023 15:38:02 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: C45B0716E X-Spam-Score: 6.50 X-Migadu-Spam-Score: 6.50 List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: pb3vniEeYQzP 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