[PULL 00/18] QAPI patches patches for 2021-02-18

Markus Armbruster posted 18 patches 3 years, 2 months ago
Test checkpatch passed
Failed in applying to current master (apply log)
scripts/qapi/commands.py   |   3 +-
scripts/qapi/events.py     |   4 +-
scripts/qapi/gen.py        |  12 +-
scripts/qapi/introspect.py | 327 ++++++++++++++++++++++++++++++++-------------
scripts/qapi/mypy.ini      |   5 -
scripts/qapi/schema.py     |   2 +-
scripts/qapi/types.py      |  12 +-
scripts/qapi/visit.py      |  10 +-
8 files changed, 255 insertions(+), 120 deletions(-)
[PULL 00/18] QAPI patches patches for 2021-02-18
Posted by Markus Armbruster 3 years, 2 months ago
The following changes since commit 91416a4254015e1e3f602f2b241b9ddb7879c10b:

  Merge remote-tracking branch 'remotes/stsquad/tags/pull-plugin-updates-180221-1' into staging (2021-02-18 13:27:03 +0000)

are available in the Git repository at:

  git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2021-02-18

for you to fetch changes up to 9b77d946990e7497469bb98171b90b4f3ab186a9:

  qapi/introspect.py: set _gen_tree's default ifcond argument to () (2021-02-18 19:51:14 +0100)

----------------------------------------------------------------
QAPI patches patches for 2021-02-18

----------------------------------------------------------------
John Snow (18):
      qapi: Replace List[str] with Sequence[str] for ifcond
      qapi/introspect.py: assert schema is not None
      qapi/introspect.py: use _make_tree for features nodes
      qapi/introspect.py: add _gen_features helper
      qapi/introspect.py: guard against ifcond/comment misuse
      qapi/introspect.py: Unify return type of _make_tree()
      qapi/introspect.py: replace 'extra' dict with 'comment' argument
      qapi/introspect.py: Always define all 'extra' dict keys
      qapi/introspect.py: Introduce preliminary tree typing
      qapi/introspect.py: create a typed 'Annotated' data strutcure
      qapi/introspect.py: improve _tree_to_qlit error message
      qapi/introspect.py: improve readability of _tree_to_qlit
      qapi/introspect.py: remove _gen_variants helper
      qapi/introspect.py: add type hint annotations
      qapi/introspect.py: Add docstrings to _gen_tree and _tree_to_qlit
      qapi/introspect.py: Update copyright and authors list
      qapi/introspect.py: Type _gen_tree variants as Sequence[str]
      qapi/introspect.py: set _gen_tree's default ifcond argument to ()

 scripts/qapi/commands.py   |   3 +-
 scripts/qapi/events.py     |   4 +-
 scripts/qapi/gen.py        |  12 +-
 scripts/qapi/introspect.py | 327 ++++++++++++++++++++++++++++++++-------------
 scripts/qapi/mypy.ini      |   5 -
 scripts/qapi/schema.py     |   2 +-
 scripts/qapi/types.py      |  12 +-
 scripts/qapi/visit.py      |  10 +-
 8 files changed, 255 insertions(+), 120 deletions(-)

-- 
2.26.2


Re: [PULL 00/18] QAPI patches patches for 2021-02-18
Posted by Peter Maydell 3 years, 2 months ago
On Fri, 19 Feb 2021 at 14:49, Markus Armbruster <armbru@redhat.com> wrote:
>
> The following changes since commit 91416a4254015e1e3f602f2b241b9ddb7879c10b:
>
>   Merge remote-tracking branch 'remotes/stsquad/tags/pull-plugin-updates-180221-1' into staging (2021-02-18 13:27:03 +0000)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2021-02-18
>
> for you to fetch changes up to 9b77d946990e7497469bb98171b90b4f3ab186a9:
>
>   qapi/introspect.py: set _gen_tree's default ifcond argument to () (2021-02-18 19:51:14 +0100)
>
> ----------------------------------------------------------------
> QAPI patches patches for 2021-02-18
>
> ----------------------------------------------------------------


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/6.0
for any user-visible changes.

-- PMM