From patchwork Wed Mar 8 15:36:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 1334 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6CA7F16E34; Wed, 8 Mar 2023 15:38:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B9E8916E0D for ; Wed, 8 Mar 2023 15:38:21 +0000 (GMT) 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 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: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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