From nobody Sun Feb 8 19:48:37 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 1639602656078284.0988259037413; Wed, 15 Dec 2021 13:10:56 -0800 (PST) Received: from localhost ([::1]:58772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbY6-0004GG-J2 for importer@patchew.org; Wed, 15 Dec 2021 16:10:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbVa-0002Mm-LH for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:18 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:22670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbVX-0006Wd-LQ for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:18 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-557-acXw4jNqO6q00ZB4JQv2uQ-1; Wed, 15 Dec 2021 16:08:12 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4A2F510151E0; Wed, 15 Dec 2021 21:08:10 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id A99235F4E1; Wed, 15 Dec 2021 21:07:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602494; 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=7QqEykcf5R7WqKIajTVv15J/QOBDgnpjVdT4Ag8JfWw=; b=SaSjg1HawkfdIaIJsz+Uyx8NUQxQJub0pFpi/4CVmQ8y1FCIs68yTGblTw94CuzwVXz55m yzsjvP9FuvPFXVBSHZYOwW5yBMCD3OH2SomD5GCjnSMAduwodyMqEmQ36ALSF1Q5AmzCE1 h9eNunDn6J/GwVNJmHoXuU1VJ6mjKZs= X-MC-Unique: acXw4jNqO6q00ZB4JQv2uQ-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 01/24] Fork qemu.qmp from qemu.git Date: Wed, 15 Dec 2021 16:06:11 -0500 Message-Id: <20211215210634.3779791-2-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639602656951100001 Content-Type: text/plain; charset="utf-8" Split python/ from qemu.git, using these commands: > git subtree split -P python/ -b python-split-v2 > mkdir ~/src/tmp > cd ~/src/tmp > git clone --no-local --branch python-split-v2 --single-branch ~/src/qemu > cd qemu > git filter-repo --path qemu/machine/ \ --path qemu/utils/ \ --path tests/iotests-mypy.sh \ --path tests/iotests-pylint.sh \ --invert-paths This commit performs some minimum cleanup to reflect the deletion of the other subpackages. It is not intended to be exhaustive, and further edits are made in forthcoming commits. Signed-off-by: John Snow --- .gitignore | 2 +- Makefile | 16 ++++++++-------- setup.cfg | 24 +----------------------- setup.py | 2 +- 4 files changed, 11 insertions(+), 33 deletions(-) diff --git a/.gitignore b/.gitignore index 904f324..b071f02 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ # python packaging build/ dist/ -qemu.egg-info/ +qemu.qmp.egg-info/ =20 # editor config .idea/ diff --git a/Makefile b/Makefile index 3334311..a2d2f2c 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ help: @echo "" @echo "make develop:" @echo " Install deps needed for for 'make check'," - @echo " and install the qemu package in editable mode." + @echo " and install the qemu.qmp package in editable mode." @echo " (Can be used in or outside of a venv.)" @echo "" @echo "make pipenv" @@ -43,7 +43,7 @@ help: @echo " Remove package build output." @echo "" @echo "make distclean:" - @echo " remove pipenv/venv files, qemu package forwarder," + @echo " remove pipenv/venv files, qemu.qmp package forwarder," @echo " built distribution files, and everything from 'make clean'." @echo "" @echo -e "Have a nice day ^_^\n" @@ -64,11 +64,11 @@ dev-venv: $(QEMU_VENV_DIR) $(QEMU_VENV_DIR)/bin/activate $(QEMU_VENV_DIR) $(QEMU_VENV_DIR)/bin/activate: setup.cfg @echo "VENV $(QEMU_VENV_DIR)" @python3 -m venv $(QEMU_VENV_DIR) - @( \ - echo "ACTIVATE $(QEMU_VENV_DIR)"; \ - . $(QEMU_VENV_DIR)/bin/activate; \ - echo "INSTALL qemu[devel] $(QEMU_VENV_DIR)"; \ - make develop 1>/dev/null; \ + @( \ + echo "ACTIVATE $(QEMU_VENV_DIR)"; \ + . $(QEMU_VENV_DIR)/bin/activate; \ + echo "INSTALL qemu.qmp[devel] $(QEMU_VENV_DIR)"; \ + make develop 1>/dev/null; \ ) @touch $(QEMU_VENV_DIR) =20 @@ -106,6 +106,6 @@ clean: =20 .PHONY: distclean distclean: clean - rm -rf qemu.egg-info/ .venv/ .tox/ $(QEMU_VENV_DIR) dist/ + rm -rf qemu.qmp.egg-info/ .venv/ .tox/ $(QEMU_VENV_DIR) dist/ rm -f .coverage .coverage.* rm -rf htmlcov/ diff --git a/setup.cfg b/setup.cfg index 911ae02..9999bca 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -name =3D qemu +name =3D qemu.qmp version =3D file:VERSION maintainer =3D QEMU Developer Team maintainer_email =3D qemu-devel@nongnu.org @@ -25,8 +25,6 @@ classifiers =3D python_requires =3D >=3D 3.6 packages =3D qemu.qmp - qemu.machine - qemu.utils =20 [options.package_data] * =3D py.typed @@ -38,7 +36,6 @@ packages =3D devel =3D avocado-framework >=3D 90.0 flake8 >=3D 3.6.0 - fusepy >=3D 2.0.4 isort >=3D 5.1.2 mypy >=3D 0.770 pylint >=3D 2.8.0 @@ -47,10 +44,6 @@ devel =3D urwid-readline >=3D 0.13 Pygments >=3D 2.9.0 =20 -# Provides qom-fuse functionality -fuse =3D - fusepy >=3D 2.0.4 - # AQMP TUI dependencies tui =3D urwid >=3D 2.1.2 @@ -59,13 +52,6 @@ tui =3D =20 [options.entry_points] console_scripts =3D - qom =3D qemu.utils.qom:main - qom-set =3D qemu.utils.qom:QOMSet.entry_point - qom-get =3D qemu.utils.qom:QOMGet.entry_point - qom-list =3D qemu.utils.qom:QOMList.entry_point - qom-tree =3D qemu.utils.qom:QOMTree.entry_point - qom-fuse =3D qemu.utils.qom_fuse:QOMFuse.entry_point [fuse] - qemu-ga-client =3D qemu.utils.qemu_ga_client:main qmp-shell =3D qemu.qmp.qmp_shell:main aqmp-tui =3D qemu.qmp.aqmp_tui:main [tui] =20 @@ -79,19 +65,12 @@ python_version =3D 3.6 warn_unused_configs =3D True namespace_packages =3D True =20 -[mypy-qemu.utils.qom_fuse] -# fusepy has no type stubs: -allow_subclassing_any =3D True - [mypy-qemu.qmp.aqmp_tui] # urwid and urwid_readline have no type stubs: allow_subclassing_any =3D True =20 # The following missing import directives are because these libraries do n= ot # provide type stubs. Allow them on an as-needed basis for mypy. -[mypy-fuse] -ignore_missing_imports =3D True - [mypy-urwid] ignore_missing_imports =3D True =20 @@ -160,7 +139,6 @@ skip_missing_interpreters =3D true allowlist_externals =3D make deps =3D .[devel] - .[fuse] # Workaround to trigger tox venv rebuild .[tui] # Workaround to trigger tox venv rebuild commands =3D make check diff --git a/setup.py b/setup.py index 2014f81..cb9b9b6 100755 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 """ -QEMU tooling installer script +QEMU QMP library installer script Copyright (c) 2020-2021 John Snow for Red Hat, Inc. """ =20 --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639602750681243.91478238411332; Wed, 15 Dec 2021 13:12:30 -0800 (PST) Received: from localhost ([::1]:33074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbZd-00066A-Lk for importer@patchew.org; Wed, 15 Dec 2021 16:12:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbVw-0003E6-0y for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:40 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:33850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbVu-0006ZF-Lp for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:39 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-21-3zi-w22CPDGblPd_dGDPNg-1; Wed, 15 Dec 2021 16:08:25 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 13362760C1; Wed, 15 Dec 2021 21:08:24 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 702095F4E1; Wed, 15 Dec 2021 21:08:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602518; 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=rM6TnEhCJRCOH9BQUvJz+vrFb0IJyWQDp971dMJLaYU=; b=jWhEMsSJKRr9BDAT6GcP1qPwuZt8iqErU+4uFZYrn9clTEa4r/IZNX/R+8bJv0NTzSpl4M kSnAepgH7s/w9dZ7KXy07/g/LT0PBMISyHNcmO0knwIFtjOm6j59NI1Ms53kQ7PRF5TaO+ JSRM07A+akK6j9AMOXsAp1e/aslHon4= X-MC-Unique: 3zi-w22CPDGblPd_dGDPNg-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 02/24] Update VERSION to 0.0.0a1 Date: Wed, 15 Dec 2021 16:06:12 -0500 Message-Id: <20211215210634.3779791-3-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639602751974100001 Content-Type: text/plain; charset="utf-8" qemu.qmp will be independently versioned, without regard to QMP version. While the repo is being established here, set the version to something impossibly low. Signed-off-by: John Snow --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index c19f3b8..7741e1a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.6.1.0a1 +0.0.0a1 --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639602832900536.5766563196584; Wed, 15 Dec 2021 13:13:52 -0800 (PST) Received: from localhost ([::1]:39138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbax-0001nS-Kn for importer@patchew.org; Wed, 15 Dec 2021 16:13:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbVp-0002se-5h for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:33 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:41857) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbVn-0006Y9-1w for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:32 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-240-3ZM0S2fbMe2NnmLqGXk4GQ-1; Wed, 15 Dec 2021 16:08:26 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1C0A11B2C985; Wed, 15 Dec 2021 21:08:25 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 397645F4E1; Wed, 15 Dec 2021 21:08:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602509; 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=mesINtvd0lv8322P/MWVgZ0RLQcS+d3KiFkmOJKEzCs=; b=ELGlU9fujkNG/xHE7suOed94gCZZblY6jZy/zCImvzawj4WWtoboRXPK1YDMAZRFtmvr4W iYV8Ak6aLddo4vbovf0Xt9JTzn9X3KJUJwRGkrNfQes9nAr+jl8uvDrc0KiNSP+YMgP0n7 tQ4N4XzR/ILj1b+33azHIk7p7dVCQUk= X-MC-Unique: 3ZM0S2fbMe2NnmLqGXk4GQ-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 03/24] Update maintainer metadata Date: Wed, 15 Dec 2021 16:06:13 -0500 Message-Id: <20211215210634.3779791-4-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639602833684100001 Content-Type: text/plain; charset="utf-8" I'm the primary author of this particular component; update the metadata accordingly. Signed-off-by: John Snow --- setup.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 9999bca..7cd8470 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,9 @@ [metadata] name =3D qemu.qmp version =3D file:VERSION -maintainer =3D QEMU Developer Team +author =3D John Snow +author_email =3D jsnow@redhat.com +maintainer =3D QEMU Project maintainer_email =3D qemu-devel@nongnu.org url =3D https://www.qemu.org/ download_url =3D https://www.qemu.org/download/ --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639602955626392.1103277006724; Wed, 15 Dec 2021 13:15:55 -0800 (PST) Received: from localhost ([::1]:47812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbcw-0007Yk-LY for importer@patchew.org; Wed, 15 Dec 2021 16:15:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbVy-0003Ik-Ff for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:42 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:55562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbVw-0006ZL-2h for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:42 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-29-Qcpf16I6PdqxZOec5RVUFw-1; Wed, 15 Dec 2021 16:08:36 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4E4C310151E2; Wed, 15 Dec 2021 21:08:35 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4BFAB5F4E1; Wed, 15 Dec 2021 21:08:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602519; 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=3dDSw4lxbB+lht0RVbcXDHGS9+x/3dzzGjeh7zHWav0=; b=Fnl+U0Amqyr4/1J75hwFVa5BRnU8IAThJVH7YMjgejVaChICjA1qS6tUjh/GiDGvsvApBf fA4NS8uVhCXRpanBrTZHTfxFnMo65SBEpQkhuwFGThHxArRYO7LDZNAW4AZxhGdOmm7Py1 NCNixwg5HJ9w0jxPBtIkTVLfoylXQiA= X-MC-Unique: Qcpf16I6PdqxZOec5RVUFw-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 04/24] Update project description Date: Wed, 15 Dec 2021 16:06:14 -0500 Message-Id: <20211215210634.3779791-5-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639602956730100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: John Snow --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 7cd8470..9946875 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ maintainer =3D QEMU Project maintainer_email =3D qemu-devel@nongnu.org url =3D https://www.qemu.org/ download_url =3D https://www.qemu.org/download/ -description =3D QEMU Python Build, Debug and SDK tooling. +description =3D QEMU Monitor Protocol library. long_description =3D file:PACKAGE.rst long_description_content_type =3D text/x-rst classifiers =3D --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639602864109937.9316115190454; Wed, 15 Dec 2021 13:14:24 -0800 (PST) Received: from localhost ([::1]:41642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbbT-0003TR-1c for importer@patchew.org; Wed, 15 Dec 2021 16:14:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbWB-0003nE-Gl for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:55 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:29951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbW7-0006a1-NF for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:55 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-401-LDbEkwwdOOicZRRbOMAVqQ-1; Wed, 15 Dec 2021 16:08:46 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 11E71760CC; Wed, 15 Dec 2021 21:08:45 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4BD2B5F4EF; Wed, 15 Dec 2021 21:08:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602527; 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=90bZQlHdiLMIw1BVb5+Nt9AjomLDQPfh2SOKL5Mzu8s=; b=MOIlBBAPOayCOMaccqiS9CGsT9hG9VvVvUMZNp/ghMrq28ul7Uc/GG+gnmZAQ6Jm2oWJ9n QIVEHiTsakp8ozGREwTQl5U2Ez1RDmS8bE0/UI5QVoyjpug4J0pN7YF6vhh96ZO+2ByKfk a1cAcIAuOMG5Td5FPoHPXKz2s2S8ToM= X-MC-Unique: LDbEkwwdOOicZRRbOMAVqQ-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 05/24] Update project URLs Date: Wed, 15 Dec 2021 16:06:15 -0500 Message-Id: <20211215210634.3779791-6-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639602865675100001 Content-Type: text/plain; charset="utf-8" Point to this library's URLs instead of the entire project's. FIXME: In development, the URLs here are jsnow/qemu.qmp. It is intended that the production version that gets pushed to qemu-project/qemu.qmp will use URLs that reflect that repository appropriately. Signed-off-by: John Snow --- setup.cfg | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 9946875..0f14bda 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,8 +5,10 @@ author =3D John Snow author_email =3D jsnow@redhat.com maintainer =3D QEMU Project maintainer_email =3D qemu-devel@nongnu.org -url =3D https://www.qemu.org/ -download_url =3D https://www.qemu.org/download/ +# NOTE: Remember to update the commit message when changing these URLs. +url =3D https://gitlab.com/jsnow/qemu.qmp +download_url =3D https://gitlab.com/jsnow/qemu.qmp/-/packages +# NOTE: Remember to update the commit message when changing these URLs. description =3D QEMU Monitor Protocol library. long_description =3D file:PACKAGE.rst long_description_content_type =3D text/x-rst --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639602789702518.0140672175949; Wed, 15 Dec 2021 13:13:09 -0800 (PST) Received: from localhost ([::1]:36082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbaG-0008Be-L4 for importer@patchew.org; Wed, 15 Dec 2021 16:13:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbWB-0003nk-K9 for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:55 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:55758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbW9-0006a9-E8 for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:55 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-107-YPgXwgkkMKicyKTbWjkLcA-1; Wed, 15 Dec 2021 16:08:47 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 203371054F90; Wed, 15 Dec 2021 21:08:46 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3A3975F4E9; Wed, 15 Dec 2021 21:08:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602529; 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=Kd/QMZTJRWqNCqZD8J54v9wD0Pnaw+cmCN9DgoVQIFY=; b=FK78Drr1Kotts2KamZ0CFeyu20sEoCCCzqQDQ/P2QIFy0pV5l9HtOcp6x0j3OYEtboCj8F R7oE9GsOSPMl9cSt7VFteyqrLEoZ9riliz08YppHGkq59On1mObsW4jjxuiZyXudmQvjP4 04RUOQm3/3ejeqhiGLN5/BFePVuBqfY= X-MC-Unique: YPgXwgkkMKicyKTbWjkLcA-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 06/24] Move README.rst to INDEX.rst and update Date: Wed, 15 Dec 2021 16:06:16 -0500 Message-Id: <20211215210634.3779791-7-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639602792097100001 Content-Type: text/plain; charset="utf-8" The intent is to use README.rst as the new package-level readme that will be bundled with the source; so move the old "git level readme" over to INDEX.rst instead, and update it accordingly. This is primarily here to just document and explain what all the little bits and pieces of files in the root are and what they do. I find this stuff helpful when I wander over into other projects, so I'd like to extend the same courtesy. Signed-off-by: John Snow --- README.rst =3D> INDEX.rst | 49 +++++++++++------------------------------ MANIFEST.in | 1 - 2 files changed, 13 insertions(+), 37 deletions(-) rename README.rst =3D> INDEX.rst (64%) diff --git a/README.rst b/INDEX.rst similarity index 64% rename from README.rst rename to INDEX.rst index 9c1fcea..45b0dbf 100644 --- a/README.rst +++ b/INDEX.rst @@ -1,9 +1,14 @@ -QEMU Python Tooling +qemu.qmp File Index =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 -This directory houses Python tooling used by the QEMU project to build, -configure, and test QEMU. It is organized by namespace (``qemu``), and -then by package (e.g. ``qemu/machine``, ``qemu/qmp``, etc). +This file is here to explain the purpose of all the little bits and +pieces of project files in the root directory and how they are +used. It's useful info for those contributing to this project, but not +so much for those who just want to use the library. + + +Much ado about packaging +------------------------ =20 ``setup.py`` is used by ``pip`` to install this tooling to the current environment. ``setup.cfg`` provides the packaging configuration used by @@ -20,7 +25,7 @@ environment. ``setup.cfg`` provides the packaging configu= ration used by =20 If you append the ``--editable`` or ``-e`` argument to either invocation above, pip will install in "editable" mode. This installs the package as -a forwarder ("qemu.egg-link") that points to the source tree. In so +a forwarder ("qemu.qmp.egg-link") that points to the source tree. In so doing, the installed package always reflects the latest version in your source tree. =20 @@ -37,34 +42,6 @@ See `Installing packages using pip and virtual environme= nts for more information. =20 =20 -Using these packages without installing them --------------------------------------------- - -These packages may be used without installing them first, by using one -of two tricks: - -1. Set your PYTHONPATH environment variable to include this source - directory, e.g. ``~/src/qemu/python``. See - https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH - -2. Inside a Python script, use ``sys.path`` to forcibly include a search - path prior to importing the ``qemu`` namespace. See - https://docs.python.org/3/library/sys.html#sys.path - -A strong downside to both approaches is that they generally interfere -with static analysis tools being able to locate and analyze the code -being imported. - -Package installation also normally provides executable console scripts, -so that tools like ``qmp-shell`` are always available via $PATH. To -invoke them without installation, you can invoke e.g.: - -``> PYTHONPATH=3D~/src/qemu/python python3 -m qemu.qmp.qmp_shell`` - -The mappings between console script name and python module path can be -found in ``setup.cfg``. - - Files in this directory ----------------------- =20 @@ -72,6 +49,7 @@ Files in this directory - ``tests/`` Python package tests directory. - ``avocado.cfg`` Configuration for the Avocado test-runner. Used by ``make check`` et al. +- ``INDEX.rst`` you are here! - ``Makefile`` provides some common testing/installation invocations. Try ``make help`` to see available targets. - ``MANIFEST.in`` is read by python setuptools, it specifies additional fi= les @@ -80,8 +58,7 @@ Files in this directory - ``Pipfile`` is used by Pipenv to generate ``Pipfile.lock``. - ``Pipfile.lock`` is a set of pinned package dependencies that this packa= ge is tested under in our CI suite. It is used by ``make check-pipenv``. -- ``README.rst`` you are here! -- ``VERSION`` contains the PEP-440 compliant version used to describe - this package; it is referenced by ``setup.cfg``. - ``setup.cfg`` houses setuptools package configuration. - ``setup.py`` is the setuptools installer used by pip; See above. +- ``VERSION`` contains the PEP-440 compliant version used to describe + this package; it is referenced by ``setup.cfg``. diff --git a/MANIFEST.in b/MANIFEST.in index 7059ad2..639caae 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,2 @@ include VERSION include PACKAGE.rst -exclude README.rst --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 163960305670320.884691557247493; Wed, 15 Dec 2021 13:17:36 -0800 (PST) Received: from localhost ([::1]:53382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbeZ-0002yH-Eh for importer@patchew.org; Wed, 15 Dec 2021 16:17:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbWE-0003vV-0Q for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:58 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:20989) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbWA-0006bV-Nf for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:57 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-8-7yXNkR2VMteEKJLkYCwcRA-1; Wed, 15 Dec 2021 16:08:48 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5C46710151E0; Wed, 15 Dec 2021 21:08:47 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 44EC35F4E9; Wed, 15 Dec 2021 21:08:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602534; 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=19MJcVvIxQKgG8oPeAFWB0n32YQjLRJaVtg+LTC4LTI=; b=D7GTHLSbm64/zNpWTEmrqwpkdVUByDQtc3lHyhXxcG+wQAqSZQk8SikDMnwYJHa3mWYSKD VQgbT0Ozvno+seoWycmq2EAZTYcYnaBaoKL++A5ZKv5bufEKkDimH7yvPKtB8S1OLSGzzy 41JKg5yL8pDqKWvy3fLB5ZzkYHxtWW4= X-MC-Unique: 7yXNkR2VMteEKJLkYCwcRA-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 07/24] Move PACKAGE.rst to README.rst and update Date: Wed, 15 Dec 2021 16:06:17 -0500 Message-Id: <20211215210634.3779791-8-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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-Type: text/plain; charset="utf-8" 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.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639603058899100001 The README here will reflect both what is shown on GitLab and on the PyPI landing page. Update it accordingly. Signed-off-by: John Snow --- INDEX.rst | 2 +- MANIFEST.in | 2 +- PACKAGE.rst | 43 ------------------ README.rst | 129 ++++++++++++++++++++++++++++++++++++++++++++++++++++ setup.cfg | 2 +- 5 files changed, 132 insertions(+), 46 deletions(-) delete mode 100644 PACKAGE.rst create mode 100644 README.rst diff --git a/INDEX.rst b/INDEX.rst index 45b0dbf..9c45740 100644 --- a/INDEX.rst +++ b/INDEX.rst @@ -54,10 +54,10 @@ Files in this directory Try ``make help`` to see available targets. - ``MANIFEST.in`` is read by python setuptools, it specifies additional fi= les that should be included by a source distribution. -- ``PACKAGE.rst`` is used as the README file that is visible on PyPI.org. - ``Pipfile`` is used by Pipenv to generate ``Pipfile.lock``. - ``Pipfile.lock`` is a set of pinned package dependencies that this packa= ge is tested under in our CI suite. It is used by ``make check-pipenv``. +- ``README.rst`` is used as the README file that is visible on PyPI.org. - ``setup.cfg`` houses setuptools package configuration. - ``setup.py`` is the setuptools installer used by pip; See above. - ``VERSION`` contains the PEP-440 compliant version used to describe diff --git a/MANIFEST.in b/MANIFEST.in index 639caae..2a3fc58 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,2 @@ include VERSION -include PACKAGE.rst +include README.rst diff --git a/PACKAGE.rst b/PACKAGE.rst deleted file mode 100644 index b0b86cc..0000000 --- a/PACKAGE.rst +++ /dev/null @@ -1,43 +0,0 @@ -QEMU Python Tooling -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D - -This package provides QEMU tooling used by the QEMU project to build, -configure, and test QEMU. It is not a fully-fledged SDK and it is subject -to change at any time. - -Usage ------ - -The ``qemu.qmp`` subpackage provides a library for communicating with -QMP servers. The ``qemu.machine`` subpackage offers rudimentary -facilities for launching and managing QEMU processes. Refer to each -package's documentation -(``>>> help(qemu.qmp)``, ``>>> help(qemu.machine)``) -for more information. - -Contributing ------------- - -This package is maintained by John Snow as part of -the QEMU source tree. Contributions are welcome and follow the `QEMU -patch submission process -`_, which involves -sending patches to the QEMU development mailing list. - -John maintains a `GitLab staging branch -`_, and there is an -official `GitLab mirror `_. - -Please report bugs on the `QEMU issue tracker -`_ and tag ``@jsnow`` in -the report. - -Optional packages necessary for running code quality analysis for this -package can be installed with the optional dependency group "devel": -``pip install qemu[devel]``. - -``make develop`` can be used to install this package in editable mode -(to the current environment) *and* bring in testing dependencies in one -command. - -``make check`` can be used to run the available tests. diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..bd4a301 --- /dev/null +++ b/README.rst @@ -0,0 +1,129 @@ +QEMU Monitor Protocol (QMP) Library +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +This package provides an asyncio library used for communicating with +QEMU Monitor Protocol ("QMP") servers. It requires Python 3.6+ and has +no other dependencies. + +This library can be used for communicating with QEMU emulators or with +the QEMU Guest Agent (QGA), QEMU Storage Daemon (QSD) or any other +utility or application that speaks QMP. + +This library makes as little assumptions as possible about the actual +version or what type of endpoint it will be communicating with; +i.e. this library does not contain command definitions and does not seek +to be an SDK or a replacement for tools like libvirt/virsh. It is +"simply" the protocol (QMP) and not the vocabulary (QAPI). It is up to +the programmer (you!) to know which commands and arguments you want to +send. + + +Who is this library for? +------------------------ + +It is firstly for developers of QEMU themselves; as the test +infrastructure of QEMU itself needs a convenient and scriptable +interface for testing QEMU. This library was split out of the QEMU +source tree in order to share a reference version of a QMP library that +was usable both within and outside of the QEMU source tree. + +Second, it's for those who are developing *for* QEMU by adding new +architectures, devices, or functionality; as well as targeting those who +are developing *with* QEMU, i.e. developers working on integrating QEMU +features into other projects such as libvirt, kubevirt, kata +containers, etc. Occasionally, using existing VM management stacks that +integrate QEMU+kvm can make developing, testing, and debugging features +difficult and more 'raw' access is required. This library is for you. + +Lastly, it's for power users who already use QEMU directly without the +aid of libvirt because they require the raw control and power this +affords them. + + +Who is this library NOT for? +---------------------------- + +It is not designed for anyone looking for a turn-key solution for VM +management. QEMU is a low-level component that resembles a swiss army +knife with 5,000 attachments. This library does not manage that +complexity at all and is largely "QEMU ignorant", and so it is not a +replacement for projects like libvirt, virtual machine manager, boxes, +etc. + + +Installing +---------- + +This package can be installed with pip using ``pip3 install qemu.qmp``. + + +Usage +----- + +At its simplest, script-style usage looks like this:: + + from qemu.qmp import QMPClient + + qmp =3D QMPClient('my-vm-nickname') + await qmp.connect('/path/to/qmp.sockfile') + + res =3D await qmp.execute('query-status') + print(f"VM status: {res['status']}") + + await qmp.disconnect() + + +The above script will connect to the UNIX socket located at +``/path/to/qmp.sockfile`` and query the VM's runstate and print it out +to the terminal. + +For more complex usages, especially those that make full advantage of +monitoring asynchronous events; refer to the online documentation or +type ``help(qemu.qmp)`` in your Python terminal of choice. + + +Contributing +------------ + +Contributions are quite welcome! Please file bugs using the `GitLab +issue tracker `_. This +project will accept GitLab merge requests, but due to the close +association with the QEMU project, there are some additional guidelines: + +1. Please use the "Signed-off-by" tag in your commit messages. See + https://wiki.linuxfoundation.org/dco for more information on this + requirement. + +2. This repository won't squash merge requests into a single commit on + pull; each commit should seek to be self-contained (within reason). + +3. Owing to the above, each commit sent as part of a merge request + should not introduce any temporary regressions, even if fixed later + in the same merge request. This is done to preserve bisectability. + +4. Please associate every merge request with at least one GitLab + issue. This helps with generating Changelog text and staying + organized. Thank you =F0=9F=99=87 + + +Developing +^^^^^^^^^^ + +Optional packages necessary for running code quality analysis for this +package can be installed with the optional dependency group "devel": +``pip install qemu.qmp[devel]``. + +``make develop`` can be used to install this package in editable mode +(to the current environment) *and* bring in testing dependencies in one +command. + +``make check`` can be used to run the available tests. Consult ``make +help`` for other targets and tests that make sense for different +occasions. (Personally: I run ``make check-tox && make check-pipenv`` +locally before submitting to GitLab CI as my due diligence.) + + +Changelog +--------- + +- No public release yet. diff --git a/setup.cfg b/setup.cfg index 0f14bda..f4a02d6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -10,7 +10,7 @@ url =3D https://gitlab.com/jsnow/qemu.qmp download_url =3D https://gitlab.com/jsnow/qemu.qmp/-/packages # NOTE: Remember to update the commit message when changing these URLs. description =3D QEMU Monitor Protocol library. -long_description =3D file:PACKAGE.rst +long_description =3D file:README.rst long_description_content_type =3D text/x-rst classifiers =3D Development Status :: 3 - Alpha --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639603019486575.1054857452373; Wed, 15 Dec 2021 13:16:59 -0800 (PST) Received: from localhost ([::1]:50254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbdy-0000nM-8q for importer@patchew.org; Wed, 15 Dec 2021 16:16:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbWG-00046Q-Uy for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:09:00 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:60362) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbWD-0006cL-Uz for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:09:00 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-575-kvw_gBZzMsuESsG12-g1Ww-1; Wed, 15 Dec 2021 16:08:49 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7FBE3835E22; Wed, 15 Dec 2021 21:08:48 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 847A75BE35; Wed, 15 Dec 2021 21:08:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602537; 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=XV+T6x2o2hZ80mt3jJmXQXddzff3dnNcpKHf/VqnwJQ=; b=PD/Eye9L7QuIiYk/R0udwRFLIUSTbvuBt5LTNeJPXZQREidMJDdgx+F1kggeiMvir4gzRO OxpjrnNCsquIbBcy2Pffm9ltAkAsbB72vpPabCA0hA7mAUnpJwESKTxJjK3oOdqg3ktkZt 3PJvYKWuu/Cjsv8S32krHdXhXNoKPN8= X-MC-Unique: kvw_gBZzMsuESsG12-g1Ww-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 08/24] Update Pipfile.lock Date: Wed, 15 Dec 2021 16:06:18 -0500 Message-Id: <20211215210634.3779791-9-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639603020591100001 Content-Type: text/plain; charset="utf-8" The name of the package has changed, and the dependencies are different now as well. Re-do the Pipfile. This is a little annoying, but Python doesn't offer any tool that behaves in a manner that gives you the *oldest* but still adequate versions of dependencies. So, I'm doing this manually: pin every version at the minimum that still allows the tests to succeed. Most of these follow from just observing the minimum stated requirements for each package, manually, recursively. However, I observed that toml's stated dependency of >=3D 0.9.4 in pylint actually needs to be >=3D 0.10.0. Signed-off-by: John Snow --- Pipfile | 37 +++++- Pipfile.lock | 314 ++++++++++++++++++++++++++++----------------------- 2 files changed, 210 insertions(+), 141 deletions(-) diff --git a/Pipfile b/Pipfile index e7acb8c..de498ad 100644 --- a/Pipfile +++ b/Pipfile @@ -4,10 +4,43 @@ url =3D "https://pypi.org/simple" verify_ssl =3D true =20 [dev-packages] -qemu =3D {editable =3D true, extras =3D ["devel"], path =3D "."} +avocado-framework =3D "=3D=3D90.0" +isort =3D "=3D=3D5.1.2" +tox =3D "=3D=3D3.18.0" +toml =3D "=3D=3D0.10.0" +six =3D "=3D=3D1.14.0" +filelock =3D "=3D=3D3.0.0" +virtualenv =3D "=3D=3D16.0.0" +py =3D "=3D=3D1.4.17" +pluggy =3D "=3D=3D0.12.0" +pyparsing =3D "=3D=3D2.0.2" +"backports.entry-points-selectable" =3D "=3D=3D1.0.4" +platformdirs =3D "=3D=3D2.0.0" +distlib =3D "=3D=3D0.3.1" +importlib-metadata =3D "=3D=3D0.12" +zipp =3D "=3D=3D0.5" +pylint =3D "=3D=3D2.8.0" +astroid =3D "=3D=3D2.5.4" +mccabe =3D "=3D=3D0.6" +lazy-object-proxy =3D "=3D=3D1.4.0" +wrapt =3D "=3D=3D1.11" +flake8 =3D "=3D=3D3.6.0" +pycodestyle =3D "=3D=3D2.4.0" +pyflakes =3D "=3D=3D2.0.0" +mypy =3D "=3D=3D0.770" +typed-ast =3D "=3D=3D1.4.0" +typing-extensions =3D "=3D=3D3.7.4" +mypy-extensions =3D "=3D=3D0.4.3" +urwid =3D "=3D=3D2.1.2" +urwid-readline =3D "=3D=3D0.13" +Pygments =3D "=3D=3D2.9.0" +"qemu.qmp" =3D {editable =3D true, extras =3D ["devel"], path =3D "."} =20 [packages] -qemu =3D {editable =3D true,path =3D "."} +urwid =3D "=3D=3D2.1.2" +urwid-readline =3D "=3D=3D0.13" +Pygments =3D "=3D=3D2.9.0" +"qemu.qmp" =3D {editable =3D true, extras =3D ["tui"], path =3D "."} =20 [requires] python_version =3D "3.6" diff --git a/Pipfile.lock b/Pipfile.lock index d2a7dbd..9d1c2cc 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "784b327272db32403d5a488507853b5afba850ba26a5948e5b6= a90c1baef2d9c" + "sha256": "76bfa8e7ee1fd855ff03697a0bc7076f4ffda0897e21c94d202= cf07b609d63cb" }, "pipfile-spec": 6, "requires": { @@ -16,26 +16,51 @@ ] }, "default": { - "qemu": { + "pygments": { + "hashes": [ + "sha256:a18f47b506a429f6f4b9df81bb02beab9ca21d0a5fee38ed15= aef65f0545519f", + "sha256:d66e804411278594d764fc69ec36ec13d9ae9147193a1740cd= 34d272ca383b8e" + ], + "index": "pypi", + "version": "=3D=3D2.9.0" + }, + "qemu-qmp": { "editable": true, + "extras": [ + "tui" + ], "path": "." + }, + "qemu.qmp": { + "editable": true, + "extras": [ + "tui" + ], + "path": "." + }, + "urwid": { + "hashes": [ + "sha256:588bee9c1cb208d0906a9f73c613d2bd32c3ed3702012f51ef= e318a3f2127eae" + ], + "index": "pypi", + "version": "=3D=3D2.1.2" + }, + "urwid-readline": { + "hashes": [ + "sha256:018020cbc864bb5ed87be17dc26b069eae2755cb29f3a9c569= aac3bded1efaf4" + ], + "index": "pypi", + "version": "=3D=3D0.13" } }, "develop": { - "appdirs": { - "hashes": [ - "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d241510= 0fe26e27afdf41", - "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4= 650ca1055ab128" - ], - "version": "=3D=3D1.4.4" - }, "astroid": { "hashes": [ - "sha256:09bdb456e02564731f8b5957cdd0c98a7f01d2db5e90eb1d79= 4c353c28bfd705", - "sha256:6a8a51f64dae307f6e0c9db752b66a7951e282389d8362cc1d= 39a56f3feeb31d" + "sha256:f040fe9c4a2a7699a8ec30c9ed10fb59067c97f64c36577f47= 6c0953ba29847c", + "sha256:f9f472d4002d55199b1c151ef0570cf71d42aaa34aaa3d29c3= e41c75f6f47564" ], - "markers": "python_version ~=3D '3.6'", - "version": "=3D=3D2.6.0" + "index": "pypi", + "version": "=3D=3D2.5.4" }, "avocado-framework": { "hashes": [ @@ -45,19 +70,28 @@ "index": "pypi", "version": "=3D=3D90.0" }, + "backports.entry-points-selectable": { + "hashes": [ + "sha256:2a238e1d8b212b9cf50156b63cd748d54dc33df74e590d6145= 07fc9ce57d0d4a", + "sha256:4acda84d96855beece3bf9aad9a1030aceb5f744b8ce9af7d5= ee6dd672cdd3bd" + ], + "index": "pypi", + "version": "=3D=3D1.0.4" + }, "distlib": { "hashes": [ - "sha256:106fef6dc37dd8c0e2c0a60d3fca3e77460a48907f335fa284= 20463a6f799736", - "sha256:23e223426b28491b1ced97dc3bbe183027419dfc7982b4fa2f= 05d5f3ff10711c" + "sha256:8c09de2c67b3e7deef7184574fc060ab8a793e7adbb183d942= c389c8b13c52fb", + "sha256:edf6116872c863e1aa9d5bb7cb5e05a022c519a4594dc70384= 3343a9ddd9bff1" ], - "version": "=3D=3D0.3.2" + "index": "pypi", + "version": "=3D=3D0.3.1" }, "filelock": { "hashes": [ - "sha256:18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0= f82159d6a6ff59", - "sha256:929b7d63ec5b7d6b71b0fa5ac14e030b3f70b75747cef1b10d= a9b879fef15836" + "sha256:b3ad481724adfb2280773edd95ce501e497e88fa4489c6e41e= 637ab3fd9a456c" ], - "version": "=3D=3D3.0.12" + "index": "pypi", + "version": "=3D=3D3.0.0" }, "flake8": { "hashes": [ @@ -67,29 +101,13 @@ "index": "pypi", "version": "=3D=3D3.6.0" }, - "fusepy": { - "hashes": [ - "sha256:10f5c7f5414241bffecdc333c4d3a725f1d6605cae6b4eaf86= a838ff49cdaf6c", - "sha256:a9f3a3699080ddcf0919fd1eb2cf743e1f5859ca54c2018632= f939bdfac269ee" - ], - "index": "pypi", - "version": "=3D=3D2.0.4" - }, "importlib-metadata": { "hashes": [ - "sha256:90bb658cdbbf6d1735b6341ce708fc7024a3e14e99ffdc5783= edea9f9b077f83", - "sha256:dc15b2969b4ce36305c51eebe62d418ac7791e9a157911d58b= fb1f9ccd8e2070" + "sha256:2f2e54cbf6b06b16351e4c40a6adb0860cab6cfb95a0c0fcb5= 8bb789c4b450f5", + "sha256:37bbea81dec44d1ff72d58a1b5c1599a9f3436537f33e9e26f= 276610064c4830" ], - "markers": "python_version < '3.8'", - "version": "=3D=3D1.7.0" - }, - "importlib-resources": { - "hashes": [ - "sha256:54161657e8ffc76596c4ede7080ca68cb02962a2e074a2586b= 695a93a925d36e", - "sha256:e962bff7440364183203d179d7ae9ad90cb1f2b74dcb84300e= 88ecc42dca3351" - ], - "markers": "python_version < '3.7'", - "version": "=3D=3D5.1.4" + "index": "pypi", + "version": "=3D=3D0.12" }, "isort": { "hashes": [ @@ -101,38 +119,35 @@ }, "lazy-object-proxy": { "hashes": [ - "sha256:17e0967ba374fc24141738c69736da90e94419338fd4c7c7be= f01ee26b339653", - "sha256:1fee665d2638491f4d6e55bd483e15ef21f6c8c2095f235fef= 72601021e64f61", - "sha256:22ddd618cefe54305df49e4c069fa65715be4ad0e78e8d252a= 33debf00f6ede2", - "sha256:24a5045889cc2729033b3e604d496c2b6f588c754f7a62027a= d4437a7ecc4837", - "sha256:410283732af311b51b837894fa2f24f2c0039aa7f220135192= b38fcc42bd43d3", - "sha256:4732c765372bd78a2d6b2150a6e99d00a78ec963375f236979= c0626b97ed8e43", - "sha256:489000d368377571c6f982fba6497f2aa13c6d1facc4066096= 3da62f5c379726", - "sha256:4f60460e9f1eb632584c9685bccea152f4ac2130e299784dba= f9fae9f49891b3", - "sha256:5743a5ab42ae40caa8421b320ebf3a998f89c85cdc8376d6b2= e00bd12bd1b587", - "sha256:85fb7608121fd5621cc4377a8961d0b32ccf84a7285b4f1d21= 988b2eae2868e8", - "sha256:9698110e36e2df951c7c36b6729e96429c9c32b3331989ef19= 976592c5f3c77a", - "sha256:9d397bf41caad3f489e10774667310d73cb9c4258e9aed94b9= ec734b34b495fd", - "sha256:b579f8acbf2bdd9ea200b1d5dea36abd93cabf56cf626ab9c7= 44a432e15c815f", - "sha256:b865b01a2e7f96db0c5d12cfea590f98d8c5ba64ad222300d9= 3ce6ff9138bcad", - "sha256:bf34e368e8dd976423396555078def5cfc3039ebc6fc06d1ae= 2c5a65eebbcde4", - "sha256:c6938967f8528b3668622a9ed3b31d145fab161a32f5891ea7= b84f6b790be05b", - "sha256:d1c2676e3d840852a2de7c7d5d76407c772927addff8d742b9= 808fe0afccebdf", - "sha256:d7124f52f3bd259f510651450e18e0fd081ed82f3c08541dff= c7b94b883aa981", - "sha256:d900d949b707778696fdf01036f58c9876a0d8bfe116e8d220= cfd4b15f14e741", - "sha256:ebfd274dcd5133e0afae738e6d9da4323c3eb021b3e13052d8= cbd0e457b1256e", - "sha256:ed361bb83436f117f9917d282a456f9e5009ea12fd6de8742d= 1a4752c3017e93", - "sha256:f5144c75445ae3ca2057faac03fda5a902eff196702b0a24da= f1d6ce0650514b" + "sha256:118d53f8819f9457732dd0e418752f2850f395c5405b2e1248= 5f52336e4ad0f5", + "sha256:495c583b363c3eded649e2c00177093f03f856f5c9f95b5274= 20084a9ce17b9d", + "sha256:55fa9eab93482891ce97473e63610efdd9c8fa5c05cca9f604= 68c412e602e499", + "sha256:642fc0a9b61920669dab66e400f79f1b8b0e8f698dcde85f7e= 9ae5528dbcaf4a", + "sha256:7003959a170fde9b92936c38562810f94679c80608fb4b007e= 026b915bef8b27", + "sha256:7e63da94f5a1ddb0d2dcdb5d17ff4d1d33f51f3368bdf0475d= 5f56c0f3b99592", + "sha256:7fb11d33d99a374e4b0c3fb20128890b9cf784ca7e4b91ecbb= 191d34618bd9fe", + "sha256:8758715ea005afa293783797498d64f40ab14d1ded208b3e28= 2760cde9512f1d", + "sha256:8995543f47a8b81962e384f12791114af9f4997be7a0db71ab= c40d2a2dfee961", + "sha256:91c7e1316116fedda36818ce7cd269378fffc4219781536eff= 441ea1e68e1caf", + "sha256:9b41ec246d31ca6a840dcf67673b2668adc5a095c64310d26d= 73292588563ea3", + "sha256:a8be3cfd7c3154e8d39276c627c5e7ee55d1f2094597b060ec= e99620ef9fe86b", + "sha256:afcab74f471652b643900e0862b31892ac5fe5a75e435b786a= 1825855f4effdf", + "sha256:d49a90c27074f44c8dc147d83e31140523948ee147b3248634= c540e053caea58", + "sha256:d6957cadc9c079ef4697564af500d52fba6d14fb2f08d20ce9= 2f52201fb77050", + "sha256:da7f2a6c82a11dc4e05bab73522f0d6dd4f3bbc8378cd4b076= 9137f342cdb3f0", + "sha256:f03a21f6f6e54778860122a620f70c8b148ec4ee175968782b= caaa94955a46f9", + "sha256:f6c718ffca055852479880debbe717da952fcfd60067a0ddb6= fe3b053b1d4de0" ], - "markers": "python_version >=3D '2.7' and python_version not i= n '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'", - "version": "=3D=3D1.6.0" + "index": "pypi", + "version": "=3D=3D1.4.0" }, "mccabe": { "hashes": [ - "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d= 64e79735b80d42", - "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb= 0f125271b8831f" + "sha256:c6f88ac33667c89d6588e5189334d051f186f4dd3ae5139586= af54677c36b5a8", + "sha256:de9bbfe5b771e4c11b1521f3e338fe265a12296b59302f43a3= bbf3e02d4b98b1" ], - "version": "=3D=3D0.6.1" + "index": "pypi", + "version": "=3D=3D0.6" }, "mypy": { "hashes": [ @@ -159,31 +174,39 @@ "sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a= 299250a846f15d", "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5= 343488a6c604a8" ], + "index": "pypi", "version": "=3D=3D0.4.3" }, "packaging": { "hashes": [ - "sha256:5b327ac1320dc863dca72f4514ecc086f31186744b84a23037= 4cc1fd776feae5", - "sha256:67714da7f7bc052e064859c05c595155bd1ee9f69f76557e21= f051443c20947a" + "sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970= 643f9c5b8ecfeb", + "sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652ee= d6a2e1ea5bd522" ], - "markers": "python_version >=3D '2.7' and python_version not i= n '3.0, 3.1, 3.2, 3.3'", - "version": "=3D=3D20.9" + "markers": "python_version >=3D '3.6'", + "version": "=3D=3D21.3" + }, + "platformdirs": { + "hashes": [ + "sha256:9fc2bc9a5f04bfd5b12c1edb64394f6108c17b2a5be0a461f9= a8b08c8a7d8991", + "sha256:c4d969c6d051f37548994641338c74f3125b771e8fbbe4a45d= 60d4a976e34533" + ], + "index": "pypi", + "version": "=3D=3D2.0.0" }, "pluggy": { "hashes": [ - "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604c= f808bfa1c765b0", - "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e= 9ca461a4081d2d" + "sha256:0825a152ac059776623854c1543d65a4ad408eb3d33ee114df= f91e57ec6ae6fc", + "sha256:b9817417e95936bf75d85d3f8767f7df6cdde751fc40aed3bb= 3074cbcb77757c" ], - "markers": "python_version >=3D '2.7' and python_version not i= n '3.0, 3.1, 3.2, 3.3'", - "version": "=3D=3D0.13.1" + "index": "pypi", + "version": "=3D=3D0.12.0" }, "py": { "hashes": [ - "sha256:21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a= 809035269e1bd3", - "sha256:3b80836aa6d1feeaa108e046da6423ab8f6ceda6468545ae8d= 02d9d58d18818a" + "sha256:45d74855a614c73f97b0cbbe5615e5be34fa623ecf5ee6b7a4= 417f9a52665fb7" ], - "markers": "python_version >=3D '2.7' and python_version not i= n '3.0, 3.1, 3.2, 3.3'", - "version": "=3D=3D1.10.0" + "index": "pypi", + "version": "=3D=3D1.4.17" }, "pycodestyle": { "hashes": [ @@ -191,6 +214,7 @@ "sha256:cbc619d09254895b0d12c2c691e237b2e91e9b2ecf5e84c26b= 35400f93dcfb83", "sha256:cbfca99bd594a10f674d0cd97a3d802a1fdef635d4361e1a26= 58de47ed261e3a" ], + "index": "pypi", "version": "=3D=3D2.4.0" }, "pyflakes": { @@ -198,6 +222,7 @@ "sha256:9a7662ec724d0120012f6e29d6248ae3727d821bba522a0e6b= 356eff19126a49", "sha256:f661252913bc1dbe7fcfcbf0af0db3f42ab65aabd1a6ca68fe= 5d466bace94dae" ], + "index": "pypi", "version": "=3D=3D2.0.0" }, "pygments": { @@ -205,7 +230,7 @@ "sha256:a18f47b506a429f6f4b9df81bb02beab9ca21d0a5fee38ed15= aef65f0545519f", "sha256:d66e804411278594d764fc69ec36ec13d9ae9147193a1740cd= 34d272ca383b8e" ], - "markers": "python_version >=3D '3.5'", + "index": "pypi", "version": "=3D=3D2.9.0" }, "pylint": { @@ -218,31 +243,49 @@ }, "pyparsing": { "hashes": [ - "sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ea= d507bc3246ecc1", - "sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb124= 0a85b024efc88b" + "sha256:1039385c4702ba1834f1d5d6a832c3acdb499c7a8ffdd460ba= 6d381df3c30cda", + "sha256:1584a093537c6f0add04a514b91b55fda93e2331de7e5140f8= 35d7d8662ea291", + "sha256:17e43d6b17588ed5968735575b3983a952133ec4082596d214= d7090b56d48a06", + "sha256:3a203a88fc0f0b3c21909de3367ade6b51b2f32abb4e6932bc= bf197273593f72", + "sha256:4dda9208817b3a1fe7d500408e4d5ebbb8e4549ba377e6a259= ab2552e1275b0b", + "sha256:7145b41ff85f2428e365f2b9bd16b69bd68f1150c3f8d05528= 273505ede15abe", + "sha256:8e395e5c5c7d95e62b4a6a5311afbf8644b6d5f8280e033aeb= fca38d1f637486", + "sha256:a4c2134b09d85dc250422cdd1ab1c4bc4603dd5016f881c2a9= 87c472778a9a14", + "sha256:d61cce2ef4bc4eb27d99bc5130e30be1bfbe59fe41e804255f= 06061cbec0388f" ], - "markers": "python_version >=3D '2.6' and python_version not i= n '3.0, 3.1, 3.2, 3.3'", - "version": "=3D=3D2.4.7" + "index": "pypi", + "version": "=3D=3D2.0.2" }, - "qemu": { + "qemu-qmp": { "editable": true, + "extras": [ + "tui" + ], + "path": "." + }, + "qemu.qmp": { + "editable": true, + "extras": [ + "tui" + ], "path": "." }, "six": { "hashes": [ - "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e= 49de9c60c4c926", - "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771= 326f8aa26e0254" + "sha256:236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87= a7ec7ce1319c0a", + "sha256:8f3cd2e254d8f793e7f3d6d9df77b92252b52637291d0f0da0= 13c76ea2724b6c" ], - "markers": "python_version >=3D '2.7' and python_version not i= n '3.0, 3.1, 3.2, 3.3'", - "version": "=3D=3D1.16.0" + "index": "pypi", + "version": "=3D=3D1.14.0" }, "toml": { "hashes": [ - "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894= a5f779cabb4f9b", - "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bd= ed2f839ccbe68f" + "sha256:229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df= 18ce5f05e73d5c", + "sha256:235682dd292d5899d361a811df37e04a8828a5b1da3115886b= 73cf81ebc9100e", + "sha256:f1db651f9657708513243e61e6cc67d101a39bad662eaa9b55= 46f789338e07a3" ], - "markers": "python_version >=3D '2.6' and python_version not i= n '3.0, 3.1, 3.2, 3.3'", - "version": "=3D=3D0.10.2" + "index": "pypi", + "version": "=3D=3D0.10.0" }, "tox": { "hashes": [ @@ -254,82 +297,75 @@ }, "typed-ast": { "hashes": [ - "sha256:01ae5f73431d21eead5015997ab41afa53aa1fbe252f9da060= be5dad2c730ace", - "sha256:067a74454df670dcaa4e59349a2e5c81e567d8d65458d480a5= b3dfecec08c5ff", - "sha256:0fb71b8c643187d7492c1f8352f2c15b4c4af3f6338f21681d= 3681b3dc31a266", - "sha256:1b3ead4a96c9101bef08f9f7d1217c096f31667617b58de957= f690c92378b528", - "sha256:2068531575a125b87a41802130fa7e29f26c09a2833fea68d9= a40cf33902eba6", - "sha256:209596a4ec71d990d71d5e0d312ac935d86930e6eecff6ccc7= 007fe54d703808", - "sha256:2c726c276d09fc5c414693a2de063f521052d9ea7c240ce553= 316f70656c84d4", - "sha256:398e44cd480f4d2b7ee8d98385ca104e35c81525dd98c519ac= ff1b79bdaac363", - "sha256:52b1eb8c83f178ab787f3a4283f68258525f8d70f778a2f6dd= 54d3b5e5fb4341", - "sha256:5feca99c17af94057417d744607b82dd0a664fd5e4ca980614= 80fd8b14b18d04", - "sha256:7538e495704e2ccda9b234b82423a4038f324f3a10c43bc088= a1636180f11a41", - "sha256:760ad187b1041a154f0e4d0f6aae3e40fdb51d6de16e5c99ae= dadd9246450e9e", - "sha256:777a26c84bea6cd934422ac2e3b78863a37017618b6e5c08f9= 2ef69853e765d3", - "sha256:95431a26309a21874005845c21118c83991c63ea800dd44843= e42a916aec5899", - "sha256:9ad2c92ec681e02baf81fdfa056fe0d818645efa9af1f1cd5f= d6f1bd2bdfd805", - "sha256:9c6d1a54552b5330bc657b7ef0eae25d00ba7ffe85d9ea8ae6= 540d2197a3788c", - "sha256:aee0c1256be6c07bd3e1263ff920c325b59849dc95392a05f2= 58bb9b259cf39c", - "sha256:af3d4a73793725138d6b334d9d247ce7e5f084d96284ed23f2= 2ee626a7b88e39", - "sha256:b36b4f3920103a25e1d5d024d155c504080959582b928e91cb= 608a65c3a49e1a", - "sha256:b9574c6f03f685070d859e75c7f9eeca02d6933273b5e69572= e5ff9d5e3931c3", - "sha256:bff6ad71c81b3bba8fa35f0f1921fb24ff4476235a6e94a26a= da2e54370e6da7", - "sha256:c190f0899e9f9f8b6b7863debfb739abcb21a5c054f911ca35= 96d12b8a4c4c7f", - "sha256:c907f561b1e83e93fad565bac5ba9c22d96a54e7ea0267c708= bffe863cbe4075", - "sha256:cae53c389825d3b46fb37538441f75d6aecc4174f615d04832= 1b716df2757fb0", - "sha256:dd4a21253f42b8d2b48410cb31fe501d32f8b9fbeb1f55063a= d102fe9c425e40", - "sha256:dde816ca9dac1d9c01dd504ea5967821606f02e51043812009= 1b84e852367428", - "sha256:f2362f3cb0f3172c42938946dbc5b7843c2a28aec307c49100= c8b38764eb6927", - "sha256:f328adcfebed9f11301eaedfa48e15bdece9b519fb27e6a8c0= 1aa52a17ec31b3", - "sha256:f8afcf15cc511ada719a88e013cec87c11aff7b91f019295eb= 4530f96fe5ef2f", - "sha256:fb1bbeac803adea29cedd70781399c99138358c26d05fcbd23= c13016b7f5ec65" + "sha256:1170afa46a3799e18b4c977777ce137bb53c7485379d9706af= 8a59f2ea1aa161", + "sha256:18511a0b3e7922276346bcb47e2ef9f38fb90fd31cb9223eed= 42c85d1312344e", + "sha256:262c247a82d005e43b5b7f69aff746370538e176131c32dda9= cb0f324d27141e", + "sha256:2b907eb046d049bcd9892e3076c7a6456c93a25bebfe554e93= 1620c90e6a25b0", + "sha256:354c16e5babd09f5cb0ee000d54cfa38401d8b8891eefa878a= c772f827181a3c", + "sha256:48e5b1e71f25cfdef98b013263a88d7145879fbb2d5185f2a0= c79fa7ebbeae47", + "sha256:4e0b70c6fc4d010f8107726af5fd37921b666f5b31d9331f0b= d24ad9a088e631", + "sha256:630968c5cdee51a11c05a30453f8cd65e0cc1d2ad0d9192819= df9978984529f4", + "sha256:66480f95b8167c9c5c5c87f32cf437d585937970f3fc24386f= 313a4c97b44e34", + "sha256:71211d26ffd12d63a83e079ff258ac9d56a1376a25bc80b1cd= cdf601b855b90b", + "sha256:7954560051331d003b4e2b3eb822d9dd2e376fa4f6d98fee32= f452f52dd6ebb2", + "sha256:838997f4310012cf2e1ad3803bce2f3402e9ffb71ded61b5ee= 22617b3a7f6b6e", + "sha256:95bd11af7eafc16e829af2d3df510cecfd4387f64533551883= 42c3e79a2ec87a", + "sha256:bc6c7d3fa1325a0c6613512a093bc2a2a15aeec350451cbdf9= e1d4bffe3e3233", + "sha256:cc34a6f5b426748a507dd5d1de4c1978f2eb5626d51326e432= 80941206c209e1", + "sha256:d755f03c1e4a51e9b24d899561fec4ccaf51f210d52abdf8c0= 7ee2849b212a36", + "sha256:d7c45933b1bdfaf9f36c579671fec15d25b06c8398f113dab6= 4c18ed1adda01d", + "sha256:d896919306dd0aa22d0132f62a1b78d11aaf4c9fc5b3410d3c= 666b818191630a", + "sha256:fdc1c9bbf79510b76408840e009ed65958feba92a88833cdce= ecff93ae8fff66", + "sha256:ffde2fbfad571af120fcbfbbc61c72469e72f550d676c33424= 92a9dfdefb8f12" ], - "markers": "python_version < '3.8' and implementation_name =3D= =3D 'cpython'", - "version": "=3D=3D1.4.3" + "index": "pypi", + "version": "=3D=3D1.4.0" }, "typing-extensions": { "hashes": [ - "sha256:0ac0f89795dd19de6b97debb0c6af1c70987fd80a2d62d1958= f7e56fcc31b497", - "sha256:50b6f157849174217d0656f99dc82fe932884fb250826c1835= 0e159ec6cdf342", - "sha256:779383f6086d90c99ae41cf0ff39aac8a7937a9283ce0a414e= 5dd782f4c94a84" + "sha256:2ed632b30bb54fc3941c382decfd0ee4148f5c591651c92724= 73fea2c6397d95", + "sha256:b1edbbf0652660e32ae780ac9433f4231e7339c7f9a8057d0f= 042fcbcea49b87", + "sha256:d8179012ec2c620d3791ca6fe2bf7979d979acdbef1fca0bc5= 6b37411db682ed" ], - "markers": "python_version < '3.8'", - "version": "=3D=3D3.10.0.0" + "index": "pypi", + "version": "=3D=3D3.7.4" }, "urwid": { "hashes": [ "sha256:588bee9c1cb208d0906a9f73c613d2bd32c3ed3702012f51ef= e318a3f2127eae" ], + "index": "pypi", "version": "=3D=3D2.1.2" }, "urwid-readline": { "hashes": [ "sha256:018020cbc864bb5ed87be17dc26b069eae2755cb29f3a9c569= aac3bded1efaf4" ], + "index": "pypi", "version": "=3D=3D0.13" }, "virtualenv": { "hashes": [ - "sha256:14fdf849f80dbb29a4eb6caa9875d476ee2a5cf76a5f5415fa= 2f1606010ab467", - "sha256:2b0126166ea7c9c3661f5b8e06773d28f83322de7a3ff7d06f= 0aed18c9de6a76" + "sha256:2ce32cd126117ce2c539f0134eb89de91a8413a29baac49cba= b3eb50e2026669", + "sha256:ca07b4c0b54e14a91af9f34d0919790b016923d157afda5efd= de55c96718f752" ], - "markers": "python_version >=3D '2.7' and python_version not i= n '3.0, 3.1, 3.2, 3.3'", - "version": "=3D=3D20.4.7" + "index": "pypi", + "version": "=3D=3D16.0.0" }, "wrapt": { "hashes": [ - "sha256:b62ffa81fb85f4332a4f609cab4ac40709470da05643a082ec= 1eb88e6d9b97d7" + "sha256:e03f19f64d81d0a3099518ca26b04550026f131eced2e76ced= 7b85c6b8d32128" ], - "version": "=3D=3D1.12.1" + "index": "pypi", + "version": "=3D=3D1.11" }, "zipp": { "hashes": [ - "sha256:3607921face881ba3e026887d8150cca609d517579abe052ac= 81fc5aeffdbd76", - "sha256:51cb66cc54621609dd593d1787f286ee42a5c0adbb4b29abea= 5a63edc3e03098" + "sha256:46dfd547d9ccbf8bdc26ecea52818046bb28509f12bb6a0de1= cd66ab06e9a9be", + "sha256:d7ac25f895fb65bff937b381353c14eb1fa23d35f40abd72a5= 342cd57eb57fd1" ], - "markers": "python_version < '3.10'", - "version": "=3D=3D3.4.1" + "index": "pypi", + "version": "=3D=3D0.5" } } } --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639602905350975.0311103827479; Wed, 15 Dec 2021 13:15:05 -0800 (PST) Received: from localhost ([::1]:44804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbc8-0005Yg-Ac for importer@patchew.org; Wed, 15 Dec 2021 16:15:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbWD-0003ry-7G for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:57 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:57951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbWB-0006bZ-69 for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:56 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-520-TyYCQNwkOYixEsR24dIsvA-1; Wed, 15 Dec 2021 16:08:50 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 88C89801B0C; Wed, 15 Dec 2021 21:08:49 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id A5AA35BE35; Wed, 15 Dec 2021 21:08:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602534; 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=q1WDlAHjBWJOcwsCj5VDF7QdGBOsYa9wnCVW4iwtcn8=; b=YBdjYorE92XOyeciVRvn7/Z4AzUjsIFGLiYHzjrbVJNpcMWmrUtvYnEfdG0LimSjKq3XYj HtGCSyu9D4y7CzqL2YNJ9XWPvjzDqx8cR8PK4gWVNhNM3U2Ejc04MBu4iUBtJEM3twAPxR uh19L+kd5iVh/rPXj7eI9Va2hKs/hnA= X-MC-Unique: TyYCQNwkOYixEsR24dIsvA-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 09/24] Remove sub-dependency pins from Pipfile Date: Wed, 15 Dec 2021 16:06:19 -0500 Message-Id: <20211215210634.3779791-10-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639602907329100001 Content-Type: text/plain; charset="utf-8" Now that we've got a Pipfile.lock generated that works, we can remove the static pins from the Pipfile to allow various dependencies to be added or removed as necessary when updating our direct dependencies in the future. So long as --keep-outdated is always passed to Pipenv, items that aren't absolutely necessary to update will not be, which will help keep our requirements more at the very oldest possible versions that still work. Signed-off-by: John Snow --- Pipfile | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/Pipfile b/Pipfile index de498ad..f44fd1e 100644 --- a/Pipfile +++ b/Pipfile @@ -4,42 +4,9 @@ url =3D "https://pypi.org/simple" verify_ssl =3D true =20 [dev-packages] -avocado-framework =3D "=3D=3D90.0" -isort =3D "=3D=3D5.1.2" -tox =3D "=3D=3D3.18.0" -toml =3D "=3D=3D0.10.0" -six =3D "=3D=3D1.14.0" -filelock =3D "=3D=3D3.0.0" -virtualenv =3D "=3D=3D16.0.0" -py =3D "=3D=3D1.4.17" -pluggy =3D "=3D=3D0.12.0" -pyparsing =3D "=3D=3D2.0.2" -"backports.entry-points-selectable" =3D "=3D=3D1.0.4" -platformdirs =3D "=3D=3D2.0.0" -distlib =3D "=3D=3D0.3.1" -importlib-metadata =3D "=3D=3D0.12" -zipp =3D "=3D=3D0.5" -pylint =3D "=3D=3D2.8.0" -astroid =3D "=3D=3D2.5.4" -mccabe =3D "=3D=3D0.6" -lazy-object-proxy =3D "=3D=3D1.4.0" -wrapt =3D "=3D=3D1.11" -flake8 =3D "=3D=3D3.6.0" -pycodestyle =3D "=3D=3D2.4.0" -pyflakes =3D "=3D=3D2.0.0" -mypy =3D "=3D=3D0.770" -typed-ast =3D "=3D=3D1.4.0" -typing-extensions =3D "=3D=3D3.7.4" -mypy-extensions =3D "=3D=3D0.4.3" -urwid =3D "=3D=3D2.1.2" -urwid-readline =3D "=3D=3D0.13" -Pygments =3D "=3D=3D2.9.0" "qemu.qmp" =3D {editable =3D true, extras =3D ["devel"], path =3D "."} =20 [packages] -urwid =3D "=3D=3D2.1.2" -urwid-readline =3D "=3D=3D0.13" -Pygments =3D "=3D=3D2.9.0" "qemu.qmp" =3D {editable =3D true, extras =3D ["tui"], path =3D "."} =20 [requires] --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639602789450424.3767592026271; Wed, 15 Dec 2021 13:13:09 -0800 (PST) Received: from localhost ([::1]:36188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbaG-0008FN-HV for importer@patchew.org; Wed, 15 Dec 2021 16:13:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbWD-0003rm-5U for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:57 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:57242) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbW9-0006aM-FR for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:08:56 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-536-1u0gJNI3OrCkUMZn6FmfJQ-1; Wed, 15 Dec 2021 16:08:51 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 93A6C760C4; Wed, 15 Dec 2021 21:08:50 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id AFABB5F4EA; Wed, 15 Dec 2021 21:08:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602532; 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=9B3OITeijFYQcc5hK/JPoO4TyY/4Jm/044b+1lyKbdg=; b=UHQjzLhLbpML1WVrbrTvWepMU2JEEK13xKnIZRcPqZZO49gvaVZ8Isk07FHfA1LXxyqsRO lWxxseUmRLIe3LGY30c26Mo8sCz9KXNmxwvthMXe2GD2+svK1QkkEOFjMDSqrUmKrspJyB UWTb8lzRDPkYMFgtahu9KLv6wtMzcl8= X-MC-Unique: 1u0gJNI3OrCkUMZn6FmfJQ-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 10/24] Add build and test container to gitlab CI configuration Date: Wed, 15 Dec 2021 16:06:20 -0500 Message-Id: <20211215210634.3779791-11-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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-Type: text/plain; charset="utf-8" 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.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639602790039100001 Heavily copy-pasted from the QEMU source tree, with bits and pieces not needed for this repository trimmed down. Signed-off-by: John Snow --- .gitlab-ci.d/containers.yml | 28 ++++++++++++++++++++++++++++ .gitlab-ci.d/index.yml | 8 ++++++++ .gitlab-ci.d/python.Dockerfile | 31 +++++++++++++++++++++++++++++++ .gitlab-ci.yml | 3 +++ INDEX.rst | 2 ++ 5 files changed, 72 insertions(+) create mode 100644 .gitlab-ci.d/containers.yml create mode 100644 .gitlab-ci.d/index.yml create mode 100644 .gitlab-ci.d/python.Dockerfile create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.d/containers.yml b/.gitlab-ci.d/containers.yml new file mode 100644 index 0000000..fdcbbe4 --- /dev/null +++ b/.gitlab-ci.d/containers.yml @@ -0,0 +1,28 @@ +# Heavily inspired-by/copy-pasted-from the +# container template from the QEMU source tree. + +.container_job_template: + image: docker:stable + stage: containers + services: + - docker:dind + before_script: + - export TAG=3D"$NAME" + - export FQTAG=3D"$CI_REGISTRY_IMAGE/$TAG:latest" + - docker info + - docker login $CI_REGISTRY -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PA= SSWORD" + script: + - echo "TAG:$TAG" + - echo "FQTAG:$FQTAG" + - cd .gitlab-ci.d + - docker pull "$FQTAG" + - docker build --cache-from "$FQTAG" -t "$TAG" -f "$NAME.Dockerfile" . + - docker tag "$TAG" "$FQTAG" + - docker push "$FQTAG" + after_script: + - docker logout + +python-container: + extends: .container_job_template + variables: + NAME: python diff --git a/.gitlab-ci.d/index.yml b/.gitlab-ci.d/index.yml new file mode 100644 index 0000000..5ef8fcf --- /dev/null +++ b/.gitlab-ci.d/index.yml @@ -0,0 +1,8 @@ +# This file contains the set of jobs run by this project: +# https://gitlab.com/jsnow/qemu.qmp/-/pipelines + +stages: + - containers + +include: + - local: '/.gitlab-ci.d/containers.yml' diff --git a/.gitlab-ci.d/python.Dockerfile b/.gitlab-ci.d/python.Dockerfile new file mode 100644 index 0000000..9501ed4 --- /dev/null +++ b/.gitlab-ci.d/python.Dockerfile @@ -0,0 +1,31 @@ +# Python library build & testing environment. + +# Fedora is convenient, as it allows us to easily access multiple +# versions of the python interpreter, which is great for tox testing. +FROM fedora:latest + +# =E3=80=8C=E3=81=AF=E3=81=98=E3=82=81=E3=81=BE=E3=81=97=E3=81=A6=EF=BC=81= =E3=80=8D +MAINTAINER John Snow + +# Please keep the packages sorted alphabetically. +RUN dnf --setopt=3Dinstall_weak_deps=3DFalse install -y \ + gcc \ + git \ + make \ + pipenv \ + python3 \ + python3-pip \ + python3-tox \ + python3-virtualenv \ + python3.10 \ + python3.6 \ + python3.7 \ + python3.8 \ + python3.9 \ + && python3 -m pip install --upgrade \ + build \ + pip \ + && dnf clean all \ + && rm -rf ~/.cache/pip \ + && rm -rf /var/cache/dnf \ + ; diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..f93a1e1 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,3 @@ +# Hello, is it me you're looking for? +include: + - local: '/.gitlab-ci.d/index.yml' diff --git a/INDEX.rst b/INDEX.rst index 9c45740..8b7a56a 100644 --- a/INDEX.rst +++ b/INDEX.rst @@ -47,6 +47,8 @@ Files in this directory =20 - ``qemu/`` Python 'qemu' namespace package source directory. - ``tests/`` Python package tests directory. +- ``.gitlab-ci.d/`` Files used for GitLab CI configuration. +- ``.gitlab-ci.yml`` Primary GitLab CI configuration file. - ``avocado.cfg`` Configuration for the Avocado test-runner. Used by ``make check`` et al. - ``INDEX.rst`` you are here! --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639603188744714.4482931619852; Wed, 15 Dec 2021 13:19:48 -0800 (PST) Received: from localhost ([::1]:58898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbgh-0006eu-I8 for importer@patchew.org; Wed, 15 Dec 2021 16:19:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbWH-00048m-Gn for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:09:01 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:45696) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbWG-0006cv-1T for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:09:01 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-622-yRJO-f-_PMSnzIYx0CrAQg-1; Wed, 15 Dec 2021 16:08:56 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CD67A1054F92; Wed, 15 Dec 2021 21:08:55 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id BA9B35BE35; Wed, 15 Dec 2021 21:08:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602539; 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=bD+Iw+cQM3uHkNIkanehEK2ltYup32z/f+o2t1hFQGI=; b=UWIbLIxpFzXa5WzytFVaylLxftb9U5BOkJNKFiwkKD7BoCM1lA3fONB3PEUzsqQU04E1X1 N+dRIzmcCvG1Ybj630yIziVam9vdYGpU5QT+1e+taIpotLcokCqJIpT09UWKhUmzRZVM55 23wBzhbL4ewAWXthcrGosf4vVhR9Ktw= X-MC-Unique: yRJO-f-_PMSnzIYx0CrAQg-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 11/24] Add package build step to GitLab CI Date: Wed, 15 Dec 2021 16:06:21 -0500 Message-Id: <20211215210634.3779791-12-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639603190455100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: John Snow --- .gitlab-ci.d/build.yml | 13 +++++++++++++ .gitlab-ci.d/index.yml | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 .gitlab-ci.d/build.yml diff --git a/.gitlab-ci.d/build.yml b/.gitlab-ci.d/build.yml new file mode 100644 index 0000000..6a68408 --- /dev/null +++ b/.gitlab-ci.d/build.yml @@ -0,0 +1,13 @@ +build-package: + stage: build + image: $CI_REGISTRY_IMAGE/python:latest + needs: + job: python-container + script: + - python3 -m build + artifacts: + name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA" + paths: + - dist/* + variables: + GIT_DEPTH: 1 diff --git a/.gitlab-ci.d/index.yml b/.gitlab-ci.d/index.yml index 5ef8fcf..cf61dec 100644 --- a/.gitlab-ci.d/index.yml +++ b/.gitlab-ci.d/index.yml @@ -3,6 +3,8 @@ =20 stages: - containers + - build =20 include: - local: '/.gitlab-ci.d/containers.yml' + - local: '/.gitlab-ci.d/build.yml' --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639602902357322.26368741544013; Wed, 15 Dec 2021 13:15:02 -0800 (PST) Received: from localhost ([::1]:44682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbc5-0005TB-DS for importer@patchew.org; Wed, 15 Dec 2021 16:15:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbX2-0004ow-Tv for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:09:55 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:56349) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbX0-0006f0-Hj for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:09:48 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-231-mjyGD3zwOU2l_vz3Tr9mVA-1; Wed, 15 Dec 2021 16:09:32 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 22CAF1B2C98D; Wed, 15 Dec 2021 21:09:31 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 00B195F4E9; Wed, 15 Dec 2021 21:08:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602576; 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=Augc1vxhk4vbRdd5b+V4ceILyP5xAipib68NlQE06lQ=; b=bzz5ubzKQi1GKBdmXaaGSSO1qu3aLTSJUytnhiqb8PccattY2M5X+08cOZYsh+06XKp4If Vg9jUQee0oKSFXd4rYhQ5pfZoBe3hkyl0LGvvA+3uq2z4Z4PHXlekkpaDcC5BFGwVziKuO kd21zleRgVxVpp/4A13qbwoLbdbmL38= X-MC-Unique: mjyGD3zwOU2l_vz3Tr9mVA-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 12/24] GitLab CI: Add check-dco script Date: Wed, 15 Dec 2021 16:06:22 -0500 Message-Id: <20211215210634.3779791-13-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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-Type: text/plain; charset="utf-8" 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: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639602902893100001 Borrowed with minor modifications from qemu.git. Signed-off-by: John Snow --- .gitlab-ci.d/check-dco.py | 98 +++++++++++++++++++++++++++++++++++++++ .gitlab-ci.d/index.yml | 2 + .gitlab-ci.d/test.yml | 15 ++++++ 3 files changed, 115 insertions(+) create mode 100755 .gitlab-ci.d/check-dco.py create mode 100644 .gitlab-ci.d/test.yml diff --git a/.gitlab-ci.d/check-dco.py b/.gitlab-ci.d/check-dco.py new file mode 100755 index 0000000..747cd54 --- /dev/null +++ b/.gitlab-ci.d/check-dco.py @@ -0,0 +1,98 @@ +#!/usr/bin/env python3 +# +# check-dco.py: validate all commits are signed off +# +# Copyright (C) 2020 Red Hat, Inc. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +import argparse +import os +import os.path +import sys +import subprocess + +parser =3D argparse.ArgumentParser("check-dco") +parser.add_argument( + "repourl", + help=3D"upstream repo URL" +) +parser.add_argument( + "refspec", + help=3D"upstream's default branch (or other refspec)" +) +args =3D parser.parse_args() + + +subprocess.check_call(["git", "remote", "add", "check-dco", args.repourl]) +subprocess.check_call(["git", "fetch", "check-dco", args.refspec], + stdout=3Dsubprocess.DEVNULL, + stderr=3Dsubprocess.DEVNULL) + +ancestor =3D subprocess.check_output( + ["git", "merge-base", f"check-dco/{args.refspec}", "HEAD"], + universal_newlines=3DTrue) +ancestor =3D ancestor.strip() + +subprocess.check_call(["git", "remote", "rm", "check-dco"]) + +errors =3D False + +print("\nChecking for 'Signed-off-by: NAME ' " + + "on all commits since %s...\n" % ancestor) + +log =3D subprocess.check_output(["git", "log", "--format=3D%H %s", + ancestor + "..."], + universal_newlines=3DTrue) + +if log =3D=3D "": + commits =3D [] +else: + commits =3D [[c[0:40], c[41:]] for c in log.strip().split("\n")] + +for sha, subject in commits: + + msg =3D subprocess.check_output(["git", "show", "-s", sha], + universal_newlines=3DTrue) + lines =3D msg.strip().split("\n") + + print("=F0=9F=94=8D %s %s" % (sha, subject)) + sob =3D False + for line in lines: + if "Signed-off-by:" in line: + sob =3D True + if "localhost" in line: + print(" =E2=9D=8C FAIL: bad email in %s" % line) + errors =3D True + + if not sob: + print(" =E2=9D=8C FAIL missing Signed-off-by tag") + errors =3D True + +if errors: + print(""" + +=E2=9D=8C ERROR: One or more commits are missing a valid Signed-off-By tag. + + +This project requires all contributors to assert that their contributions +are provided in compliance with the terms of the Developer's Certificate +of Origin 1.1 (DCO): + + https://developercertificate.org/ + +To indicate acceptance of the DCO every commit must have a tag + + Signed-off-by: REAL NAME + +This can be achieved by passing the "-s" flag to the "git commit" command. + +To bulk update all commits on current branch "git rebase" can be used: + + git rebase -i master -x 'git commit --amend --no-edit -s' + +""") + + sys.exit(1) + +sys.exit(0) diff --git a/.gitlab-ci.d/index.yml b/.gitlab-ci.d/index.yml index cf61dec..cd6a65e 100644 --- a/.gitlab-ci.d/index.yml +++ b/.gitlab-ci.d/index.yml @@ -4,7 +4,9 @@ stages: - containers - build + - test =20 include: - local: '/.gitlab-ci.d/containers.yml' - local: '/.gitlab-ci.d/build.yml' + - local: '/.gitlab-ci.d/test.yml' diff --git a/.gitlab-ci.d/test.yml b/.gitlab-ci.d/test.yml new file mode 100644 index 0000000..35fa105 --- /dev/null +++ b/.gitlab-ci.d/test.yml @@ -0,0 +1,15 @@ +check-dco: + stage: test + image: $CI_REGISTRY_IMAGE/python:latest + needs: + job: python-container + script: + - .gitlab-ci.d/check-dco.py + "https://gitlab.com/jsnow/qemu.qmp.git" + "main" + variables: + GIT_DEPTH: 1000 + rules: + - if: '$CI_PROJECT_NAMESPACE =3D=3D "jsnow" && $CI_COMMIT_BRANCH =3D= =3D $CI_DEFAULT_BRANCH' + when: never + - when: on_success --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 163960331591891.96078795054598; Wed, 15 Dec 2021 13:21:55 -0800 (PST) Received: from localhost ([::1]:33788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbik-0000Sx-Rt for importer@patchew.org; Wed, 15 Dec 2021 16:21:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXC-0004pz-2K for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:03 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:25794) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXA-0006hk-EW for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:09:57 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-558--faJZUggP7uGRNKgRjFzdA-1; Wed, 15 Dec 2021 16:09:54 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E9B62835E28; Wed, 15 Dec 2021 21:09:53 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4A0D147396; Wed, 15 Dec 2021 21:09:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602595; 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=tQqNKvryU+dJMa6A0Hz4jFSJltndRPH1C4vnZxOdfo8=; b=LInW10t+TbYwcAQvKusX8/gI8pAFlxtR7GIbcr7CmjKlL1Ep018ghij3aPKYOHaYZkRFWV WFhWAt8ig0yiYkSxGq2IghW7Fy4TP+qdzQ21pz92YKMDvW6QcMILSdGmSLvk0NAnyWFR1Z t/chPQVv00HlavG3M4Q95R6PacuMvX8= X-MC-Unique: -faJZUggP7uGRNKgRjFzdA-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 13/24] GitLab CI: Add pipenv and tox tests Date: Wed, 15 Dec 2021 16:06:23 -0500 Message-Id: <20211215210634.3779791-14-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639603316660100001 Content-Type: text/plain; charset="utf-8" FIXME: For testing purposes, this patch is still using my personal GitLab URLs, which will have to be changed before this is pushed to production. Signed-off-by: John Snow --- .gitlab-ci.d/test.yml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/.gitlab-ci.d/test.yml b/.gitlab-ci.d/test.yml index 35fa105..19e0c37 100644 --- a/.gitlab-ci.d/test.yml +++ b/.gitlab-ci.d/test.yml @@ -13,3 +13,46 @@ check-dco: - if: '$CI_PROJECT_NAMESPACE =3D=3D "jsnow" && $CI_COMMIT_BRANCH =3D= =3D $CI_DEFAULT_BRANCH' when: never - when: on_success + +.python_test: + stage: test + image: $CI_REGISTRY_IMAGE/python:latest + variables: + GIT_DEPTH: 1 + needs: + job: python-container + +check-python-pipenv: + extends: .python_test + script: + - make check-pipenv + +check-python-36: + extends: .python_test + script: + - QEMU_TOX_EXTRA_ARGS=3D"-e py36" make check-tox + allow_failure: true + +check-python-37: + extends: .python_test + script: + - QEMU_TOX_EXTRA_ARGS=3D"-e py37" make check-tox + allow_failure: true + +check-python-38: + extends: .python_test + script: + - QEMU_TOX_EXTRA_ARGS=3D"-e py38" make check-tox + allow_failure: true + +check-python-39: + extends: .python_test + script: + - QEMU_TOX_EXTRA_ARGS=3D"-e py39" make check-tox + allow_failure: true + +check-python-310: + extends: .python_test + script: + - QEMU_TOX_EXTRA_ARGS=3D"-e py310" make check-tox + allow_failure: true --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639603055756104.86052223455772; Wed, 15 Dec 2021 13:17:35 -0800 (PST) Received: from localhost ([::1]:53236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbeY-0002sK-QB for importer@patchew.org; Wed, 15 Dec 2021 16:17:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXD-0004q2-Jw for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:03 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:55853) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXB-0006iD-KR for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:09:59 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-7-Xmjx9BaOO0iEeavBtGbk3Q-1; Wed, 15 Dec 2021 16:09:56 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 03679835E22; Wed, 15 Dec 2021 21:09:55 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1C0115F4E1; Wed, 15 Dec 2021 21:09:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602597; 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=x9YGDsCcD+Hr248NtDgvV+ExNK4Rb8mWKaYWzORXfg8=; b=Va95m+k2mQ3ARqGZqkN5DjJRZ1fwp3kxnfm6hgJQoOeR7Nsl43fqvnlrEvmUHkDEZnN18K hDyDRtw5r7LIaRHVo8PhupQhv8s51+5XIn9hKQZN49PiWpJuslcvnCEqJnuktTKFMrfZca JPVf5gBXbLGrhhH3DuBMg3smmkElJgs= X-MC-Unique: Xmjx9BaOO0iEeavBtGbk3Q-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 14/24] GitLab CI: Add avocado junit XML output to tests Date: Wed, 15 Dec 2021 16:06:24 -0500 Message-Id: <20211215210634.3779791-15-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639603056700100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: John Snow --- .gitlab-ci.d/test.yml | 16 ++++++++++++++++ Makefile | 1 + avocado.cfg | 7 +++++++ 3 files changed, 24 insertions(+) diff --git a/.gitlab-ci.d/test.yml b/.gitlab-ci.d/test.yml index 19e0c37..3b2a142 100644 --- a/.gitlab-ci.d/test.yml +++ b/.gitlab-ci.d/test.yml @@ -14,7 +14,23 @@ check-dco: when: never - when: on_success =20 +.avocado: + before_script: + - echo "" >> avocado.cfg + - echo "[datadir.paths]" >> avocado.cfg + - echo "logs_dir =3D ./test-results/" >> avocado.cfg + artifacts: + name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA" + when: always + expire_in: 7 days + paths: + - test-results/latest/results.xml + - test-results/latest/test-results + reports: + junit: test-results/latest/results.xml + .python_test: + extends: .avocado stage: test image: $CI_REGISTRY_IMAGE/python:latest variables: diff --git a/Makefile b/Makefile index a2d2f2c..97d737a 100644 --- a/Makefile +++ b/Makefile @@ -109,3 +109,4 @@ distclean: clean rm -rf qemu.qmp.egg-info/ .venv/ .tox/ $(QEMU_VENV_DIR) dist/ rm -f .coverage .coverage.* rm -rf htmlcov/ + rm -rf test-results/ diff --git a/avocado.cfg b/avocado.cfg index c7722e7..a7b9935 100644 --- a/avocado.cfg +++ b/avocado.cfg @@ -11,3 +11,10 @@ output.testlogs.logfiles =3D ['stdout', 'stderr'] =20 # Show full stdout/stderr only on tests that FAIL output.testlogs.statuses =3D ['FAIL'] + +# NOTE: Various gitlab CI jobs will append configuration +# similar to the following, in order to keep test output +# inside of the project root: +# +# [datadir.paths] +# logs_dir =3D ./test-results/ --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639603532200232.4716316144703; Wed, 15 Dec 2021 13:25:32 -0800 (PST) Received: from localhost ([::1]:44706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbmF-0007j6-4j for importer@patchew.org; Wed, 15 Dec 2021 16:25:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXI-0004u6-RL for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:07 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:55898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXH-0006ik-6R for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:04 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-388-t7HiOCM3OxqFGYCFpqp02A-1; Wed, 15 Dec 2021 16:09:56 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 134D310766DD; Wed, 15 Dec 2021 21:09:56 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 29A145F4EA; Wed, 15 Dec 2021 21:09:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602601; 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=2uRjOqlmPZXLOIHWEEPirWvCEyHD7SBDJMiOIq/roHQ=; b=AFQl445UlcY0ldUMmvWsoNhSjE0Hpj10tS/UKkwjMWZhJyOjDbFAuwiQpzEPQ/imbjVQhJ tL2B+OxrlNXksgNCTUOTnCmYJagWcLwOpSifT4YE4MsGfHhx9ut5gLGccrOf/xPcLNWVQZ eXRQSQrrnnacsXRNEtEiZ7OVvv3IeQM= X-MC-Unique: t7HiOCM3OxqFGYCFpqp02A-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 15/24] GitLab CI: Publish python packages to GitLab package repo Date: Wed, 15 Dec 2021 16:06:25 -0500 Message-Id: <20211215210634.3779791-16-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639603533963100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: John Snow --- .gitlab-ci.d/index.yml | 2 ++ .gitlab-ci.d/publish.yml | 11 +++++++++++ .gitlab-ci.d/python.Dockerfile | 1 + 3 files changed, 14 insertions(+) create mode 100644 .gitlab-ci.d/publish.yml diff --git a/.gitlab-ci.d/index.yml b/.gitlab-ci.d/index.yml index cd6a65e..564308c 100644 --- a/.gitlab-ci.d/index.yml +++ b/.gitlab-ci.d/index.yml @@ -5,8 +5,10 @@ stages: - containers - build - test + - publish =20 include: - local: '/.gitlab-ci.d/containers.yml' - local: '/.gitlab-ci.d/build.yml' - local: '/.gitlab-ci.d/test.yml' + - local: '/.gitlab-ci.d/publish.yml' \ No newline at end of file diff --git a/.gitlab-ci.d/publish.yml b/.gitlab-ci.d/publish.yml new file mode 100644 index 0000000..8d05e05 --- /dev/null +++ b/.gitlab-ci.d/publish.yml @@ -0,0 +1,11 @@ +publish-package: + stage: publish + image: $CI_REGISTRY_IMAGE/python:latest + needs: + job: build-package + script: + - TWINE_PASSWORD=3D${CI_JOB_TOKEN} TWINE_USERNAME=3Dgitlab-ci-token + python3 -m twine upload + --verbose + --repository-url "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/package= s/pypi" + dist/* diff --git a/.gitlab-ci.d/python.Dockerfile b/.gitlab-ci.d/python.Dockerfile index 9501ed4..35d84f3 100644 --- a/.gitlab-ci.d/python.Dockerfile +++ b/.gitlab-ci.d/python.Dockerfile @@ -25,6 +25,7 @@ RUN dnf --setopt=3Dinstall_weak_deps=3DFalse install -y \ && python3 -m pip install --upgrade \ build \ pip \ + twine \ && dnf clean all \ && rm -rf ~/.cache/pip \ && rm -rf /var/cache/dnf \ --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639603541142660.4079508994666; Wed, 15 Dec 2021 13:25:41 -0800 (PST) Received: from localhost ([::1]:45166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbmO-000827-4Y for importer@patchew.org; Wed, 15 Dec 2021 16:25:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXP-00051w-Lo for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:14 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:33027) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXM-0006kV-L2 for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:11 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-648-hRl_q9mqOiaFcuIb5cbxuA-1; Wed, 15 Dec 2021 16:09:58 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 358381808337; Wed, 15 Dec 2021 21:09:57 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3A1DF47367; Wed, 15 Dec 2021 21:09:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602604; 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=GWcQol1Jk92w9tKgGrrWMCOPqyPm+ZesMM8bjRETBnY=; b=g/r++U/4O5wsIWsqjFGWNGv7yNBABTtMX/babTPKlxGq6HkE7bJWHkTSr/0xxoUjjT48pj qU3s9zDDCwDBYP9V4tSOGLe+o1N4Ho/EQaqfIVC+KKl4qly5Gja/52EmuMWNxZozWRTfLC OBpw98fEdOAyMlfZjISinWzGJBQBcH0= X-MC-Unique: hRl_q9mqOiaFcuIb5cbxuA-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 16/24] Add setuptools_scm package versioning Date: Wed, 15 Dec 2021 16:06:26 -0500 Message-Id: <20211215210634.3779791-17-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639603542965100001 Content-Type: text/plain; charset="utf-8" The version number will now be generated using the setuptools_scm package, which pulls the version number from git tags. As PEP660 is not yet usable with pyproject.toml style packages, we will be sticking to setup.py style installation for now. "version =3D 0.0.0" exists as a fallback in the event that the build/installation environment does not have setuptools_scm installed. Further, if setuptools_scm *is* installed but we are trying to install directly from a source tarball (instead of from a python source distribution), 'fallback_version': '0.0.0' will be utilized as the fallback. Lastly, tag this release as v0.0.0 to give setuptools_scm something to work with and establish precedent for future releases. Signed-off-by: John Snow --- .gitlab-ci.d/build.yml | 2 +- .gitlab-ci.d/python.Dockerfile | 1 + INDEX.rst | 2 -- MANIFEST.in | 1 - VERSION | 1 - setup.cfg | 3 ++- setup.py | 11 ++++++++++- 7 files changed, 14 insertions(+), 7 deletions(-) delete mode 100644 VERSION diff --git a/.gitlab-ci.d/build.yml b/.gitlab-ci.d/build.yml index 6a68408..bf2d487 100644 --- a/.gitlab-ci.d/build.yml +++ b/.gitlab-ci.d/build.yml @@ -10,4 +10,4 @@ build-package: paths: - dist/* variables: - GIT_DEPTH: 1 + GIT_DEPTH: 0 \ No newline at end of file diff --git a/.gitlab-ci.d/python.Dockerfile b/.gitlab-ci.d/python.Dockerfile index 35d84f3..93661b2 100644 --- a/.gitlab-ci.d/python.Dockerfile +++ b/.gitlab-ci.d/python.Dockerfile @@ -25,6 +25,7 @@ RUN dnf --setopt=3Dinstall_weak_deps=3DFalse install -y \ && python3 -m pip install --upgrade \ build \ pip \ + setuptools_scm \ twine \ && dnf clean all \ && rm -rf ~/.cache/pip \ diff --git a/INDEX.rst b/INDEX.rst index 8b7a56a..dddfcde 100644 --- a/INDEX.rst +++ b/INDEX.rst @@ -62,5 +62,3 @@ Files in this directory - ``README.rst`` is used as the README file that is visible on PyPI.org. - ``setup.cfg`` houses setuptools package configuration. - ``setup.py`` is the setuptools installer used by pip; See above. -- ``VERSION`` contains the PEP-440 compliant version used to describe - this package; it is referenced by ``setup.cfg``. diff --git a/MANIFEST.in b/MANIFEST.in index 2a3fc58..9561fb1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1 @@ -include VERSION include README.rst diff --git a/VERSION b/VERSION deleted file mode 100644 index 7741e1a..0000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -0.0.0a1 diff --git a/setup.cfg b/setup.cfg index f4a02d6..03dd4f0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name =3D qemu.qmp -version =3D file:VERSION +version =3D 0.0.0 author =3D John Snow author_email =3D jsnow@redhat.com maintainer =3D QEMU Project @@ -26,6 +26,7 @@ classifiers =3D Typing :: Typed =20 [options] +setup_requires =3D setuptools_scm python_requires =3D >=3D 3.6 packages =3D qemu.qmp diff --git a/setup.py b/setup.py index cb9b9b6..5904d07 100755 --- a/setup.py +++ b/setup.py @@ -7,6 +7,12 @@ Copyright (c) 2020-2021 John Snow for Red Hat, Inc. import setuptools import pkg_resources =20 +try: + import setuptools_scm + _HAVE_SCM =3D True +except ModuleNotFoundError: + _HAVE_SCM =3D False + =20 def main(): """ @@ -16,7 +22,10 @@ def main(): # https://medium.com/@daveshawley/safely-using-setup-cfg-for-metadata-= 1babbe54c108 pkg_resources.require('setuptools>=3D39.2') =20 - setuptools.setup() + if _HAVE_SCM: + setuptools.setup(use_scm_version=3D{'fallback_version': '0.0.0'}) + else: + setuptools.setup() =20 =20 if __name__ =3D=3D '__main__': --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639603152727914.3436100956656; Wed, 15 Dec 2021 13:19:12 -0800 (PST) Received: from localhost ([::1]:56146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbg7-0004mq-7F for importer@patchew.org; Wed, 15 Dec 2021 16:19:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXI-0004u7-SK for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:08 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:26521) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXH-0006ix-8F for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:04 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-396-96dMcjXJMrCSL6XADDpb_Q-1; Wed, 15 Dec 2021 16:09:59 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4189E92532; Wed, 15 Dec 2021 21:09:58 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5AA6E5BE35; Wed, 15 Dec 2021 21:09:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602602; 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=vfIfUfLvs3S9h7ecQs5roPlFRdW+bHgCpGmYyRdjUyA=; b=Z6prGYywk1xsNTWagpOj54rXIvywOy5v6gFp6FWv6pbFIsWEazjqnAXtP6KecM33/LaVcV 9u4jPIeWFjIFikS2rdHeMcEg751XtGUjgXeOLNFKLaDVyD4mnBpRzOMuorF+HWBGT31Lpb u728kpVtq7FETP6LmEqrRjx3qCP4UpU= X-MC-Unique: 96dMcjXJMrCSL6XADDpb_Q-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 17/24] Makefile: add build and publish targets Date: Wed, 15 Dec 2021 16:06:27 -0500 Message-Id: <20211215210634.3779791-18-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639603153722100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: John Snow --- Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/Makefile b/Makefile index 97d737a..81bfca8 100644 --- a/Makefile +++ b/Makefile @@ -110,3 +110,35 @@ distclean: clean rm -f .coverage .coverage.* rm -rf htmlcov/ rm -rf test-results/ + +.PHONY: pristine +pristine: + @git diff-files --quiet --ignore-submodules -- || \ + (echo "You have unstaged changes."; exit 1) + @git diff-index --cached --quiet HEAD --ignore-submodules -- || \ + (echo "Your index contains uncommitted changes."; exit 1) + @[ -z "$(shell git ls-files -o)" ] || \ + (echo "You have untracked files: $(shell git ls-files -o)"; exit 1) + +dist: setup.cfg setup.py Makefile README.rst + python3 -m build + @touch dist + +.PHONY: pre-publish +pre-publish: pristine dist + @git describe --exact-match 2>/dev/null || \ + (echo -e "\033[0;31mThere is no annotated tag for this commit.\033[0m"; = exit 1) + python3 -m twine check --strict dist/* + git push -v --atomic --follow-tags --dry-run + +.PHONY: publish +publish: pre-publish + # Set the username via TWINE_USERNAME. + # Set the password via TWINE_PASSWORD. + # Set the pkg repository via TWINE_REPOSITORY. + python3 -m twine upload --verbose dist/* + git push -v --atomic --follow-tags + +.PHONY: publish-test +publish-test: pre-publish + python3 -m twine upload --verbose -r testpypi dist/* --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639603317284533.4781360989929; Wed, 15 Dec 2021 13:21:57 -0800 (PST) Received: from localhost ([::1]:33838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbim-0000VJ-69 for importer@patchew.org; Wed, 15 Dec 2021 16:21:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXR-00051z-Fp for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:14 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:32325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXM-0006kg-La for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:13 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-232-vmB9uyzYPwGHIG-kF7129Q-1; Wed, 15 Dec 2021 16:10:00 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7418585B66C; Wed, 15 Dec 2021 21:09:59 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6C35B5F4E1; Wed, 15 Dec 2021 21:09:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602606; 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=9uMC9WY3xHvInV0vgIKMezUPUWPxqx62XoIDovZ1slY=; b=AVLaFjXbXlzbcpJpOLkadKPTZYkoAY0xiTWucMIuBekROVP2a1JrqLR2jCQCH21nuQdFur VVz6ntuYG25EKTmjKCu14nHxaAerF1s3bm8us0a58ztD5qXsOhMNgDqA5ZUfJL+kNm2NRy 4GHzgy1MpIjDNK1AvxjSCE8qjDDrdbY= X-MC-Unique: vmB9uyzYPwGHIG-kF7129Q-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 18/24] add Sphinx documentation config stub Date: Wed, 15 Dec 2021 16:06:28 -0500 Message-Id: <20211215210634.3779791-19-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639603318873100001 Content-Type: text/plain; charset="utf-8" This is the result of this command: sphinx-apidoc --separate \ --no-toc \ --module-first \ --implicit-namespaces \ --full \ --ext-intersphinx \ --ext-coverage \ --ext-viewcode \ -o docs/ \ qemu/ (And `touch docs/_static/.gitignore`, to create an "empty" directory.) This configuration is not yet functional, but I wanted to distinguish between automatically generated boilerplate and intentional configuration changes so as to document the entire process of getting sphinx doc generation up, running, and fully configured. Signed-off-by: John Snow --- docs/Makefile | 20 +++++++++ docs/conf.py | 80 ++++++++++++++++++++++++++++++++++++ docs/index.rst | 21 ++++++++++ docs/make.bat | 35 ++++++++++++++++ docs/qemu.qmp.aqmp_tui.rst | 7 ++++ docs/qemu.qmp.error.rst | 7 ++++ docs/qemu.qmp.events.rst | 7 ++++ docs/qemu.qmp.legacy.rst | 7 ++++ docs/qemu.qmp.message.rst | 7 ++++ docs/qemu.qmp.models.rst | 7 ++++ docs/qemu.qmp.protocol.rst | 7 ++++ docs/qemu.qmp.qmp_client.rst | 7 ++++ docs/qemu.qmp.qmp_shell.rst | 7 ++++ docs/qemu.qmp.rst | 24 +++++++++++ docs/qemu.qmp.util.rst | 7 ++++ docs/qemu.rst | 10 +++++ 16 files changed, 260 insertions(+) create mode 100644 docs/Makefile create mode 100644 docs/conf.py create mode 100644 docs/index.rst create mode 100644 docs/make.bat create mode 100644 docs/qemu.qmp.aqmp_tui.rst create mode 100644 docs/qemu.qmp.error.rst create mode 100644 docs/qemu.qmp.events.rst create mode 100644 docs/qemu.qmp.legacy.rst create mode 100644 docs/qemu.qmp.message.rst create mode 100644 docs/qemu.qmp.models.rst create mode 100644 docs/qemu.qmp.protocol.rst create mode 100644 docs/qemu.qmp.qmp_client.rst create mode 100644 docs/qemu.qmp.qmp_shell.rst create mode 100644 docs/qemu.qmp.rst create mode 100644 docs/qemu.qmp.util.rst create mode 100644 docs/qemu.rst diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 0000000..d4bb2cb --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,20 @@ +# Minimal makefile for Sphinx documentation +# + +# You can set these variables from the command line, and also +# from the environment for the first two. +SPHINXOPTS ?=3D +SPHINXBUILD ?=3D sphinx-build +SOURCEDIR =3D . +BUILDDIR =3D _build + +# Put it first so that "make" without argument is like "make help". +help: + @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + +.PHONY: help Makefile + +# Catch-all target: route all unknown targets to Sphinx using the new +# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). +%: Makefile + @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) diff --git a/docs/conf.py b/docs/conf.py new file mode 100644 index 0000000..c7ce779 --- /dev/null +++ b/docs/conf.py @@ -0,0 +1,80 @@ +# Configuration file for the Sphinx documentation builder. +# +# This file only contains a selection of the most common options. For a fu= ll +# list see the documentation: +# https://www.sphinx-doc.org/en/master/usage/configuration.html + +# -- Path setup ----------------------------------------------------------= ---- + +# If extensions (or modules to document with autodoc) are in another direc= tory, +# add these directories to sys.path here. If the directory is relative to = the +# documentation root, use os.path.abspath to make it absolute, like shown = here. +# +# import os +# import sys +# sys.path.insert(0, '/home/jsnow/src/tmp/qemu.qmp/qemu') + + +# -- Project information -------------------------------------------------= ---- + +project =3D 'qemu' +copyright =3D '2021, Author' +author =3D 'Author' + + +# -- General configuration -----------------------------------------------= ---- + +# Add any Sphinx extension module names here, as strings. They can be +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom +# ones. +extensions =3D [ + 'sphinx.ext.autodoc', + 'sphinx.ext.viewcode', + 'sphinx.ext.todo', + 'sphinx.ext.intersphinx', + 'sphinx.ext.coverage', + 'sphinx.ext.viewcode', +] + +# Add any paths that contain templates here, relative to this directory. +templates_path =3D ['_templates'] + +# The language for content autogenerated by Sphinx. Refer to documentation +# for a list of supported languages. +# +# This is also used if you do content translation via gettext catalogs. +# Usually you set "language" from the command line for these cases. +language =3D 'en' + +# List of patterns, relative to source directory, that match files and +# directories to ignore when looking for source files. +# This pattern also affects html_static_path and html_extra_path. +exclude_patterns =3D ['_build', 'Thumbs.db', '.DS_Store'] + + +# -- Options for HTML output ---------------------------------------------= ---- + +# The theme to use for HTML and HTML Help pages. See the documentation for +# a list of builtin themes. +# +html_theme =3D 'alabaster' + +# Add any paths that contain custom static files (such as style sheets) he= re, +# relative to this directory. They are copied after the builtin static fil= es, +# so a file named "default.css" will overwrite the builtin "default.css". +html_static_path =3D ['_static'] + + +# -- Extension configuration ---------------------------------------------= ---- + +# -- Options for intersphinx extension -----------------------------------= ---- + +# Example configuration for intersphinx: refer to the Python standard libr= ary. +intersphinx_mapping =3D { + 'python': ('https://docs.python.org/3', None), +} + +# -- Options for todo extension ------------------------------------------= ---- + +# If true, `todo` and `todoList` produce output, else they produce nothing. +todo_include_todos =3D True \ No newline at end of file diff --git a/docs/index.rst b/docs/index.rst new file mode 100644 index 0000000..bff786a --- /dev/null +++ b/docs/index.rst @@ -0,0 +1,21 @@ +.. qemu documentation master file, created by + sphinx-quickstart on Mon Dec 13 16:50:29 2021. + You can adapt this file completely to your liking, but it should at lea= st + contain the root `toctree` directive. + +Welcome to qemu's documentation! +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D + +.. toctree:: + :maxdepth: 4 + :caption: Contents: + + qemu + + +Indices and tables +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` diff --git a/docs/make.bat b/docs/make.bat new file mode 100644 index 0000000..2119f51 --- /dev/null +++ b/docs/make.bat @@ -0,0 +1,35 @@ +@ECHO OFF + +pushd %~dp0 + +REM Command file for Sphinx documentation + +if "%SPHINXBUILD%" =3D=3D "" ( + set SPHINXBUILD=3Dsphinx-build +) +set SOURCEDIR=3D. +set BUILDDIR=3D_build + +if "%1" =3D=3D "" goto help + +%SPHINXBUILD% >NUL 2>NUL +if errorlevel 9009 ( + echo. + echo.The 'sphinx-build' command was not found. Make sure you have Sphinx + echo.installed, then set the SPHINXBUILD environment variable to point + echo.to the full path of the 'sphinx-build' executable. Alternatively you + echo.may add the Sphinx directory to PATH. + echo. + echo.If you don't have Sphinx installed, grab it from + echo.http://sphinx-doc.org/ + exit /b 1 +) + +%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% +goto end + +:help +%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% + +:end +popd diff --git a/docs/qemu.qmp.aqmp_tui.rst b/docs/qemu.qmp.aqmp_tui.rst new file mode 100644 index 0000000..a5c55f9 --- /dev/null +++ b/docs/qemu.qmp.aqmp_tui.rst @@ -0,0 +1,7 @@ +qemu.qmp.aqmp\_tui module +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D + +.. automodule:: qemu.qmp.aqmp_tui + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/qemu.qmp.error.rst b/docs/qemu.qmp.error.rst new file mode 100644 index 0000000..89f069d --- /dev/null +++ b/docs/qemu.qmp.error.rst @@ -0,0 +1,7 @@ +qemu.qmp.error module +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +.. automodule:: qemu.qmp.error + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/qemu.qmp.events.rst b/docs/qemu.qmp.events.rst new file mode 100644 index 0000000..a4b9fd3 --- /dev/null +++ b/docs/qemu.qmp.events.rst @@ -0,0 +1,7 @@ +qemu.qmp.events module +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +.. automodule:: qemu.qmp.events + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/qemu.qmp.legacy.rst b/docs/qemu.qmp.legacy.rst new file mode 100644 index 0000000..83abd38 --- /dev/null +++ b/docs/qemu.qmp.legacy.rst @@ -0,0 +1,7 @@ +qemu.qmp.legacy module +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +.. automodule:: qemu.qmp.legacy + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/qemu.qmp.message.rst b/docs/qemu.qmp.message.rst new file mode 100644 index 0000000..765ae63 --- /dev/null +++ b/docs/qemu.qmp.message.rst @@ -0,0 +1,7 @@ +qemu.qmp.message module +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +.. automodule:: qemu.qmp.message + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/qemu.qmp.models.rst b/docs/qemu.qmp.models.rst new file mode 100644 index 0000000..55585b7 --- /dev/null +++ b/docs/qemu.qmp.models.rst @@ -0,0 +1,7 @@ +qemu.qmp.models module +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +.. automodule:: qemu.qmp.models + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/qemu.qmp.protocol.rst b/docs/qemu.qmp.protocol.rst new file mode 100644 index 0000000..fca55ad --- /dev/null +++ b/docs/qemu.qmp.protocol.rst @@ -0,0 +1,7 @@ +qemu.qmp.protocol module +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +.. automodule:: qemu.qmp.protocol + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/qemu.qmp.qmp_client.rst b/docs/qemu.qmp.qmp_client.rst new file mode 100644 index 0000000..1d5beda --- /dev/null +++ b/docs/qemu.qmp.qmp_client.rst @@ -0,0 +1,7 @@ +qemu.qmp.qmp\_client module +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D + +.. automodule:: qemu.qmp.qmp_client + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/qemu.qmp.qmp_shell.rst b/docs/qemu.qmp.qmp_shell.rst new file mode 100644 index 0000000..0510cd3 --- /dev/null +++ b/docs/qemu.qmp.qmp_shell.rst @@ -0,0 +1,7 @@ +qemu.qmp.qmp\_shell module +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D + +.. automodule:: qemu.qmp.qmp_shell + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/qemu.qmp.rst b/docs/qemu.qmp.rst new file mode 100644 index 0000000..305e5b0 --- /dev/null +++ b/docs/qemu.qmp.rst @@ -0,0 +1,24 @@ +qemu.qmp package +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +.. automodule:: qemu.qmp + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +.. toctree:: + :maxdepth: 4 + + qemu.qmp.aqmp_tui + qemu.qmp.error + qemu.qmp.events + qemu.qmp.legacy + qemu.qmp.message + qemu.qmp.models + qemu.qmp.protocol + qemu.qmp.qmp_client + qemu.qmp.qmp_shell + qemu.qmp.util diff --git a/docs/qemu.qmp.util.rst b/docs/qemu.qmp.util.rst new file mode 100644 index 0000000..8f2ac87 --- /dev/null +++ b/docs/qemu.qmp.util.rst @@ -0,0 +1,7 @@ +qemu.qmp.util module +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +.. automodule:: qemu.qmp.util + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/qemu.rst b/docs/qemu.rst new file mode 100644 index 0000000..f33a4f4 --- /dev/null +++ b/docs/qemu.rst @@ -0,0 +1,10 @@ +qemu namespace +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +Subpackages +----------- + +.. toctree:: + :maxdepth: 4 + + qemu.qmp --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639603997346305.1429390804442; Wed, 15 Dec 2021 13:33:17 -0800 (PST) Received: from localhost ([::1]:59462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbtk-0000xT-BB for importer@patchew.org; Wed, 15 Dec 2021 16:33:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXP-00051v-Kv for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:14 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:35464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXL-0006kH-Iv for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:11 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-44-FJeTCUBTMPOeZvh5i5BUHA-1; Wed, 15 Dec 2021 16:10:01 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5BB80801962; Wed, 15 Dec 2021 21:10:00 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 77C0847361; Wed, 15 Dec 2021 21:09:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602604; 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=UvxcYsyaP0v5BZAHNJLsl2HEAojpbaOz0sxAR8aEhiw=; b=NFD0/HmlBHcm1BV9uSFSj5QeAKbjL5pIBRMCY075Sp/N/BYtEKULNRz+YylxvZ4gM5vuyS WsDerN551UWWo9gOJvCf0QXlmmnm0wiLw9JZ5Ack6r7KWD85eEkHjLyqLXH6ZlQrdj6bPl Q04zhJGwW1DciZL3pT4f2SW0Q8uN6Ik= X-MC-Unique: FJeTCUBTMPOeZvh5i5BUHA-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 19/24] python: configure sphinx Date: Wed, 15 Dec 2021 16:06:29 -0500 Message-Id: <20211215210634.3779791-20-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639603997667100001 Content-Type: text/plain; charset="utf-8" With a Sphinx project auto-generated, configure it to be something a bit more useful. And pretty. Signed-off-by: John Snow --- docs/conf.py | 45 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 9 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index c7ce779..7db99c2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -9,18 +9,28 @@ # If extensions (or modules to document with autodoc) are in another direc= tory, # add these directories to sys.path here. If the directory is relative to = the # documentation root, use os.path.abspath to make it absolute, like shown = here. -# -# import os -# import sys -# sys.path.insert(0, '/home/jsnow/src/tmp/qemu.qmp/qemu') + +import os +import sys +sys.path.insert(0, os.path.abspath('../')) =20 =20 # -- Project information -------------------------------------------------= ---- =20 -project =3D 'qemu' -copyright =3D '2021, Author' -author =3D 'Author' +project =3D 'QEMU Monitor Protocol (QMP) Library' +copyright =3D '2009-2021, QEMU Project' +author =3D 'John Snow' =20 +try: + import setuptools_scm + extracted_version =3D setuptools_scm.get_version() +except: + extracted_version =3D None +finally: + if extracted_version: + version =3D release =3D extracted_version + else: + version =3D release =3D "unknown version" =20 # -- General configuration -----------------------------------------------= ---- =20 @@ -51,13 +61,30 @@ language =3D 'en' # This pattern also affects html_static_path and html_extra_path. exclude_patterns =3D ['_build', 'Thumbs.db', '.DS_Store'] =20 +# Interpret `this` to be a cross-reference to "anything". +default_role =3D 'any' =20 # -- Options for HTML output ---------------------------------------------= ---- =20 # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme =3D 'alabaster' +html_theme =3D 'sphinx_rtd_theme' + +# https://sphinx-rtd-theme.readthedocs.io/en/stable/configuring.html#theme= -options +html_theme_options =3D { + 'collapse_navigation': False, + 'display_version': True, + 'prev_next_buttons_location': 'both', +} + +html_context =3D { + "display_gitlab": True, + "gitlab_user": "jsnow", + "gitlab_repo": "qemu.qmp", + "gitlab_version": "main", + "conf_py_path": "/docs/", +} =20 # Add any paths that contain custom static files (such as style sheets) he= re, # relative to this directory. They are copied after the builtin static fil= es, @@ -77,4 +104,4 @@ intersphinx_mapping =3D { # -- Options for todo extension ------------------------------------------= ---- =20 # If true, `todo` and `todoList` produce output, else they produce nothing. -todo_include_todos =3D True \ No newline at end of file +todo_include_todos =3D True --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639603670750548.057995185551; Wed, 15 Dec 2021 13:27:50 -0800 (PST) Received: from localhost ([::1]:50176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxboS-00032D-Iy for importer@patchew.org; Wed, 15 Dec 2021 16:27:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXP-00051u-Ho for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:14 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:36536) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXM-0006ko-LR for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:11 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-61-ApEYCzN_M22uDS9kPWxtzQ-1; Wed, 15 Dec 2021 16:10:03 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6A3A51883627; Wed, 15 Dec 2021 21:10:01 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 819E25F4E9; Wed, 15 Dec 2021 21:10:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602606; 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=q/iCBe5M6HPriY9xDBWl3NX2LHiyzJRybtXTRiVxdgM=; b=EgvDGiB09MBgJrIVbEYBXDbn5U9wHlqmuuTEadI5YqV+ZlNF8GS/ML1egQwkWr4bMc7NTD rjysCurIJLm3l9kT/TAqEYHAz2lTHF+Zb46oUU+6paXEvrDuV53i33YrbR3eiQYk6CN0Rp /1bMl2PIzXG+mOliaJ4MBVNeoh/xwG8= X-MC-Unique: ApEYCzN_M22uDS9kPWxtzQ-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 20/24] python: adjust apidoc stubs Date: Wed, 15 Dec 2021 16:06:30 -0500 Message-Id: <20211215210634.3779791-21-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639603671164100001 Content-Type: text/plain; charset="utf-8" Change the configuration for the generated apidoc stubs. Some of the changes, as a summary: - Collapse the hierarchy to omit the QEMU namespace page - Add more meaningful titles to the subpackages - Prefer source ordering in most places - Do not index pages that do not define their own symbols (via __all__) - Show hidden members for qemu.aqmp.protocol, since this interface is designed to be extended. Signed-off-by: John Snow --- docs/index.rst | 6 +++--- docs/qemu.qmp.aqmp_tui.rst | 7 ------- docs/qemu.qmp.error.rst | 1 + docs/qemu.qmp.message.rst | 1 + docs/qemu.qmp.models.rst | 1 + docs/qemu.qmp.protocol.rst | 2 ++ docs/qemu.qmp.qmp_client.rst | 1 + docs/qemu.qmp.qmp_shell.rst | 7 ------- docs/qemu.qmp.rst | 8 ++++---- docs/qemu.qmp.util.rst | 1 + docs/qemu.rst | 10 ---------- 11 files changed, 14 insertions(+), 31 deletions(-) delete mode 100644 docs/qemu.qmp.aqmp_tui.rst delete mode 100644 docs/qemu.qmp.qmp_shell.rst delete mode 100644 docs/qemu.rst diff --git a/docs/index.rst b/docs/index.rst index bff786a..2c7ccdb 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -3,14 +3,14 @@ You can adapt this file completely to your liking, but it should at lea= st contain the root `toctree` directive. =20 -Welcome to qemu's documentation! -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D +qemu.qmp library documentation +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D =20 .. toctree:: :maxdepth: 4 :caption: Contents: =20 - qemu + qemu.qmp =20 =20 Indices and tables diff --git a/docs/qemu.qmp.aqmp_tui.rst b/docs/qemu.qmp.aqmp_tui.rst deleted file mode 100644 index a5c55f9..0000000 --- a/docs/qemu.qmp.aqmp_tui.rst +++ /dev/null @@ -1,7 +0,0 @@ -qemu.qmp.aqmp\_tui module -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D - -.. automodule:: qemu.qmp.aqmp_tui - :members: - :undoc-members: - :show-inheritance: diff --git a/docs/qemu.qmp.error.rst b/docs/qemu.qmp.error.rst index 89f069d..5105330 100644 --- a/docs/qemu.qmp.error.rst +++ b/docs/qemu.qmp.error.rst @@ -5,3 +5,4 @@ qemu.qmp.error module :members: :undoc-members: :show-inheritance: + :member-order: bysource diff --git a/docs/qemu.qmp.message.rst b/docs/qemu.qmp.message.rst index 765ae63..b824dc6 100644 --- a/docs/qemu.qmp.message.rst +++ b/docs/qemu.qmp.message.rst @@ -5,3 +5,4 @@ qemu.qmp.message module :members: :undoc-members: :show-inheritance: + :member-order: bysource diff --git a/docs/qemu.qmp.models.rst b/docs/qemu.qmp.models.rst index 55585b7..1e2f608 100644 --- a/docs/qemu.qmp.models.rst +++ b/docs/qemu.qmp.models.rst @@ -5,3 +5,4 @@ qemu.qmp.models module :members: :undoc-members: :show-inheritance: + :member-order: bysource diff --git a/docs/qemu.qmp.protocol.rst b/docs/qemu.qmp.protocol.rst index fca55ad..947e15f 100644 --- a/docs/qemu.qmp.protocol.rst +++ b/docs/qemu.qmp.protocol.rst @@ -5,3 +5,5 @@ qemu.qmp.protocol module :members: :undoc-members: :show-inheritance: + :private-members: + :member-order: bysource diff --git a/docs/qemu.qmp.qmp_client.rst b/docs/qemu.qmp.qmp_client.rst index 1d5beda..83b8101 100644 --- a/docs/qemu.qmp.qmp_client.rst +++ b/docs/qemu.qmp.qmp_client.rst @@ -5,3 +5,4 @@ qemu.qmp.qmp\_client module :members: :undoc-members: :show-inheritance: + :member-order: bysource diff --git a/docs/qemu.qmp.qmp_shell.rst b/docs/qemu.qmp.qmp_shell.rst deleted file mode 100644 index 0510cd3..0000000 --- a/docs/qemu.qmp.qmp_shell.rst +++ /dev/null @@ -1,7 +0,0 @@ -qemu.qmp.qmp\_shell module -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D - -.. automodule:: qemu.qmp.qmp_shell - :members: - :undoc-members: - :show-inheritance: diff --git a/docs/qemu.qmp.rst b/docs/qemu.qmp.rst index 305e5b0..d1d2cd3 100644 --- a/docs/qemu.qmp.rst +++ b/docs/qemu.qmp.rst @@ -1,10 +1,12 @@ -qemu.qmp package -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +qemu.qmp - Asynchronous QEMU Monitor Protocol (QMP) library +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 .. automodule:: qemu.qmp :members: :undoc-members: :show-inheritance: + :noindex: + :member-order: bysource =20 Submodules ---------- @@ -12,7 +14,6 @@ Submodules .. toctree:: :maxdepth: 4 =20 - qemu.qmp.aqmp_tui qemu.qmp.error qemu.qmp.events qemu.qmp.legacy @@ -20,5 +21,4 @@ Submodules qemu.qmp.models qemu.qmp.protocol qemu.qmp.qmp_client - qemu.qmp.qmp_shell qemu.qmp.util diff --git a/docs/qemu.qmp.util.rst b/docs/qemu.qmp.util.rst index 8f2ac87..24a6f82 100644 --- a/docs/qemu.qmp.util.rst +++ b/docs/qemu.qmp.util.rst @@ -5,3 +5,4 @@ qemu.qmp.util module :members: :undoc-members: :show-inheritance: + :member-order: bysource diff --git a/docs/qemu.rst b/docs/qemu.rst deleted file mode 100644 index f33a4f4..0000000 --- a/docs/qemu.rst +++ /dev/null @@ -1,10 +0,0 @@ -qemu namespace -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D - -Subpackages ------------ - -.. toctree:: - :maxdepth: 4 - - qemu.qmp --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639603350540555.4235578265387; Wed, 15 Dec 2021 13:22:30 -0800 (PST) Received: from localhost ([::1]:36534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbjI-0002Is-3p for importer@patchew.org; Wed, 15 Dec 2021 16:22:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXR-000520-L1 for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:14 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:42639) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXQ-0006lu-6Z for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:13 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-196-GHmYVr3QMW6vCsBiV4pnkw-1; Wed, 15 Dec 2021 16:10:03 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7FD8B93923; Wed, 15 Dec 2021 21:10:02 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 908EE47361; Wed, 15 Dec 2021 21:10:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602611; 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=BtMdI8HuXS9TZz2TChs6gbI0FWOZlZejy3yCoiFuRaw=; b=fo3uMbiRhs4OgbGZ0luqv6YlkOkQ6jY5bWJfyiBZ4u+0q0Dlm766QIwKWjYCeQ2C0QvJCE PRi2Hyg5f0L9LBv9jennEJv7LTCu9EFD8C6TbTVFfUvjdX6N6hA+M/FtNvHsuNDLZtGi9E LnUhqzpZ3C5EoHzJzJhFN4fAnEl15BQ= X-MC-Unique: GHmYVr3QMW6vCsBiV4pnkw-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 21/24] Fix doc cross-reference regressions Date: Wed, 15 Dec 2021 16:06:31 -0500 Message-Id: <20211215210634.3779791-22-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639603351560100001 Content-Type: text/plain; charset="utf-8" Before enabling docs building as a CI step, lingering cross-reference failures need to be addressed. Signed-off-by: John Snow --- qemu/qmp/legacy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu/qmp/legacy.py b/qemu/qmp/legacy.py index 6c250cd..8e976f9 100644 --- a/qemu/qmp/legacy.py +++ b/qemu/qmp/legacy.py @@ -71,7 +71,7 @@ class QEMUMonitorProtocol: :param nickname: Optional nickname used for logging. =20 ..note:: - No connection is established during `__init__`, this is done by + No connection is established during ``__init__``, this is done by the `connect()` or `accept()` methods. """ =20 @@ -287,7 +287,7 @@ class QEMUMonitorProtocol: Set the timeout for QMP RPC execution. =20 This timeout affects the `cmd`, `cmd_obj`, and `command` methods. - The `accept`, `pull_event` and `get_event` methods have their + The `accept`, `pull_event` and `get_events` methods have their own configurable timeouts. =20 :param timeout: --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639603450715847.1046888851979; Wed, 15 Dec 2021 13:24:10 -0800 (PST) Received: from localhost ([::1]:42654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbkv-0006LD-Pj for importer@patchew.org; Wed, 15 Dec 2021 16:24:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXS-00052B-7L for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:14 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:36908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXQ-0006m6-Hu for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:13 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-382-0ru2zZ4APKesiwmGmAcKdA-1; Wed, 15 Dec 2021 16:10:04 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8D7D2801962; Wed, 15 Dec 2021 21:10:03 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id A5B845BE35; Wed, 15 Dec 2021 21:10:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602612; 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=86hpcKgURSYDBQrfTVwkkm0muhrD5Jc1d4TwpPI71AE=; b=gukvZw/m9ZLaNHfmkwC+qwe13W5CuVMjXkn4wFDvBPRE2p7elx/sHoodhbxmkwS30C3bw8 u5BVi++kUwaKc0znltmy8vMjWIuZ5zbXU7Iou8Fx+BwnhebbLfiW9lljiBS9JB9T9VCSa2 zpkFmJBGn1iQoQu7GXZs/fFic6guGLg= X-MC-Unique: 0ru2zZ4APKesiwmGmAcKdA-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 22/24] docs: add Makefile target Date: Wed, 15 Dec 2021 16:06:32 -0500 Message-Id: <20211215210634.3779791-23-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639603452715100003 Content-Type: text/plain; charset="utf-8" Signed-off-by: John Snow --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 81bfca8..029a824 100644 --- a/Makefile +++ b/Makefile @@ -103,6 +103,7 @@ check-coverage: clean: python3 setup.py clean --all rm -f pyproject.toml + make -C docs clean =20 .PHONY: distclean distclean: clean @@ -142,3 +143,7 @@ publish: pre-publish .PHONY: publish-test publish-test: pre-publish python3 -m twine upload --verbose -r testpypi dist/* + +.PHONY: docs +docs: + make -C docs html --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 163960342723011.589275454854487; Wed, 15 Dec 2021 13:23:47 -0800 (PST) Received: from localhost ([::1]:41550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbkY-0005cw-AF for importer@patchew.org; Wed, 15 Dec 2021 16:23:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXQ-00051y-1T for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:14 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:43270) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXM-0006ku-Lg for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:11 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-486-0NcfGChmN--5z9YA7ljZOQ-1; Wed, 15 Dec 2021 16:10:05 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 98228100F94C; Wed, 15 Dec 2021 21:10:04 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id B3C4F47367; Wed, 15 Dec 2021 21:10:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602606; 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=jDalYezetSTOGjmpTfMhwzKWEwEh+GWVerHGkFhpnYI=; b=iNyNrnMtEB3LDOkmgcksqgbH436Aa5eBCcMHrwJJEF0JoIgy2Q4NoUitcV1opLieMjBj3M ct4N2SDiQ528HjSxGklWGlnWdh17GJ+fr2c77baGAHe0YU7w00cfmgt+uUMFBexKJb5caO b1IkNbuMnJMUjBLjxWuDLOd3K1hoKfg= X-MC-Unique: 0NcfGChmN--5z9YA7ljZOQ-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 23/24] docs: add doc build to GitLab CI build step Date: Wed, 15 Dec 2021 16:06:33 -0500 Message-Id: <20211215210634.3779791-24-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639603429569100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: John Snow --- .gitlab-ci.d/build.yml | 1 + .gitlab-ci.d/python.Dockerfile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitlab-ci.d/build.yml b/.gitlab-ci.d/build.yml index bf2d487..5634173 100644 --- a/.gitlab-ci.d/build.yml +++ b/.gitlab-ci.d/build.yml @@ -4,6 +4,7 @@ build-package: needs: job: python-container script: + - make docs - python3 -m build artifacts: name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA" diff --git a/.gitlab-ci.d/python.Dockerfile b/.gitlab-ci.d/python.Dockerfile index 93661b2..728d8d8 100644 --- a/.gitlab-ci.d/python.Dockerfile +++ b/.gitlab-ci.d/python.Dockerfile @@ -15,6 +15,8 @@ RUN dnf --setopt=3Dinstall_weak_deps=3DFalse install -y \ pipenv \ python3 \ python3-pip \ + python3-sphinx \ + python3-sphinx_rtd_theme \ python3-tox \ python3-virtualenv \ python3.10 \ --=20 2.31.1 From nobody Sun Feb 8 19:48:37 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 1639603763541831.2725005929954; Wed, 15 Dec 2021 13:29:23 -0800 (PST) Received: from localhost ([::1]:53012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxbpy-0004tV-IB for importer@patchew.org; Wed, 15 Dec 2021 16:29:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXP-00051s-By for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:14 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:49238) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxbXM-0006lD-FT for qemu-devel@nongnu.org; Wed, 15 Dec 2021 16:10:11 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-367-bgxBehC4Pd21BcZg9sFETA-1; Wed, 15 Dec 2021 16:10:06 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A077B189DF5C; Wed, 15 Dec 2021 21:10:05 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.19.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id BE1955F4E1; Wed, 15 Dec 2021 21:10:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639602608; 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=3iKWnjTOO4/XPQJJpbai2DRzjpF4JYa94HPcrlj90gU=; b=Hc4X3ZdN27KbUZjEsf+GK2Q4extd/0Zec3uihV3Ye2u4HOX3ILFt2gws1hgGEw4JkGmcvD XurqAc9mzRhby4pe+NN4Qfuyq3kcd33ZCUt7LeEledVJIqupfqU9myPrmBXXKlrt2hg+hN dHU/tMRVDASL4mIkLGGtiIMLcqpuIv0= X-MC-Unique: bgxBehC4Pd21BcZg9sFETA-1 From: John Snow To: qemu-devel@nongnu.org Subject: [RFC qemu.qmp PATCH 24/24] v0.0.1 Date: Wed, 15 Dec 2021 16:06:34 -0500 Message-Id: <20211215210634.3779791-25-jsnow@redhat.com> In-Reply-To: <20211215210634.3779791-1-jsnow@redhat.com> References: <20211215210634.3779791-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.719, 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Eduardo Habkost , "Daniel P . Berrange" , Beraldo Leal , Wainer dos Santos Moschetta , Gerd Hoffmann , 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: 1639603765526100001 Content-Type: text/plain; charset="utf-8" Add v0.0.1 tag, marking the first public alpha release of the qemu.qmp package. --- README.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index bd4a301..e82ac03 100644 --- a/README.rst +++ b/README.rst @@ -126,4 +126,7 @@ locally before submitting to GitLab CI as my due dilige= nce.) Changelog --------- =20 -- No public release yet. +0.0.1 (2022-xx-xx) +^^^^^^^^^^^^^^^^^^ + +- Initial public release. --=20 2.31.1