Skip to content

qapi: misc testing and doc patches

John Snow qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10qapi: update pylintrc configscripts/qapi/pylintrc+1 -01 reply
2/10python: add qapi static analysis testspython/tests/qapi-flake8.sh python/tests/qapi-isort.sh python/tests/qapi-mypy.sh +1 more+10 -04 replies
3/10qapi: delete un-needed python static analysis configsscripts/qapi/.flake8 scripts/qapi/.isort.cfg scripts/qapi/mypy.ini+0 -145 replies
4/10docs/qapidoc: support header-less freeform sectionsdocs/sphinx/qapidoc.py+2 -03 replies
5/10qapi/parser: adjust info location for doc body sectionscripts/qapi/parser.py+5 -11 reply
6/10docs/qapidoc: remove example section supportdocs/sphinx/qapidoc.py+1 -81 reply
7/10qapi: expand tags to all doc sectionsdocs/sphinx/qapidoc.py scripts/qapi/parser.py tests/qapi-schema/doc-good.out +1 more+90 -381 reply
8/10qapi/schema: add __repr__ to QAPIDoc.Sectionscripts/qapi/parser.py+9 -00 replies
9/10qapi/source: allow multi-line QAPISourceInfo advancingscripts/qapi/source.py+2 -20 replies
10/10docs: disambiguate cross-referencesdocs/devel/codebase.rst docs/glossary.rst+8 -80 replies

Reviews trailers per patch

6 of 10 patches have a Reviewed-by or Acked-by.

PatchMarkus Armbruster
1/10R-b
2/10A-b
3/10R-b
4/10R-b
5/10
6/10R-b
7/10
8/10
9/10R-b
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] qapi: misc testing and doc patches

GitLab: https://gitlab.com/jsnow/qemu/-/pipelines/1684045409

This is a series of random qapi and documentation patches;

Patches 1-3: Formalize QAPI python testing (finally ...) Patches 4-10: Miscellaneous patches and fixes related to the documentation overhaul project; but were standalone enough that they could be excised from a fairly lengthy series ...

Markus: I think everything here is suitable for merging, even though some of it might lack a little context. The more I pull out of that big series, the easier that series will be to review :)

Please stage as much as you feel comfortable doing, you can skip any individual patch at your discretion.

John Snow (10):
qapi: update pylintrc config
python: add qapi static analysis tests
qapi: delete un-needed python static analysis configs docs/qapidoc: support header-less freeform sections qapi/parser: adjust info location for doc body section docs/qapidoc: remove example section support
qapi: expand tags to all doc sections qapi/schema: add __repr__ to QAPIDoc.Section qapi/source: allow multi-line QAPISourceInfo advancing
docs: disambiguate cross-references

 docs/devel/codebase.rst        |   6 +-
 docs/glossary.rst              |  10 +--
 docs/sphinx/qapidoc.py         |  18 ++---
 python/tests/qapi-flake8.sh    |   2 +
 python/tests/qapi-isort.sh     |   2 +
 python/tests/qapi-mypy.sh      |   2 +
 python/tests/qapi-pylint.sh    |   4 ++
 scripts/qapi/.flake8           |   3 -
 scripts/qapi/.isort.cfg        |   7 --
 scripts/qapi/mypy.ini          |   4 --
 scripts/qapi/parser.py         | 124 +++++++++++++++++++++++++--------
 scripts/qapi/pylintrc          |   1 +
 scripts/qapi/source.py         |   4 +-
 tests/qapi-schema/doc-good.out |  10 +--
 tests/qapi-schema/test-qapi.py |   2 +-
 15 files changed, 128 insertions(+), 71 deletions(-)
 create mode 100755 python/tests/qapi-flake8.sh
 create mode 100755 python/tests/qapi-isort.sh
 create mode 100755 python/tests/qapi-mypy.sh
 create mode 100755 python/tests/qapi-pylint.sh
 delete mode 100644 scripts/qapi/.flake8
 delete mode 100644 scripts/qapi/.isort.cfg
 delete mode 100644 scripts/qapi/mypy.ini
Signature · 1 line
2.48.1