From nobody Mon Feb 9 14:03:08 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1648661550478933.7594889161411; Wed, 30 Mar 2022 10:32:30 -0700 (PDT) Received: from localhost ([::1]:35570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZcBJ-0005PD-6L for importer@patchew.org; Wed, 30 Mar 2022 13:32:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZc7U-00061P-T4 for qemu-devel@nongnu.org; Wed, 30 Mar 2022 13:28:32 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:27090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZc7S-0003Lo-So for qemu-devel@nongnu.org; Wed, 30 Mar 2022 13:28:32 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-381--GMWzKeCP9Ct4D3MucWIkg-1; Wed, 30 Mar 2022 13:28:28 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5C4C083395F; Wed, 30 Mar 2022 17:28:28 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.35.177]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0220D40CFD02; Wed, 30 Mar 2022 17:28:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648661310; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wIedATEMbLm8tOZpNi+wLoXYeYnw8oOQd+pHDx0T0lY=; b=K2pSHY+QitP0I0jvIx/k7p7s8Y+LAGlBTcB4UNPLv/8/YyEsC7DDmvvL7D3M1oduvCPWI5 F9EHcl7J+oqJSs+qnsCTgj0qJ5FvabU9CgMBjz8iDehEneQxguHEK3iciIYlEU+gQOIkmb ziuBAAsvKJyPnF6aYzlDYkP/jXOwRqs= X-MC-Unique: -GMWzKeCP9Ct4D3MucWIkg-1 From: John Snow To: qemu-devel@nongnu.org Subject: [PATCH v2 8/9] python: rename 'aqmp-tui' to 'qmp-tui' Date: Wed, 30 Mar 2022 13:28:11 -0400 Message-Id: <20220330172812.3427355-9-jsnow@redhat.com> In-Reply-To: <20220330172812.3427355-1-jsnow@redhat.com> References: <20220330172812.3427355-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=jsnow@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , Vladimir Sementsov-Ogievskiy , Beraldo Leal , qemu-block@nongnu.org, Markus Armbruster , Hanna Reitz , Cleber Rosa , John Snow Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1648661551144100001 Content-Type: text/plain; charset="utf-8"; x-default="true" This is the last vestige of the "aqmp" moniker surviving in the tree; remov= e it. Signed-off-by: John Snow Reviewed-by: Beraldo Leal Reviewed-by: Vladimir Sementsov-Ogievskiy --- python/qemu/qmp/{aqmp_tui.py =3D> qmp_tui.py} | 12 ++++++------ python/setup.cfg | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) rename python/qemu/qmp/{aqmp_tui.py =3D> qmp_tui.py} (98%) diff --git a/python/qemu/qmp/aqmp_tui.py b/python/qemu/qmp/qmp_tui.py similarity index 98% rename from python/qemu/qmp/aqmp_tui.py rename to python/qemu/qmp/qmp_tui.py index 59d3036be38..ce239d8979b 100644 --- a/python/qemu/qmp/aqmp_tui.py +++ b/python/qemu/qmp/qmp_tui.py @@ -6,13 +6,13 @@ # This work is licensed under the terms of the GNU LGPL, version 2 or # later. See the COPYING file in the top-level directory. """ -AQMP TUI +QMP TUI =20 -AQMP TUI is an asynchronous interface built on top the of the AQMP library. +QMP TUI is an asynchronous interface built on top the of the QMP library. It is the successor of QMP-shell and is bought-in as a replacement for it. =20 -Example Usage: aqmp-tui -Full Usage: aqmp-tui --help +Example Usage: qmp-tui +Full Usage: qmp-tui --help """ =20 import argparse @@ -129,7 +129,7 @@ def has_handler_type(logger: logging.Logger, =20 class App(QMPClient): """ - Implements the AQMP TUI. + Implements the QMP TUI. =20 Initializes the widgets and starts the urwid event loop. =20 @@ -612,7 +612,7 @@ def main() -> None: Driver of the whole script, parses arguments, initialize the TUI and the logger. """ - parser =3D argparse.ArgumentParser(description=3D'AQMP TUI') + parser =3D argparse.ArgumentParser(description=3D'QMP TUI') parser.add_argument('qmp_server', help=3D'Address of the QMP server. ' 'Format ') parser.add_argument('--num-retries', type=3Dint, default=3D10, diff --git a/python/setup.cfg b/python/setup.cfg index 773e51b34e7..e877ea56475 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -51,7 +51,7 @@ devel =3D fuse =3D fusepy >=3D 2.0.4 =20 -# AQMP TUI dependencies +# QMP TUI dependencies tui =3D urwid >=3D 2.1.2 urwid-readline >=3D 0.13 @@ -68,7 +68,7 @@ console_scripts =3D qemu-ga-client =3D qemu.utils.qemu_ga_client:main qmp-shell =3D qemu.qmp.qmp_shell:main qmp-shell-wrap =3D qemu.qmp.qmp_shell:main_wrap - aqmp-tui =3D qemu.qmp.aqmp_tui:main [tui] + qmp-tui =3D qemu.qmp.qmp_tui:main [tui] =20 [flake8] extend-ignore =3D E722 # Prefer pylint's bare-except checks to flake8's @@ -84,7 +84,7 @@ namespace_packages =3D True # fusepy has no type stubs: allow_subclassing_any =3D True =20 -[mypy-qemu.qmp.aqmp_tui] +[mypy-qemu.qmp.qmp_tui] # urwid and urwid_readline have no type stubs: allow_subclassing_any =3D True =20 --=20 2.34.1