From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qAIvIVLP8mPpMQAAbAwnHQ (envelope-from ) for ; Mon, 20 Feb 2023 02:39:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8PtIIFLP8mMpxgAAG6o9tA (envelope-from ) for ; Mon, 20 Feb 2023 02:39:30 +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 9FAE930EE0 for ; Mon, 20 Feb 2023 02:39:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTv8z-0002Z3-Pe; Sun, 19 Feb 2023 20:39:05 -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 1pTv8w-0002Yo-Os for guix-patches@gnu.org; Sun, 19 Feb 2023 20:39:03 -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 1pTv8w-0000Yi-G4 for guix-patches@gnu.org; Sun, 19 Feb 2023 20:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pTv8v-00062O-R7 for guix-patches@gnu.org; Sun, 19 Feb 2023 20:39:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61645] [PATCH mumi 0/1] Add CLI client to search for issues Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Feb 2023 01:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61645@debbugs.gnu.org Cc: Ricardo Wurmus , Arun Isaac X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167685713323192 (code B ref -1); Mon, 20 Feb 2023 01:39:01 +0000 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 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-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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=i3MyNebP; 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-Seal: i=1; s=key1; d=yhetil.org; t=1676857166; a=rsa-sha256; cv=none; b=mgl9NWvGW5utre5SItJvqzIGIyC3Z7KhkoD8GLN6UiiYjHqkdnHtmQIXs6B2xnoc3JcrJp zoB7liDSGfsK+oYQlYuMXWWQAOzfs0AbZl0hTk+TEPk3L8OuxKolR30D6r5I+uK2PhqAZ5 Si6P9UQpmdv5Yn4ejNNuWZCON1GVw64N/LG8nbr1sgdblO9+s9nMW/etRRMCnZzNcWXCb9 667kgv93xxmUi83AWUaGjvQaLEyIc0antMEoqvXhgbsWNfg0tnaUHmn8rmRz8KILuCboR9 EFqe+Q0hCgWrW/glWgBDM3bfhmO9VUxY8MnRUoxCgUSEqmNADrz5UvNkpPAXYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676857166; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2pnpKvpmJ6dRU/ze6LlFDE7jfhX3aDShLEfXXMY1dRQ=; b=N1tM8tP/txC3FFLLPK0eEaZEZ2AuCZQ3qFkt7nDx8+LowknC96HZFjUKQYB6QTLkkEInfo lPLaCdjAn/wPS+ZxDVXX2IxjlXvstpFQb/VMkOg6+HhpeYkaBXm/o9dSL9Hj8hK3Xva4JP 4cXH0LA7f+Y9XheIrYkTiKH3yASxb9jBxs33a0OxUlpyMepkao4G6jcWe3//s1sNm24lYm Hl5gY0UUTDC7rG/LODJxJSpGX/7cRp8wKUTlNaWv6TideRzzdXkvgP5BXqzQ04mfsVtPHJ NvHuPwUUnASRelDFzIYto5PV4bfLAdgCBm+KJPPpvjxwpj7rn+Ywio5CF+4WAw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=i3MyNebP; 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) X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.74 X-Spam-Score: -0.74 X-Migadu-Queue-Id: 9FAE930EE0 X-TUID: oDtA+QySrHYO 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